VistA Analysis » VistA Reference » RPCs » GMV ALLERGY

GMV ALLERGY

This remote procedure call retrieves the patient’s allergy information. This remote procedure call is documented in Integration Agreement 4350.

Properties

Property Value
Label ALLERGY
MUMPS Implementation GMVUTL3
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
DFN LITERAL 30 true DFN is a pointer to the PATIENT file (#2).

MUMPS Method Description

Property Value
Method ALLERGY^GMVUTL3
Method Comment GMV ALLERGY [RPC entry point]
Input Parameters DFN
Code
 N GMRAL,GMVALG,GN D EN1^GMRADPT M GMVALG=GMRAL
I $O(GMVALG(0))'>0 D Q
. I $G(GMVALG)="" S RESULT(1)="No Allergy Assessment"
. I $G(GMVALG)=0 S RESULT(1)="No Known Allergies"
. Q
S GN=1,RESULT(1)="This patient has the following allergy(ies): ",GN(1)=0 F S GN(1)=$O(GMVALG(GN(1))) Q:GN(1)'>0 D
. S GN=GN+1,RESULT(GN)=$P($G(GMVALG(GN(1))),U,2)

CPRS

File Type Description
DLL File No Source Code Available (GMV_VitalsViewEnter.dll)


Document generated on August 31st 2022, 2:55:43 pm