GMV ALLERGY (1275)    REMOTE PROCEDURE (8994)

Name Value
NAME GMV ALLERGY
TAG ALLERGY
ROUTINE GMVUTL3
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure call retrieves the patient's allergy information.
 
This remote procedure call is documented in Integration Agreement 4350.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DFN is a pointer to the PATIENT file (#2).
    
RETURN PARAMETER DESCRIPTION
Returns the patient allergy information in the array specified.
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"
 
 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.