RET(YSX) |
Entry point RET^YSGAF(YSX) returns the most recent
GAF score and diagnosis date. The internal entry number is passed into the
call as variable YSX. The latest occurrence of the GAF score and GAF date are
then passed back in the form of a concatenated string. If there is no GAF
score entry then the API will pass back "-1" to indicate this situation.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
YSX |
Input |
Contains the internal entry number.
|
YSZ |
Output |
Contains the result.
|
|
UPD(YSPN,YSGN,YSGD,YSGC,YSPT) |
Entry point UPD^YSGAF(YSPN,YSGN,YSGD,YSGC,YSPT) is
designed to store patient GAF score information in the DIAGNOSTIC RESULTS -
MENTAL HEALTH file (627.8). The information passed into the call includes
patient name, GAF score (Axis 5), date/time of diagnosis, name of person
giving diagnosis and patient type.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
YSPN |
Input |
Patient name - Pointer to the patient name file
(#2).
|
YSGN |
Input |
GAF score (Axis 5).
|
YSGD |
Input |
Date/Time of diagnosis.
|
YSGC |
Input |
Diagnosis by - Pointer to the new person file
(#200).
|
YSPT |
Input |
Patient type - 'I'npatient or 'O'utpatient
|
YSERR |
Output |
The output variable will always be equal to one
(i.e., YSERR=1) to indicate a new record was not created. An informational
message will also be displayed to the user.
|
|