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 |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORWOR

Package: Order Entry Results Reporting

Routine: ORWOR


Information

ORWOR ; SLC/KCM - Orders Calls ;Oct 24,2022@10:47

Source Information

Source file <ORWOR.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Order Entry Results Reporting 7 ORDERS^ORCXPND1  CSCHECK^ORDEA  $$CHKORD^OREVNTX1  DETAIL^ORQ2  ACT^ORQ20  ORDHIST^ORWOR2  REVSTS^ORWORDG  
Kernel 2 ($$FMADD,$$FMTE,$$NOW)^XLFDT  STORESIG^XUSSPKI  
Registration 2 $$ACTIVE^DGACT  $$SITE^VASITE  
Pharmacy Data Management 1 OIDEA^PSSOPKI  
Toolkit 1 ($$GET,EN)^XPAR  
VA FileMan 1 ^%DT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 17

Package Total Caller Graph
Order Entry Results Reporting 15 ORCACT01  ORDV02B  ORDV02C  ORQOR DETAIL  ORWOR ACTION TEXT  ORWOR EXPIRED  ORWOR PKISITE  ORWOR PKIUSE  
ORWOR RESULT  ORWOR RESULT HISTORY  ORWOR SHEETS  ORWOR TSALL  ORWOR UNSIGN  ORWOR VWGET  ORWOR VWSET  
Radiology Nuclear Medicine 1 RAORDR2  
VA Point of Service 1 VPSRPC12  

Entry Points

Name Comments DBIA/ICR reference
CURRENT(LST,DFN) ; Get Current Orders for a Patient
; Returns two lists in ^TMP("ORW",$J), fields and text
DETAIL(LST,ORID,DFN)
RESULT(REF,DFN,ORID,ID)
RESHIST(REF,DFN,ORID,ID)
TSALL(LST)
DT(X) ; -- Returns FM date for X (SEE ORCHTAB1)
VWSET(ORERR,VIEW)
VWGET(REC)
SHEETS(LST,ORVP) ; Return Order Sheets for a patient
EVENTS(LST,EVT) ; Return general delayed events categories for a patient
UNSIGN(LST,ORVP,HAVE)
PKIUSE(RETURN) ; RPC determines user can use PKI Digital Signature
PKISITE(RETURN) ; RPC determines if PKI is turned on at the site
ACTXT(ORY,ORIFN) ;Return detail action information
EXPIRED(ORY) ;return FM date/time to begin search for expired orders

External References

Name Field # of Occurrence
^%DT DT+1
$$ACTIVE^DGACT TSALL+2
ORDERS^ORCXPND1 RESULT+3
CSCHECK^ORDEA UNSIGN+35
$$CHKORD^OREVNTX1 UNSIGN+24
DETAIL^ORQ2 DETAIL+4
ACT^ORQ20 ACTXT+5
ORDHIST^ORWOR2 RESHIST+4
REVSTS^ORWORDG VWGET+10
OIDEA^PSSOPKI PKISITE+4
$$SITE^VASITE PKISITE+5
$$FMADD^XLFDT EXPIRED+3
$$FMTE^XLFDT VWGET+18, VWGET+19
$$NOW^XLFDT EXPIRED+3
$$GET^XPAR VWSET+15, VWGET+2, UNSIGN+7, EXPIRED+2
EN^XPAR VWSET+18
STORESIG^XUSSPKI PKISITE+3

Used in RPC

