GMV LATEST VM

TITLEVALUE
NAMEGMV LATEST VM
DESCRIPTIONThis remote procedure call retrieves the latest vital records for a given
patient.

This remote procedure call is documented in Integration Agreement 4358.
TAGGETLAT
ROUTINEGMVGETD
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERGMRDFN
DESCRIPTIONGMRDFN variable is a pointer to the Patient (#2) file (i.e., DFN).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH10

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturns the name of the global array (i.e., ^TMP($J,"GRPC")) containing
the latest vitals for the selected patient.

The TMP global contains:
^TMP($J,"GRPC",n)=piece1

where piece1 = is a formatted line of text.
n = sequential number starting at 1.

The formatted line of text includes the vital type, value and unit
(U.S.), value and unit (metric), qualifiers, supplemental oxygen, body
mass index value, person who entered the record and the database where
the record is stored.

If there is no data for the patient, the following is returned:
^TMP($J,"GRPC",1)=There are no results to report

Example:
> S GMRDFN=134
> D GETLAT^GMVGETD(.RESULT,GMRDFN) ZW RESULT
> RESULT="^TMP(539349605,"GRPC")"
> D ^%G
> Global ^TMP($J,"GRPC"
> ^TMP(539349605,"GRPC",1)=Temp.: (08/09/05@08:00) 102 F (38.9 C)*
(ORAL) _VITPROVIDER,ONE_Vitals
> 2)=Pulse: (07/14/05@16:33) 55
(LEFT,CAROTID,PALPATED,LYING) _VITPROVIDER,ONE_Vitals
> 3)=Resp.: (07/14/05@16:33) 31
(SPONTANEOUS,SITTING) _VITPROVIDER,ONE_Vitals
> 4)=Pulse Ox: (08/22/05@13:48) 99% with
supplemental O2 1 L/min 90% NASAL CANNULA _VITPROVIDER,ONE_Vitals
> 5)=B/P: (09/26/05@11:30) 120/80* (L
ARM,SITTING,CAROTID,CALF) _VITPROVIDER,TWO_Vitals
> 6)=Ht.: (09/14/05@17:18) 5 ft 6 in (167.64
cm) (ACTUAL) _VITPROVIDER,ONE_Vitals
> 7)=Wt.: (09/14/05@17:18) 135 lb (61.36 kg)
(ACTUAL,STANDING) _VITPROVIDER,ONE_Vitals
> 8)=Body Mass Index: 22
9)=CVP: (08/22/05@17:09) 15 cmH2O (11.0
mmHg) _VITPROVIDER,ONE_Vitals
10)=Circ/Girth: (07/22/05@10:22) 1 in (2.54 cm)
(DRY,ABDO MINAL) _VITPROVIDER,TWO_Vitals
11)=Pain: (09/15/05@16:43) 5
_VITPROVIDER,ONE_Vitals
AVAILABILITYSUBSCRIPTION
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED