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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORWORR

Package: Order Entry Results Reporting

Routine: ORWORR


Information

ORWORR ; SLC/KCM/JLI - Retrieve Orders for Broker ;Aug 21, 2018@11:16

Source Information

Source file <ORWORR.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Order Entry Results Reporting 7 $$INITIALS^ORCHTAB2  CSCHECK^ORDEA  $$CHKORD^OREVNTX1  EN^ORQ1  TEXT^ORQ12  PKI^ORWDPS1  (GET1,GET2)^ORWORR1  
VA FileMan 2 (NOW,YMD)^%DTC  $$GET1^DIQ  
Kernel 1 $$DEA^XUSER  
Toolkit 1 $$GET^XPAR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 19

Package Total Caller Graph
Order Entry Results Reporting 17 ORWD  ORWDFH  ORWDPS3  ORWDX  ORWDXA  ORWDXM  ORWDXM3  ORWDXM4  
ORWDXR  ORWDXR01  ORWORB  ORWORR AGET  ORWORR GET  ORWORR GET4LST  ORWORR GETBYIFN  ORWORR GETTXT  
ORWORR RGET  
Shift Handoff Tool 1 CRHDUT  
VA Point of Service 1 VPSRPC12  

Entry Points

Name Comments DBIA/ICR reference
GET4V11(LST,TXTVW,ORYD,IFNLST) ; get order fields TEMP
GETFLDS ; used by entry points to place order fields into list
; expects IDX=sequence #, IFN=order, X0=node 0, X3=node 3, LST=results
; LST(IDX)=~IFN^Grp^OrdTm^StrtTm^StopTm^Sts^Sig^Nrs^Clk^PrvID^PrvNam^Act^Flagged[^DCType]^ChartRev^DEA#^^DigSig^LOC^[DCORIGNAL]^IsPendingDCorder^IsDelayOrder
GETPKG(Y,IFN) ; get order pkg
ACKILL ; called only from DOCUR - kill AC xref
; K ^OR(100,"AC",DFN,TIME,IFN,ACT) ; let ORQ1 kill if for now
XGET ; retrieval algorithm before all the AC xref changes
GET41
GETBYIFN(LST,IFN) ; procedure
; get fields for single order
; .LST(n)=described above in GET
; IFN=internal entry # for order
GETTXT(LST,IFN) ; get text of an order
GET4LST(LST,IFNLST) ; get order fields for list of orders
XPND(AGRP) ; procedure
; Expand display group (GROUPS defined outside of call)
RSTRT() ; return start date from responses
EXIT
DOALL ; Here to get all orders (no filter by status)
DOCUR ; Here to get all current orders
RGET(REF,DFN,FILTER,GROUPS,DTFROM,DTTHRU,EVENT) ;Orders of AutoDC/Release Event
DOGET ; Here to filter orders
AGET(REF,DFN,FILTER,GROUPS,DTFROM,DTTHRU,EVENT,ORRECIP) ;Get abbrev. event delayed order list for patient
; returns ^TMP("ORR",$J,ORLIST,n)=IFN^DGrp^ActTm
; see input parameters above
; -- from ORWORR
; -- section uses ORQ1 to get orders list rather than XGET --
GET(LST,DFN,FILTER,GROUPS) ; procedure
RSTOP() ; return stop date from responses

External References

Name Field # of Occurrence
NOW^%DTC EXIT+1
YMD^%DTC DOCUR+4
$$GET1^DIQ AGET+10
$$INITIALS^ORCHTAB2 GETFLDS+14, GETFLDS+15, GETFLDS+16
CSCHECK^ORDEA GETFLDS+53
$$CHKORD^OREVNTX1 GETFLDS+41
EN^ORQ1 GET+15, AGET+19, AGET+22
TEXT^ORQ12 GETFLDS+58, GETTXT+2
PKI^ORWDPS1 GETFLDS+26
GET1^ORWORR1 AGET+23
GET2^ORWORR1 AGET+20
$$GET^XPAR DOCUR+2
$$DEA^XUSER GETFLDS+5

Used in RPC

