| DFN | 
Input | 
Patient internal identifier
 
 | 
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 diagnoses [optional]
 
 | 
YSDATA | 
Output | 
Array(1)=[DATA] ;indicates successful  call
Array(1)=GAF Score^Internal Date^External Date^Provider^Comment
.
.
Array(N)=GAF Score^Internal Date^External Date^Provider^Comment
Example: Input
-----
YS("DFN")=29601 YS("LIMIT")=3
Output
------
YSDATA(1)=[DATA] YSDATA(2)=100^2981209.1105^12/09/1998@11:05^JONES,MARK^
YSDATA(3)=99^2981209.092^12/09/1998@09:20^JONES,MARK^
YSDATA(4)=66^2981124.1406^11/24/1998@14:06^JONES,MARK^
 |