YS |
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
Example:
-------
Input
-----
YS("DFN")=6
YS("ADATE")="T"
YS("CODE")="ZUNG"
YS("STAFF")=67
YS("R1")="12121212121212121212"
Output
------
YSDATA(1)=[DATA]
YSDATA(2)=CAPP,ANDY W^MMPI2^---ZUNG ---^2940509^05/09/1994^CAULFIELD,MARY A
YSDATA(3)="12121212121212121212"
YSDATA(4)=R2^
YSDATA(5)=R3^
YSDATA(6)=S1^Total^12^
YSDATA("ON")= A mood disorder screening test (ZUNG) was in the low range
(score = 12).
|