Print Page as PDF
DBIA2896 ICR (2896)

DBIA2896    ICR (2896)

Name Value
NUMBER 2896
IA # 2896
DATE CREATED 2003/06/04
CUSTODIAL PACKAGE MENTAL HEALTH
CUSTODIAL ISC Dallas
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE YSGAFAPI
NAME DBIA2896
GENERAL DESCRIPTION
This API returns the GAF scores for a specified
patient. It can be constrained by both date range and occurrence limit. Please
note that data for this API comes from the DIAGNOSTIC RESULTS - MENTAL HEALTH
file (#627.8).
STATUS Active
DURATION Till Otherwise Agreed
ID YSGAFAPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
GAFHX
VARIABLES TYPE VARIABLES DESCRIPTION
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^