GMV LATEST VM (1279)    REMOTE PROCEDURE (8994)

Name Value
NAME GMV LATEST VM
TAG GETLAT
ROUTINE GMVGETD
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure call retrieves the latest vital records for a given
patient.
 
This remote procedure call is documented in Integration Agreement 4358.
INPUT PARAMETER
  • GMRDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    GMRDFN variable is a pointer to the Patient (#2) file (i.e., DFN).
    
RETURN PARAMETER DESCRIPTION
Returns the name of the global array (i.e., ^TMP($J,"GRPC")) containing 
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
the latest vitals for the selected patient.
 > 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 
 The TMP global contains: 
   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
  ^TMP($J,"GRPC",n)=piece1
 
  where piece1 = is a formatted line of text.
             n = sequential number starting at 1.