GMVUTL8 ;HIOFO/DS,FT-RPC API TO RETURN ALL VITALS/CATEGORIES/QUALIFIERS ;3/31/05 13:34
Source file <GMVUTL8.m>
Package | Total | Call Graph |
---|---|---|
General Medical Record - Vitals | 1 | PTINFO^GMVUTL3 |
Nursing Service | 1 | APTLIST^NURAPI |
Toolkit | 1 | $$GET^XPAR |
Name | Comments | DBIA/ICR reference |
---|---|---|
VITALIEN() | ;Returns the Vital Type IENS in a list separated by commas.
; ex: ",8,9,21,20,5,3,22,1,2,19," |
|
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% |
|
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 |
|
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 |
|
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 |
|
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 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^GMR(120.5 - [#120.5] | QUALIFRS+9, SUPO2+6 |
^GMRD(120.51 - [#120.51] | TYPE+8, VITALIEN+6 |
^GMRD(120.52 - [#120.52] | QUALIFER+8, QUALIFRS+10 |
^GMRD(120.53 - [#120.53] | CATEGORY+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | APTLIST~ |
ARRAY( | APTLIST+20* |
ARRAY(1 | APTLIST+10*, APTLIST+13* |
DFN | APTLIST+11~, APTLIST+16*, APTLIST+17, APTLIST+19, APTLIST+20 |
GMVABB | VITALIEN+3~, VITALIEN+5*, VITALIEN+6 |
GMVARRAY | APTLIST+11~, APTLIST+12 |
GMVARRAY( | APTLIST+15, APTLIST+16, APTLIST+18 |
GMVARRAY(1 | APTLIST+13 |
GMVCAT | CATEGORY~, CATEGORY+6, CATEGORY+7 |
GMVCNT | APTLIST+11~, APTLIST+14*, APTLIST+15*, APTLIST+16, APTLIST+18, APTLIST+20 |
GMVIEN | VITALIEN+3~, VITALIEN+6*, VITALIEN+7, VITALIEN+8 |
GMVLIST | VITALIEN+3~, VITALIEN+4*, VITALIEN+8*, VITALIEN+10*, VITALIEN+11 |
GMVPAT | APTLIST+11~, APTLIST+19, APTLIST+20 |
GMVQUAL | QUALIFER~, QUALIFER+7, QUALIFER+8 |
GMVTYPE | TYPE~, TYPE+7, TYPE+8 |
GMVX | DLL~, DLL+4 |
LOC | APTLIST~, APTLIST+10, APTLIST+12 |
PATNAME | APTLIST+11~, APTLIST+18*, APTLIST+20 |
QNAME | QUALIFRS+5~, QUALIFRS+10*, QUALIFRS+11 |
QUALS | QUALIFRS+5~, QUALIFRS+6*, QUALIFRS+7, QUALIFRS+11*, QUALIFRS+13*, QUALIFRS+14 |
RESULT | TYPE~, TYPE+7*, TYPE+8*, CATEGORY~, CATEGORY+6*, CATEGORY+7*, QUALIFER~, QUALIFER+7*, QUALIFER+8*, DLL~ , DLL+4*, DLL+5* |
U | APTLIST+16, APTLIST+18, APTLIST+20, QUALIFRS+10, SUPO2+6 |
VIEN | QUALIFRS~, QUALIFRS+7, QUALIFRS+9, SUPO2~, SUPO2+5*, SUPO2+6 |
VQIEN | QUALIFRS+5~, QUALIFRS+8*, QUALIFRS+9*, QUALIFRS+10 |