GMV V/M ALLDATA (1273)    REMOTE PROCEDURE (8994)

Name Value
NAME GMV V/M ALLDATA
TAG VMDATA
ROUTINE GMVGGR1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure call lists all vitals/measurements data for a given
date/time span.
 
This remote procedure call is documented in Integration Agreement 4654.
INPUT PARAMETER
  • GMVDATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    GMVDATA consists of 4 pieces of data:
     
     piece1^piece2^piece3^piece4
     
     where piece1 = File 2 IEN (i.e., DFN)
           piece2 = Start date/time for search (FileMan internal format)
           piece3 = End date/time for search (FileMan internal format)
           piece4 = 0 (zero)
    
RETURN PARAMETER DESCRIPTION
RESULT array returns the data or a "NO DATA" message.
 ^TMP($J,4)= search date range
 ^TMP($J,5)="NO DATA"
 
Example: 
 > S GMVDATA="90^3051012^3051012^0"
 > D VMDATA^GMVGGR1(.RESULT,GMVDATA) ZW RESULT
 > RESULT="^TMP(539349605)"
 > D ^%G
 > Global ^TMP($J
 > ^TMP(539349605,1)=VITPATIENT,ONE 000-11-1234  JAN 2,1934  71 (Yrs)  
 
                     MALE
                  2)=Unit:    Room: 
                  3)=Division: 
                  4)=OCT 11,2005 - OCT 11,2005
                  5)=NO DATA
 
 
Case B: Fourth piece of GMVDATA (Flag) is 0
 
The TMP global returns:
Case A: The NO DATA message is returned.
 ^TMP($J,1)=lastname,first social security number  date of birth  age 
            "(Yrs)" sex
 ^TMP($J,2)="Unit:" unit  "Room:" room
 ^TMP($J,3)="Division:" division
 ^TMP($J,4)= search date range
 ^TMP($J,n)=piece1 through piece23
 
 where piece1 = date of reading in mm-dd-yy format
       piece2 = time of reading in hh:mm:ss format
       piece3 = Temperature value and qualifier abbreviations
 
       piece4 = Pulse value and qualifier abbreviations
       piece5 = Respiration and qualifier abbreviations
       piece6 = Pulse Oximetry value, qualifier abbreviations, flow rate 
                and percentage value
       piece7 = Blood Pressure value and qualifier abbreviations
       piece8 = Weight value (pounds) and qualifier abbreviations
       piece9 = Weight value (kilos)
       piece10 = Body Mass Index calculation
       piece11 = Height value (inches) and qualifier abbreviations 
       piece12 = Height value (centimeters)
The TMP global returns:
       piece13 = Circumference Girth value (inches) and qualifier 
                 abbreviations
       piece14 = Circumference Girth value (centimeters)
       piece15 = Central Venous Pressure value (cmH2O)
       piece16 = Central Venous Pressure value (mmHg)
       piece17 = Input value (from Intake & Output package)
       piece18 = Output value (from Intake & Output package)
       piece19 = Pain value
       piece20 = always null
       piece21 = always null
 ^TMP($J,1)=lastname,first  social security number  date of birth  age 
       piece22 = hospital location (FILE 44, Field .01)
       piece23 = name of person who entered the data (FILE 200, Field .01)
       piece24 = database where the record is stored
 
Example: 
 > S GMVDATA="134^3050901^3050930^0"          
 > D VMDATA^GMVGGR1(.RESULT,GMVDATA) ZW RESULT
 > RESULT="^TMP(539349605)"
 > D ^%G
 > Global ^TMP($J
            "(Yrs)" gender
 > ^TMP(539349605,1)=VITPATIENT,TWO 000-11-1234  JUN 1,1957  48 (Yrs)  
                     FEMALE
                  2)=Unit: 2-ASM   Room: 
                  3)=Division: TEST HINES
                  4)=SEP 1,2005 - SEP 30,2005
                  5)=09-14-05^17:18:00^^^^^^135- A St^61.36^22^66- 
                     A^167.64^^^^^^^^ ^^2-ASM^VITPROVIDER,ONE^Vitals
                  6)=09-26-05^11:30:57^^^^^120/80*- La Si Car 
                     Clf^^^^^^^^^^^^^^^2-A SM^VITPROVIDER,TWO^Vitals
 ^TMP($J,2)="Unit:" unit  "Room:" room
 ^TMP($J,3)="Division:" division