GMV ALLERGY

TITLEVALUE
NAMEGMV ALLERGY
DESCRIPTIONThis remote procedure call retrieves the patient's allergy information.

This remote procedure call is documented in Integration Agreement 4350.
TAGALLERGY
ROUTINEGMVUTL3
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONDFN is a pointer to the PATIENT file (#2).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONReturns the patient allergy information in the array specified.

The result array returns:
RESULT(n)=This patient has the following allergy(ies):
(n+1)=piece1

where piece1 = the allergy name
n = sequential number starting at 1.

If there is no data, then the following is returned:
RESULT(1)=No Allergy Assessment

Example:
> S DFN=134
> D ALLERGY^GMVUTL3(.RESULT,DFN) ZW RESULT
> RESULT(1)="This patient has the following allergy(ies): "
> RESULT(2)="PENICILLIN"
AVAILABILITYSUBSCRIPTION
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED