Print Page as PDF
GMVGETVT ICR (5047)

GMVGETVT    ICR (5047)

Name Value
NUMBER 5047
IA # 5047
DATE CREATED 2007/11/14
CUSTODIAL PACKAGE GEN. MED. REC. - VITALS
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE GMVGETVT
NAME GMVGETVT
GENERAL DESCRIPTION
APIs that return values for vital types (FILE 120.51).
STATUS Active
DURATION Till Otherwise Agreed
ID GMVGETVT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
FIELD(IEN,FIELD,FORMAT)
Returns the value for the record and field in the
format specified. Returns -1 if there is an error.

Example:
>W $$FIELD^GMVGETVT(1,1,"E")
>BLOOD PRESSURE
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
The FILE 120.51 internal entry number. (Required)
FIELD Input
A set of codes to indicate which field value to
return. (Required)
Where:
1=Name (.01)
2=Abbreviation (1)
3=PCE Abbreviation (7)
4=VUID (99.99)
5=Master Entry For VUID (99.98)
FORMAT Input
A set of codes to indicate if the internal or
external value of the field should be returned. (Optional)
Where:
I=Internal
E=External
Default is E.
GETIEN(VALUE,TYPE)
Returns the vital type (FILE 120.51) pointer value.
Returns null if not found and -1 if there is an error.

Example:
>W $$GETIEN^GMVGETVT("TEMPERATURE",1)
>2
VARIABLES TYPE VARIABLES DESCRIPTION
Value Input
The value to use to do the lookup. (Required)
TYPE Input
A set of codes to indicate the type of value it is.
(Required)
Where:
1=Name (.01)
2=Abbreviation (1)
3=PCE Abbreviation (7)
4=VUID (99.99)
LIST(ARRAY,FORMAT)
Returns an array with the vital types currently
tracked.

Output format:
GMVARRAY(0)=piece1
GMVARRAY(n)=piece2^piece3^piece4^piece5^piece6^piece7
where:
n=a sequential number starting with 1
piece1=number of entries found
piece2=FILE 120.51 internal entry number (.001)
piece3=Name (.01)
piece4=Abbreviation (1)
piece5=PCE Abbreviation (7)
piece6=VUID (99.99)
piece7=Master Entry for VUID (99.98)

Example:
>D LIST^GMVGETVT(.ARRAY,"E")
>ZW ARRAY
>ARRAY(0)=10
>ARRAY(1)="1^BLOOD PRESSURE^BP^BP^4500634^YES"
>ARRAY(2)="19^CENTRAL VENOUS PRESSURE^CVP^^4688719^YES"
>ARRAY(3)="20^CIRCUMFERENCE/GIRTH^CG^^4688720^YES"
>ARRAY(4)="8^HEIGHT^HT^HT^4688724^YES"
>ARRAY(5)="22^PAIN^PN^PN^4500635^YES"
>ARRAY(6)="5^PULSE^P^PU^4500636^YES"
>ARRAY(7)="21^PULSE OXIMETRY^PO2^PO2^4500637^YES"
>ARRAY(8)="3^RESPIRATION^R^RS^4688725^YES"
>ARRAY(9)="2^TEMPERATURE^T^TMP^4500638^YES"
>ARRAY(10)="9^WEIGHT^WT^WT^4500639^YES"
VARIABLES TYPE VARIABLES DESCRIPTION
ARRAY Both
The name of the array to return the values in.
(Required)
FORMAT Input
A set of codes to indicate if the internal or
external values should be returned. (Optional)
Where:
I=Internal (the default)
E=External
TYPES()
Returns a list of abbreviations as a string delimited
by up-arrows for the vitals types currently tracked in the package. There are
no input parameters.

Example:
>W $$TYPES^GMVGETVT()
>BP^CG^CVP^HT^P^PN^PO2^R^T^WT
DATE ACTIVATED: MAR 19, 2008