ORQQVI2 ;SLC/dee- RPC calls to GMRVPCE0, Vitals data event drivers ;2/2/98
Source file <ORQQVI2.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
VALIDATE(ORRETURN,ORQDATA) | ;
; Given the array ORQDATA passed in by PCE Device Interface whose ; format is described in the PCE Device Interface documentation, this ; procedure will validate the Vitals data. If the data is invalid, ; the procedure will return the errors in the form given above. |
|
VALSTORE(ORRETURN,ORQDATA) | ;Calls VALIDATE and if no errors calls STORE
; Given the array ORQDATA passed in by PCE Device Interface whose ; format is described in the PCE Device Interface documentation, this ; procedure will validate the Vitals data. If the data is invalid, ; the procedure will return the errors in the form given above. ; If there are no errors then this procedure will call ; Vitals/Measurements to store the data in the GMRV's ; Patient Measurements (120.5) file. |
|
PREVITAL(ORRETURN,ORVITALS,ORQVIT,ORQDATA) | ;format array for call to Vitlals
|
|
POSTVIT(ORRETURN,ORQVIT,ORVITALS) | ;return errors and warnings
|
|
HELP(ORQLST,ORQTYPE) | ; This procedure will return help for a particular
; measurement type in an array. ; Input ; Variables: ORQTYPE=Type of measurement (abbreviation ; (req.) from PCE Device Interface Specification). ; ORQLST=Array root to store help text in |
|
RATECHK(ORRETURN,ORQTYPE,ORQRATE,ORQUNIT) | ;
; Extrinsic function to validate the ; rate for a particular measurement ; Input ; Variables: ORQTYPE=Type of measurement (abbreviation ; (req.) from PCE Device Interface Specification). ; ORQRATE=Measurement rate to be validated. ; (req.) ; ORQUNIT=Unit of measurement for rate, if specified. ; (opt.) ; Return value: 1 if rate is valid. ; 0 if rate is invalid. |
|
VMTYPES(ORRETURN,ORQTYPE) | ;
; This function returns one if ORQTYPE is a valid type abbrev. ; from the PCE Device Interface Specification. |
RPC Name | Call Tags |
---|---|
ORQQVI2 VITALS HELP | HELP |
ORQQVI2 VITALS RATE CHECK | RATECHK |
ORQQVI2 VITALS VALIDATE | VALIDATE |
ORQQVI2 VITALS VALIDATE TYPE | VMTYPES |
ORQQVI2 VITALS VAL & STORE | VALSTORE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | PREVITAL+28 |
^SC - [#44] | PREVITAL+36 |
Name | Line Occurrences |
---|---|
POSTVIT | VALIDATE+12, VALSTORE+15 |
PREVITAL | VALIDATE+10, VALSTORE+13 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DUZ | PREVITAL+4 |
ORINDEX | POSTVIT+1~, POSTVIT+2*, POSTVIT+6*, POSTVIT+7 |
ORINDEX1 | PREVITAL+1~, PREVITAL+7*, PREVITAL+8*, PREVITAL+9, PREVITAL+18, PREVITAL+22, PREVITAL+30, PREVITAL+38, PREVITAL+46 |
ORINDEX2 | PREVITAL+1~, PREVITAL+5*, PREVITAL+45*, PREVITAL+46, PREVITAL+47 |
ORQCODE | PREVITAL+1~, PREVITAL+9*, PREVITAL+10, PREVITAL+12, PREVITAL+24, PREVITAL+32, PREVITAL+47 |
ORQDATA | VALIDATE~, VALIDATE+10, VALSTORE~, VALSTORE+13, PREVITAL~ |
ORQDATA( | PREVITAL+8, PREVITAL+9 |
>> ORQDATAX | PREVITAL+9*, PREVITAL+14, PREVITAL+26, PREVITAL+34, PREVITAL+47 |
ORQITEM | PREVITAL+1~, PREVITAL+14*, PREVITAL+15, PREVITAL+16, PREVITAL+18, PREVITAL+20, PREVITAL+22, PREVITAL+26*, PREVITAL+27, PREVITAL+28 , PREVITAL+30, PREVITAL+34*, PREVITAL+35, PREVITAL+36, PREVITAL+38 |
ORQLST | HELP~ |
ORQNODT | PREVITAL+2~, PREVITAL+3*, PREVITAL+13*, PREVITAL+48 |
ORQNOHL | PREVITAL+2~, PREVITAL+3*, PREVITAL+33*, PREVITAL+56 |
ORQNOPT | PREVITAL+2~, PREVITAL+3*, PREVITAL+25*, PREVITAL+52 |
ORQRATE | RATECHK~, RATECHK+13 |
ORQTYPE | PREVITAL+1~, PREVITAL+9*, PREVITAL+10, PREVITAL+11, PREVITAL+44, POSTVIT+1~, POSTVIT+3*, POSTVIT+4, POSTVIT+5, POSTVIT+7 , POSTVIT+8, HELP~, HELP+7, RATECHK~, RATECHK+13, VMTYPES~, VMTYPES+3 |
ORQUNIT | RATECHK~, RATECHK+13 |
ORQVIT | VALIDATE+6~, VALIDATE+10, VALIDATE+12, VALSTORE+9~, VALSTORE+13, VALSTORE+15, PREVITAL~, POSTVIT~ |
ORQVIT( | PREVITAL+46*, POSTVIT+7 |
ORRETINX | PREVITAL+1~, PREVITAL+6*, PREVITAL+17*, PREVITAL+18, PREVITAL+21*, PREVITAL+22, PREVITAL+29*, PREVITAL+30, PREVITAL+37*, PREVITAL+38 , PREVITAL+49*, PREVITAL+50, PREVITAL+53*, PREVITAL+54, PREVITAL+57*, PREVITAL+58 |
ORRETURN | VALIDATE~, VALIDATE+8!, VALIDATE+10, VALIDATE+12, VALSTORE~, VALSTORE+11!, VALSTORE+13, VALSTORE+15, PREVITAL~, POSTVIT~ , RATECHK~, RATECHK+13*, VMTYPES~, VMTYPES+3* |
ORRETURN( | PREVITAL+18*, PREVITAL+22*, PREVITAL+30*, PREVITAL+38*, PREVITAL+50*, PREVITAL+54*, PREVITAL+58*, POSTVIT+7* |
ORRETURN("" | PREVITAL+6, POSTVIT+2 |
ORRETURN(0 | VALIDATE+9*, VALSTORE+12*, VALSTORE+16, PREVITAL+19*, PREVITAL+23*, PREVITAL+31*, PREVITAL+39*, PREVITAL+51*, PREVITAL+55*, PREVITAL+59* , POSTVIT+8*, POSTVIT+9* |
ORVAR | POSTVIT+1~, POSTVIT+4*, POSTVIT+5*, POSTVIT+7 |
ORVITALS | VALIDATE+6~, VALIDATE+10, VALIDATE+11, VALIDATE+12, VALSTORE+9~, VALSTORE+13, VALSTORE+14, VALSTORE+15, VALSTORE+16, PREVITAL~ , POSTVIT~ |
ORVITALS("ENCOUNTER" | PREVITAL+15*, PREVITAL+27*, PREVITAL+35* |
ORVITALS("PROVIDER" | PREVITAL+10* |
ORVITALS("SOURCE" | PREVITAL+4* |
ORVITALS("VITALS" | PREVITAL+47* |