RPC Name Call Tags
ORWORR GET GET
ORWORR GET4LST GET4V11
ORWORR AGET AGET
ORWORR GETTXT GETTXT
ORWORR GETBYIFN GETBYIFN
ORWORR RGET RGET

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(100.98 - [#100.98] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] GETFLDS+24, GETFLDS+48, GETFLDS+49, GETFLDS+50, GETFLDS+51, GETPKG+5
^DPT - [#2] AGET+13, GETFLDS+23, GETFLDS+47
^OR(100 - [#100] GET+17, DOGET+1, DOGET+2, DOGET+4, DOGET+5, DOALL+1, DOALL+2, DOALL+4, DOALL+5, DOCUR+6
, DOCUR+7, DOCUR+9, DOCUR+10, GET41+5, GETBYIFN+7, GETBYIFN+9, GETFLDS+10, GETFLDS+13, GETFLDS+18, GETFLDS+19
, GETFLDS+21, GETFLDS+38, GETFLDS+45, GETFLDS+59, GETFLDS+60, GETFLDS+62, GETFLDS+63, RSTRT+1, RSTOP+1
^ORD(100.7 - [#100.7] GETFLDS+25
^ORD(100.98 - [#100.98] XGET+5, GETFLDS+33, XPND+3, XPND+4
^SC - [#44] GETFLDS+36
^TMP("ORR" GET+13!, GET+16, GET+19!, AGET+8!
^TMP("ORRJD" AGET+8!
^VA(200 - [#200] GETFLDS+4

Label References

Name Line Occurrences
$$RSTOP GETFLDS+10
$$RSTRT GETFLDS+9
ACKILL DOCUR+13, DOCUR+14, DOCUR+15
AGET RGET+3
DOALL XGET+7
DOCUR XGET+8
DOGET XGET+21
EXIT GET+20, XGET+7, XGET+8
GET41 GET4V11+1
GETFLDS GET+18, DOGET+9, DOALL+7, DOCUR+16, GET41+6
XPND XGET+6, XPND+4

Naked Globals

Name Field # of Occurrence
^( GET+16, GETFLDS+63, XPND+4
^(2 GETFLDS+18
^(3 GET+17, DOGET+5, DOALL+5, DOCUR+10, GET41+5, GETBYIFN+7
^(8 GET+17, DOCUR+10, GET41+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EXIT+1~, EXIT+2, DOCUR+1~, DOCUR+4
>> %H DOCUR+3*
%I EXIT+1~
ACT GET+12~, GET+17*, XGET+1~, DOCUR+9*, DOCUR+10, GET41~, GET41+4*, GET41+5, GETBYIFN+5~, GETBYIFN+8*
, GETBYIFN+9, GETFLDS+6, GETFLDS+10, GETFLDS+13, GETFLDS+18, GETFLDS+19
ACTID GET41~, GETBYIFN+5~, GETFLDS+6*, GETFLDS+9, GETFLDS+10, GETFLDS+40
AGRP XPND~, XPND+3, XPND+4
AOCTXT DOCUR+1~, DOCUR+4*, DOCUR+13, DOCUR+15
CHLD XPND+2~, XPND+4*
CSTS GET+12~, GET41~, GETBYIFN+5~, GETFLDS+7*, GETFLDS+8*, GETFLDS+11
DEA GET+12~, XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+5*, GETFLDS+17
DFN GET~, GET+15, AGET~, AGET+13, AGET+19, AGET+22, RGET~, RGET+3, XGET+2*, DOGET+1
, DOGET+2, DOGET+4, DOALL+1, DOALL+2, DOALL+4, DOCUR+6, DOCUR+7, DOCUR+9
DGID GETFLDS+29~, GETFLDS+31*, GETFLDS+32, GETFLDS+33
DGNAM GETFLDS+29~, GETFLDS+33*
DGRP XGET+1~, DOGET+2*, DOGET+3, DOGET+4, DOALL+2*, DOALL+3, DOALL+4
DTFROM AGET~, AGET+14*, AGET+16, AGET+19, AGET+22, RGET~, RGET+3
DTTHRU AGET~, AGET+15*, AGET+16*, AGET+19, AGET+22, RGET~, RGET+3
DUZ GETFLDS+25
EVENT AGET~, AGET+17*, AGET+19, AGET+22, RGET~, RGET+3
EVTDCREL AGET+18, RGET+1~, RGET+2*
EVTNAME AGET+6~, AGET+7*
EYE GET+12~, GET+16*
FILTER GET~, GET+14*, GET+15, AGET~, AGET+9*, AGET+11*, AGET+12, AGET+19, AGET+22, RGET~
, RGET+3, XGET+3*, XGET+7, XGET+8, XGET+9, XGET+10, XGET+11, XGET+12, XGET+13, XGET+14
, XGET+15, XGET+16, XGET+17, XGET+18, XGET+19, XGET+20
GROUPS GET~, GET+14*, GET+15, AGET~, AGET+9*, AGET+10, AGET+19, AGET+22, RGET~, RGET+3
, XGET+4, XGET+5*, XGET+6, DOGET+3, DOALL+3
GROUPS( DOGET+3, DOALL+3, XPND+3*
I AGET+6~, GETFLDS+63*, XPND+2~, XPND+3*, XPND+4*
ID XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+6*, GETFLDS+11, GETFLDS+58
IDX GET+12~, GET+14*, XGET+1~, XGET+2*, GET41~, GET41+2*, GETBYIFN+5~, GETBYIFN+6*, GETFLDS+6*, GETFLDS+11
, GETFLDS+13, GETFLDS+14, GETFLDS+15, GETFLDS+16, GETFLDS+17, GETFLDS+18, GETFLDS+27, GETFLDS+37, GETFLDS+38, GETFLDS+40
, GETFLDS+41, GETFLDS+52, GETFLDS+54, GETFLDS+55, GETFLDS+61*, GETFLDS+62*, GETFLDS+63*
IFN GET+12~, GET+16*, GET+17*, AGET+6~, XGET+1~, DOGET+4*, DOGET+5, DOALL+4*, DOALL+5, DOCUR+7*
, DOCUR+9, DOCUR+10, GET41~, GET41+3*, GET41+4*, GET41+5, GETBYIFN~, GETBYIFN+4, GETBYIFN+7, GETBYIFN+8
, GETBYIFN+9*, GETFLDS+6, GETFLDS+10, GETFLDS+13, GETFLDS+18, GETFLDS+19, GETFLDS+21, GETFLDS+38, GETFLDS+41, GETFLDS+45
, GETFLDS+59, GETFLDS+60, GETFLDS+62, GETFLDS+63, RSTRT+1, RSTOP+1, GETTXT~, GETTXT+1*, GETTXT+2, GETPKG~
, GETPKG+2, GETPKG+3
IFNIDX GET41~, GET41+2*, GET41+3*
IFNLST GET4V11~, GET4LST~
IFNLST( GET41+3
LN GET+12~, XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+59*, GETFLDS+60*, GETFLDS+61*
LOC GET41+1~, GETFLDS+30*, GETFLDS+35*, GETFLDS+36*, GETFLDS+37
LST GET~, GET+14*, XGET+2*, EXIT, GET4V11~, GET4LST~, GET41+2*, GETBYIFN~, GETBYIFN+6*, GETFLDS+6*
, GETTXT~, GETTXT+2
LST( GETFLDS+11*, GETFLDS+13*, GETFLDS+14*, GETFLDS+15*, GETFLDS+16*, GETFLDS+17*, GETFLDS+18*, GETFLDS+27*, GETFLDS+37*, GETFLDS+38*
, GETFLDS+40*, GETFLDS+41*, GETFLDS+52*, GETFLDS+54*, GETFLDS+55*, GETFLDS+61*, GETFLDS+62*, GETFLDS+63*
LST(1 EXIT+2*
LST(2 EXIT+2*
MASK XGET+1~, DOCUR+5*, DOCUR+15
MULT AGET+6~, AGET+12*, AGET+19, AGET+22
OI GETFLDS+20~, GETFLDS+21*, GETFLDS+26, GETFLDS+43~, GETFLDS+45*, GETFLDS+53
>> OR(100 GETPKG+4
ORCAT GETFLDS+20~, GETFLDS+23*, GETFLDS+26, GETFLDS+43~, GETFLDS+47*
ORCONSUB GETFLDS+43~, GETFLDS+53, GETFLDS+54, GETFLDS+55
ORCSPKG GETFLDS+43~, GETFLDS+44*, GETFLDS+48*, GETFLDS+49*, GETFLDS+50*, GETFLDS+51*, GETFLDS+52, GETFLDS+53
ORDERID GETPKG+1~, GETPKG+3*, GETPKG+4
ORIFN GET+12~, AGET+6~
ORIGVIEW GET41~, GETBYIFN+5~, GETFLDS+57*
ORLIST GET+12~, GET+16, AGET+6~
ORPKIU GETFLDS+20~, GETFLDS+25*, GETFLDS+26
ORRECIP AGET~
ORUGROUP AGET+5!, AGET+10*, GETFLDS+12*, GETFLDS+58, GETFLDS+60
ORVP GETFLDS+20~, GETFLDS+22*, GETFLDS+23, GETFLDS+26, GETFLDS+43~, GETFLDS+46*, GETFLDS+47
ORWARD AGET+6~, AGET+13*
ORWTS AGET+6~, AGET+11*
>> ORY GETFLDS+26, GETFLDS+27
ORYD AGET+6~, GET4V11~, GETBYIFN+5~, GETBYIFN+6*, GETFLDS+43~, GETFLDS+57
PASS XGET+1~, XGET+9*, XGET+10*, XGET+11*, XGET+12*, XGET+13*, XGET+15*, XGET+16*, XGET+17*, XGET+18*
, XGET+19*, XGET+20*, DOGET+7
PKG GETFLDS+20~, GETFLDS+22*, GETFLDS+24, GETFLDS+43~, GETFLDS+46*, GETFLDS+48, GETFLDS+49, GETFLDS+50, GETFLDS+51
PKGID GETPKG+1~, GETPKG+4*, GETPKG+5
PRV GET+12~, XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+3*, GETFLDS+4*, GETFLDS+5, GETFLDS+11
PTEVTID AGET+6~, AGET+7*
REF AGET~, RGET~, RGET+3
STOP GET+12~, DOCUR+1~, DOCUR+11*, DOCUR+15, GET41~, GETBYIFN+5~, GETFLDS+10*, GETFLDS+11
STRT GET+12~, GET41~, GETBYIFN+5~, GETFLDS+9*, GETFLDS+11
STS DOCUR+1~, DOCUR+11*, DOCUR+12, DOCUR+15
TIME XGET+1~, DOGET+1*, DOGET+2, DOGET+4, DOALL+1*, DOALL+2, DOALL+4, DOCUR+6*, DOCUR+7, DOCUR+9
TOT AGET+6~
TXT GET+12~, XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+58!
TXT( GETFLDS+59*, GETFLDS+60*, GETFLDS+61
TXT(0 GETFLDS+59, GETFLDS+60
TXTVW AGET+6~, GET4V11~, GETBYIFN+5~, GETFLDS+57
U AGET+11, AGET+12, DOGET+6, DOGET+7, DOALL+6, DOCUR+11, DOCUR+12, DOCUR+13, DOCUR+14, GETBYIFN+8
, GETFLDS+3, GETFLDS+4, GETFLDS+6, GETFLDS+7, GETFLDS+8, GETFLDS+9, GETFLDS+10, GETFLDS+11, GETFLDS+13, GETFLDS+14
, GETFLDS+15, GETFLDS+16, GETFLDS+17, GETFLDS+18, GETFLDS+23, GETFLDS+27, GETFLDS+31, GETFLDS+33, GETFLDS+35, GETFLDS+36
, GETFLDS+37, GETFLDS+38, GETFLDS+40, GETFLDS+41, GETFLDS+47, GETFLDS+52, GETFLDS+54, GETFLDS+55, GETFLDS+57, XPND+4
, GETPKG+4, GETPKG+5
X XGET+1~, EXIT+1~, DOCUR+2*, DOCUR+3*, DOCUR+4
X0 GET+12~, GET+17*, XGET+1~, DOGET+5*, DOALL+5*, DOCUR+10*, DOCUR+11, GET41~, GET41+5*, GETBYIFN+5~
, GETBYIFN+7*, GETFLDS+9, GETFLDS+10, GETFLDS+11, GETFLDS+19, GETFLDS+22, GETFLDS+31, GETFLDS+35, GETFLDS+46
X3 GET+12~, GET+17*, XGET+1~, DOGET+5*, DOGET+6, DOGET+7, DOALL+5*, DOALL+6, DOCUR+10*, DOCUR+11
, DOCUR+12, GET41~, GET41+5*, GETBYIFN+5~, GETBYIFN+7*, GETBYIFN+8, GETFLDS+7, GETFLDS+8, GETFLDS+9, GETFLDS+10
X8 GET+12~, GET+17*, DOCUR+10*, DOCUR+13, DOCUR+14, GET41~, GET41+5*, GETBYIFN+5~, GETBYIFN+9*, GETFLDS+3
, GETFLDS+6, GETFLDS+7, GETFLDS+8, GETFLDS+9, GETFLDS+11, GETFLDS+14, GETFLDS+15, GETFLDS+16, GETFLDS+57
Y GETPKG~, GETPKG+3*, GETPKG+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All