Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: ORQQVI2

Package: Order Entry Results Reporting

Routine: ORQQVI2


Information

ORQQVI2 ;SLC/dee- RPC calls to GMRVPCE0, Vitals data event drivers ;2/2/98

Source Information

Source file <ORQQVI2.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
General Medical Record - Vitals 1 ($$RATECHK,$$VMTYPES,HELP,STORE,VALIDATE)^GMRVPCE0  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
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.
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.
POSTVIT(ORRETURN,ORQVIT,ORVITALS) ;return errors and warnings
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.
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
VMTYPES(ORRETURN,ORQTYPE) ;
; This function returns one if ORQTYPE is a valid type abbrev.
; from the PCE Device Interface Specification.
PREVITAL(ORRETURN,ORVITALS,ORQVIT,ORQDATA) ;format array for call to Vitlals

External References

Name Field # of Occurrence
$$RATECHK^GMRVPCE0 RATECHK+13
$$VMTYPES^GMRVPCE0 VMTYPES+3
HELP^GMRVPCE0 HELP+7
STORE^GMRVPCE0 VALSTORE+16
VALIDATE^GMRVPCE0 VALIDATE+11, VALSTORE+14
$$FMTE^XLFDT PREVITAL+18
$$NOW^XLFDT PREVITAL+16

Used in RPC

RPC Name Call Tags
ORQQVI2 VITALS HELP HELP
ORQQVI2 VITALS VALIDATE VALIDATE
ORQQVI2 VITALS VALIDATE TYPE VMTYPES

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PREVITAL+28
^SC - [#44] PREVITAL+36

Label References

Name Line Occurrences
POSTVIT VALIDATE+12, VALSTORE+15
PREVITAL VALIDATE+10, VALSTORE+13

Local Variables

Legend:

>> 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*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  All