GMVUTL8 ;HIOFO/DS,FT-RPC API TO RETURN ALL VITALS/CATEGORIES/QUALIFIERS ;3/31/05 13:34
Source file <GMVUTL8.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
APTLIST(ARRAY,LOC) | ; Returns a list of active patients for a nursing
; location in the array specified. [RPC entry point] ; input: LOC - (Required) NURS LOCATION file (#211.4) ien ; input: ARRAY - (Required) Name of the array to return entries in ; output: ARRAY - Subscripted by sequential number with DFN in first ; piece and patient name in second piece. ; example: ARRAY(#)=DFN^patient name^SSN^DOB^SEX AND AGE ; ^ATTENDING^VETERAN^INTERNAL DATE/TIME DECEASED ; ^EXTERNAL DATE/TIME DECEASED |
|
TYPE(RESULT,GMVTYPE) | ;GMV GET VITAL TYPE IEN [RPC entry point]
; Input: ; RESULT = variable name to hold result ; GMVTYPE = Name of Vital Type (from FILE 120.51) (e.g., WEIGHT) ; Output: Returns the IEN if GMVTYPE exists in FILE 120.51 ; else returns -1 |
|
CATEGORY(RESULT,GMVCAT) | ;GMV GET CATEGORY IEN [RPC entry point]
; Input ; RESULT = variable name to hold result ; GMVCAT = Name of Category (from FILE 120.53) (e.g., METHOD) ; Output: Returns the IEN if GMVTYPE exists in FILE 120.53 ; else returns -1 |
|
QUALIFER(RESULT,GMVQUAL) | ;Return IEN of Qualifier name
; Input: ; RESULT = variable name to hold result ; GMVQUAL = Name of Qualifier (from FILE 120.52) (e.g., ORAL) ; Output: Returns the IEN if GMVQUAL exists in FILE 120.52 ; else returns -1 |
|
VITALIEN() | ;Returns the Vital Type IENS in a list separated by commas.
; ex: ",8,9,21,20,5,3,22,1,2,19," |
|
QUALIFRS(VIEN) | ;Function to return vitals qualifiers text
; VIEN is the FILE 120.5 IEN ; Returns the qualifiers in a string of text ; e.g., Actual,Standing |
|
SUPO2(VIEN) | ;Function to return the Supplemental O2 value
; VIEN is the FILE 120.5 IEN ; Returns the Supplemental O2 value (#1.4) ; e.g., 2.0 l/min 90% |
|
DLL(RESULT,GMVX) | ; Entry for [GMV DLL VERSION] RPC. Returns DLL version check
; RESULT = variable name to return check ; GMVX = dll name and version date/time ; Returns yes or no |
RPC Name | Call Tags |
---|---|
GMV NUR UNIT PT | APTLIST |
GMV GET VITAL TYPE IEN | TYPE |
GMV GET CATEGORY IEN | CATEGORY |
GMV DLL VERSION | DLL |