RPC Name Call Tags
ORQOR DETAIL DETAIL
ORWOR RESULT RESULT
ORWOR SHEETS SHEETS
ORWOR TSALL TSALL
ORWOR VWGET VWGET
ORWOR VWSET VWSET
ORWOR UNSIGN UNSIGN
ORWOR PKIUSE PKIUSE
ORWOR RESULT HISTORY RESHIST
ORWOR PKISITE PKISITE
ORWOR ACTION TEXT ACTXT
ORWOR EXPIRED EXPIRED

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(45.7 - [#45.7] TSALL+2, SHEETS+8, SHEETS+11
^DIC(9.4 - [#9.4] UNSIGN+28, UNSIGN+29, UNSIGN+30, UNSIGN+31
^DPT - [#2] SHEETS+12
^OR(100 - [#100] CURRENT+5, CURRENT+6, CURRENT+7, CURRENT+11, CURRENT+12, SHEETS+3, SHEETS+4, SHEETS+5, UNSIGN+12, UNSIGN+13
, UNSIGN+14, UNSIGN+16, UNSIGN+17, UNSIGN+34, UNSIGN+38, ACTXT+4, ACTXT+5
^ORAM(103 - [#103] UNSIGN+4
^ORD(100.7 - [#100.7] PKIUSE+3, PKISITE+5, PKISITE+6
^ORD(100.98 - [#100.98] VWSET+13, VWGET+5, VWGET+16, UNSIGN+20
^TMP("ORACTXT" ACTXT+2!, ACTXT+6
^TMP("ORTXT" DETAIL+6
^TMP("ORW" CURRENT+3!, CURRENT+9*, CURRENT+13*, CURRENT+15
^TMP("ORXPND" RESULT+1!, RESULT+4!, RESULT+5, RESHIST+1!, RESHIST+5!, RESHIST+6
^VA(200 - [#200] UNSIGN+6
^XUSEC("ORELSE" UNSIGN+4, UNSIGN+9
^XUSEC("ORES" UNSIGN+4

Label References

Name Line Occurrences
$$DT VWGET+3

Naked Globals

Name Field # of Occurrence
^( ACTXT+5
^(3 CURRENT+7, ACTXT+4
^(5 UNSIGN+6
^(6 ACTXT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DT+1~*
ACT UNSIGN+1~, UNSIGN+14*, UNSIGN+15, UNSIGN+17, UNSIGN+39
ACTION ACTXT+1~, ACTXT+5*
BYGRP VWGET+1~, VWGET+4*, VWGET+8*, VWGET+20
CHRN VWGET+1~, VWGET+4*, VWGET+7*, VWGET+20
CNT ACTXT+1~, ACTXT+4*
CS UNSIGN+1~, UNSIGN+32*, UNSIGN+35, UNSIGN+39
CTR CURRENT+2~, CURRENT+10*, CURRENT+11, CURRENT+12*
DC UNSIGN+1~, UNSIGN+22*, UNSIGN+39
DEL UNSIGN+1~, UNSIGN+24*, UNSIGN+39
DFN CURRENT~, CURRENT+4*, CURRENT+5, CURRENT+6, DETAIL~, DETAIL+2, RESULT~, RESULT+2, RESHIST~, RESHIST+3
DG UNSIGN+1~, UNSIGN+20*, UNSIGN+39
DGIEN UNSIGN+2~, UNSIGN+19*, UNSIGN+20, UNSIGN+39
DGRP VWGET+1~, VWGET+4*, VWGET+5*, VWGET+16, VWGET+20
DUZ VWSET+18, UNSIGN+4, UNSIGN+6, UNSIGN+9, UNSIGN+36, PKIUSE+3
ELST SHEETS+1~
ELST( SHEETS+5*
ELST("A" SHEETS+7
ELST("T" SHEETS+10
ENT UNSIGN+1~, UNSIGN+6*, UNSIGN+7
ETYP SHEETS+1~, SHEETS+3*, SHEETS+4, SHEETS+5
EVT EVENTS~
EVTI EVENTS+1~, EVENTS+2*, EVENTS+3*, EVENTS+4*, EVENTS+5*
FILTER VWGET+1~, VWGET+3*, VWGET+6*, VWGET+11, VWGET+13, VWGET+14, VWGET+15, VWGET+20
FL VWGET+1~, VWGET+10
FL( VWGET+11, VWGET+12
FMT VWSET+9~, VWSET+15*, VWSET+16*
FRMT VWGET+1~, VWGET+4*, VWGET+20
FROM VWGET+1~, VWGET+3*, VWGET+17, VWGET+18, VWGET+20
HAVE UNSIGN~
HAVE( UNSIGN+15
HRS EXPIRED+1~, EXPIRED+2*, EXPIRED+3
I CURRENT+2~, CURRENT+10*, CURRENT+11*, CURRENT+12, VWGET+1~, VWGET+11*, VWGET+12, SHEETS+1~, SHEETS+6*, SHEETS+8*
, SHEETS+9*, SHEETS+11*, SHEETS+13*, SHEETS+14*
ID RESULT~, RESHIST~
IDX CURRENT+2~, CURRENT+4*, CURRENT+9, CURRENT+13*
IEN CURRENT+2~, CURRENT+6*, CURRENT+7, CURRENT+8, CURRENT+11, CURRENT+12, PKISITE+1~, PKISITE+6*
IFN UNSIGN+1~, UNSIGN+13*, UNSIGN+14, UNSIGN+15, UNSIGN+16, UNSIGN+17, UNSIGN+24, UNSIGN+34, UNSIGN+38, UNSIGN+39
ILST UNSIGN+1~, UNSIGN+3*, UNSIGN+39*
LCNT RESULT+2~*, RESHIST+2~, RESHIST+3*
LST CURRENT~, CURRENT+15*, DETAIL~, DETAIL+3*, DETAIL+4, DETAIL+5, DETAIL+6*, TSALL~, SHEETS~, EVENTS~
, UNSIGN~
LST( TSALL+2*, SHEETS+8*, SHEETS+9*, SHEETS+11*, SHEETS+13*, SHEETS+14*, EVENTS+3*, EVENTS+4*, EVENTS+5*, UNSIGN+39*
LST(1 SHEETS+6*
LVL UNSIGN+1~, UNSIGN+7*, UNSIGN+10*, UNSIGN+11, UNSIGN+36
OI UNSIGN+1~, UNSIGN+34*, UNSIGN+35
OR0 ACTXT+1~, ACTXT+4*
OR3 ACTXT+1~, ACTXT+4*
OR6 ACTXT+1~, ACTXT+4*
ORCSPKG UNSIGN+1~, UNSIGN+27*, UNSIGN+28*, UNSIGN+29*, UNSIGN+30*, UNSIGN+31*, UNSIGN+32, UNSIGN+33, UNSIGN+35
ORELSE UNSIGN+1~, UNSIGN+9*, UNSIGN+10, UNSIGN+36, UNSIGN+38
ORERR VWSET~, VWSET+18
ORESULTS RESULT+2~*, RESHIST+2~, RESHIST+3*
ORI ACTXT+1~, ACTXT+3*, ACTXT+5*
ORID DETAIL~, DETAIL+1, DETAIL+4, RESULT~, RESHIST~
ORIFN SHEETS+1~, SHEETS+4*, SHEETS+5, ACTXT~, ACTXT+3, ACTXT+4*, ACTXT+5
ORPKIS PKISITE+1~, PKISITE+5*, PKISITE+6*, PKISITE+7
ORPKIU PKIUSE+1~, PKIUSE+3*, PKIUSE+4
ORSITE PKISITE+1~, PKISITE+5*, PKISITE+6
ORVP DETAIL+2~*, RESULT+2~*, RESHIST+2~, RESHIST+3*, SHEETS~, SHEETS+2*, SHEETS+3, SHEETS+4, SHEETS+12, UNSIGN~
, UNSIGN+4, UNSIGN+5*, UNSIGN+12, UNSIGN+13, UNSIGN+14
ORY ACTXT~, ACTXT+3*, ACTXT+6*, EXPIRED~, EXPIRED+3*
PKG UNSIGN+1~, UNSIGN+26*, UNSIGN+28, UNSIGN+29, UNSIGN+30, UNSIGN+31
REC VWGET~, VWGET+2*, VWGET+3, VWGET+4, VWGET+20*
REF RESULT~, RESULT+5*, RESHIST~, RESHIST+6*
RETURN PKIUSE~, PKIUSE+2*, PKIUSE+4*, PKISITE~, PKISITE+2*, PKISITE+7*
S VWGET+1~, VWGET+2*, VWGET+3, VWGET+4, VWGET+20
THRU VWGET+1~, VWGET+3*, VWGET+17, VWGET+19, VWGET+20
TM CURRENT+2~, CURRENT+5*, CURRENT+6, UNSIGN+1~, UNSIGN+12*, UNSIGN+13, UNSIGN+14
TS SHEETS+1~, SHEETS+7*, SHEETS+8, SHEETS+10*, SHEETS+11
U CURRENT+8, TSALL+2, VWSET+13, VWGET+12, VWGET+13, VWGET+16, SHEETS+5, SHEETS+8, SHEETS+11, UNSIGN+19
, UNSIGN+20, UNSIGN+22, UNSIGN+36, UNSIGN+38, UNSIGN+39
VIEW VWSET~, VWSET+13*, VWSET+16*, VWSET+18
VNAME VWGET+1~, VWGET+12*, VWGET+13*, VWGET+14*, VWGET+15*, VWGET+16*, VWGET+18*, VWGET+19*, VWGET+20
X CURRENT+2~, CURRENT+8*, CURRENT+9, CURRENT+10*, CURRENT+12*, CURRENT+13, DT~, DT+1
X0 CURRENT+2~, CURRENT+7*, CURRENT+8, UNSIGN+1~, UNSIGN+16*, UNSIGN+19, UNSIGN+26
X3 CURRENT+2~, CURRENT+7*, CURRENT+8, UNSIGN+1~, UNSIGN+16*
X8 UNSIGN+1~, UNSIGN+17*, UNSIGN+22, UNSIGN+36, UNSIGN+38, UNSIGN+39
Y TSALL+1~*, TSALL+2*, DT+1~*, DT+2

Marked Items

Name Field # of Occurrence
$T(OIDEA^PSSOPKI PKISITE+4
$T(STORESIG^XUSSPKI PKISITE+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All