YTAPI PREVIEW

TITLEVALUE
NAMEYTAPI PREVIEW
DESCRIPTIONThis API allows scoring of patient responses to a test or interview
without making changes in the M database. The patient ien, the test
code, and administration date is required along with the responses. All
responses are checked for validity. Scoring is returned in the output
documented in the SCOREIT API.

Input:
DFN : patient internal identifier
CODE: Test code from file 601 or "ASI" e.g. "CAGE", "BDI"
ADATE: inclusive administration date in %DT acceptable format (11/11/2011)
Staff: DUZ of professional ordering the test
R1: string of patient responses 1-200
R2: string of patient responses 201-400 [as needed]
R3: string of patient responses 401-600 [as needed]

Output:
Array(2)= Patient Name^Test Code^Test Title^Internal Admin date^External
Admin Date ^Ordered by
Array(3)=R1^Responses 1-200 undelimited
Array(4)=R2^ Responses 201-400 undelimited (even if less than 200)
Array(5)=R3^ Responses 401-600 undelimited
Array(6)=S1^Scale Name^Raw Score^Transformed Score
Array(7)=S2^ Scale Name^Raw Score^Transformed Score
And onward as needed
TAGPREVIEW
ROUTINEYTAPI4
RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION
AVAILABILITYAGREEMENT
INACTIVEINACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED