DFN |
Input |
This is the Patient's name, a pointer value to the
Patient file #2.
|
CODE |
Input |
Test code from the MH INSTRUMENT file (#601) or "ASI"
e.g. "CAGE", "BDI".
|
BEGIN |
Input |
Inclusive date in %DT acceptable format (11/11/2011)
to begin search [optional].
|
END |
Input |
Inclusive date in %DT acceptable format (11/11/2011)
to end search [optional].
|
LIMIT |
Input |
Constrains to the last N administrations [optional]
|
SCALE |
Input |
Scale number from the MH INSTRUMENT file (#601) or
1-7 on ASI [optional]
|
YSDATA |
Output |
Array= internal administration date ^ external
administration date^test code [^scale name^raw score^transformed score] Data
is sorted in order of most recent administration to the oldest administration.
If no administrations are found Array(2) will not be returned. If patient has
no PSYCH INSTRUMENT PATIENT file (#601.2) data, Array(1) will return [ERROR]
with an explanation.
EXAMPLE: Input
-----
YS("DFN")=83 YS("CODE")=MMPI2 YS("SCALE")=2
Output
------
YSDATA(1)=[DATA] YSDATA(2)=2940509^05/09/1994^MMPI2^F Infrequency^19^95
YSDATA(3)=2920925^09/25/1992^MMPI2^F Infrequency^26^116
YSDATA(4)=2920924^09/24/1992^MMPI2^F Infrequency^25^113
|