DFN |
Input |
Patient internal identifier
|
CODE |
Input |
Test code from MH INSTRUMENT file (#601) or "ASI"
(e.g. "CAGE", "BDI")
|
ADATE |
Input |
Inclusive administration date in %DT acceptable
format (11/11/2011)
|
YSDATA |
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")=83 YS("CODE")=MMPI2 YS("ADATE")=05/09/1994
Output
------
YSDATA(1)=[DATA] YSDATA(2)=CAPP,ANDY W^MMPI2^--- Minnesota Multiphasic
Personality Inventory-2 -- -^2940509^05/09/1994^CAULFIELD,MARY A
YSDATA(3)=R1^TTTFTTFTTTFTTFFFFFFTTFFFFFFFTFFFFFFFFFFFFFFFFFFFFFFTFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTTTTTFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTTTFFFTTFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
YSDATA(4)=R2^FFFFFFFFFFFFFFFFFFFFFFFFFTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTT
YSDATA(5)=R3^TTTTTTTTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFTTFFFTFTFTFTFTFTFTFTFTF
F
FTFTFTFTFTFTFTFTFTFTFTFTTFTFTFTFFFFTFFTFTFTFTFTFTFFTFTFTFTFTFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFF YSDATA(6)=S1^L Lie^12^87 YSDATA(7)=S2^F Infrequency^19^95
.
.
.
YSDATA(89)=S84^Ma-S Hypomania, Subtle^10^50
|
YS |
Input |
|