GMVGETVT ;HOIFO/FT-GET VITAL TYPE INFORMATION ;2/26/07 15:35
Source file <GMVGETVT.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FIELD(GMVIEN,GMVFIELD,GMVFMT) | ; Returns the vital type (FILE 120.51) values
; Input: GMVIEN = File 120.51 internal entry number (required) ; GMVFIELD = field you want (required) ; 1 = Name (.01) ; 2 = Abbreviation (1) ; 3 = PCE Abbreviation (7) ; 4 = VUID (99.99) ; 5 = Master Entry For VUID (99.98) ; GMVFMT = return internal or external value (optional) ; I for Internal, E for External ; default is E ; Output: field value or -1 if there is an error |
|
GETIEN(GMVX,GMVY) | ; Returns the vital type IEN
; Input: GMVX - File 120.51 look up value (required) ; GMVY - index type (required) ; 1 - Name (.01) ; 2 - Abbreviation (1) ; 3 - PCE Abbreviation (7) ; 4 - VUID (99.99) ; Output: File 120.51 internal entry number, ; or null if not found, ; or -1 if there is an error |
|
LIST(GMVARRAY,GMVFMT) | ; Return list of supported vital types
; Input: GMVARRAY - Array name to return data in (required) ; GMVFMT - return internal or external value (optional) ; I for Internal or E for External ; default is I ; Output: GMVARRAY(0)=piece1 ; GMVARRAY(n)=piece2^piece3^piece4^piece5^piece6^piece7 |
|
TYPES() | ; Returns list of abbreviations for the vitals types currently
; tracked ; Input: none ; Output: string of vital type abbreviations (File 120.51, Field 1 ; values) separated by up-arrows |
|
UPPER(GMVX) | ; Change text to uppercase
; Input: GMVX - string ; Output: string converted to uppercase |
FileNo | Call Tags |
---|---|
^GMRD(120.51 - [#120.51] | GET1^DIQ |