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 |  All
Print Page as PDF
Routine: ORWORR

Package: Order Entry Results Reporting

Routine: ORWORR


Information

ORWORR ; SLC/KCM/JLI - Retrieve Orders for Broker ;7/24/05

Source Information

Source file <ORWORR.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Order Entry Results Reporting 5 $$INITIALS^ORCHTAB2  EN^ORQ1  TEXT^ORQ12  PKI^ORWDPS1  (GET1,GET2)^ORWORR1  
Kernel 1 $$DEA^XUSER  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 (NOW,YMD)^%DTC  

Caller Graph

Caller Graph Total: 14

Package Total Caller Graph
Order Entry Results Reporting 11 ORWD  ORWDFH  ORWDPS3  ORWDX  ORWDXA  ORWDXM  ORWDXM3  ORWDXM4  
ORWDXR  ORWDXR01  ORWORB  
IHS Changes To Lab 1 BLRAG01  
Tracking Procedure Workflow 1 BTPWPPAT  
iCare 1 BQIGPORD  

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
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
$$INITIALS^ORCHTAB2 GETFLDS+13, GETFLDS+14, GETFLDS+15
EN^ORQ1 GET+15, AGET+17, AGET+20
TEXT^ORQ12 GETFLDS+38, GETTXT+2
PKI^ORWDPS1 GETFLDS+24
GET1^ORWORR1 AGET+21
GET2^ORWORR1 AGET+18
$$GET^XPAR DOCUR+2, GETFLDS+24
$$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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] GETFLDS+23, GETPKG+5
^DPT - [#2] AGET+11, GETFLDS+22
^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+12, GETFLDS+17, GETFLDS+18
, GETFLDS+20, GETFLDS+39, GETFLDS+40, GETFLDS+42, GETFLDS+43, RSTRT+1, RSTOP+1
^ORD(100.98 - [#100.98] XGET+5, GETFLDS+31, XPND+3, XPND+4
^SC - [#44] GETFLDS+34
^TMP("ORR" GET+13!, GET+16, GET+19!, AGET+7!
^TMP("ORRJD" AGET+7!
^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+43, XPND+4
^(2 GETFLDS+17
^(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+12, GETFLDS+17, GETFLDS+18
ACTID GET41~, GETBYIFN+5~, GETFLDS+6*, GETFLDS+9, GETFLDS+10
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+16
DFN GET~, GET+15, AGET~, AGET+11, AGET+17, AGET+20, 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+27~, GETFLDS+29*, GETFLDS+30, GETFLDS+31
DGNAM GETFLDS+27~, GETFLDS+31*
DGRP XGET+1~, DOGET+2*, DOGET+3, DOGET+4, DOALL+2*, DOALL+3, DOALL+4
DTFROM AGET~, AGET+12*, AGET+14, AGET+17, AGET+20, RGET~, RGET+3
DTTHRU AGET~, AGET+13*, AGET+14*, AGET+17, AGET+20, RGET~, RGET+3
DUZ GETFLDS+24
EVENT AGET~, AGET+15*, AGET+17, AGET+20, RGET~, RGET+3
EVTDCREL AGET+16, RGET+1~, RGET+2*
EVTNAME AGET+5~, AGET+6*
EYE GET+12~, GET+16*
FILTER GET~, GET+14*, GET+15, AGET~, AGET+8*, AGET+9*, AGET+10, AGET+17, AGET+20, 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+8*, AGET+17, AGET+20, RGET~, RGET+3, XGET+4
, XGET+5*, XGET+6, DOGET+3, DOALL+3
GROUPS( DOGET+3, DOALL+3, XPND+3*
I AGET+5~, GETFLDS+43*, XPND+2~, XPND+3*, XPND+4*
ID XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+6*, GETFLDS+11, GETFLDS+38
IDX GET+12~, GET+14*, XGET+1~, XGET+2*, GET41~, GET41+2*, GETBYIFN+5~, GETBYIFN+6*, GETFLDS+6*, GETFLDS+11
, GETFLDS+12, GETFLDS+13, GETFLDS+14, GETFLDS+15, GETFLDS+16, GETFLDS+17, GETFLDS+25, GETFLDS+35, GETFLDS+41*, GETFLDS+42*
, GETFLDS+43*
IFN GET+12~, GET+16*, GET+17*, AGET+5~, 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+12, GETFLDS+17, GETFLDS+18, GETFLDS+20, GETFLDS+39, GETFLDS+40, GETFLDS+42
, GETFLDS+43, 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+39*, GETFLDS+40*, GETFLDS+41*
LOC GET41+1~, GETFLDS+28*, GETFLDS+33*, GETFLDS+34*, GETFLDS+35
LST GET~, GET+14*, XGET+2*, EXIT, GET4V11~, GET4LST~, GET41+2*, GETBYIFN~, GETBYIFN+6*, GETFLDS+6*
, GETTXT~, GETTXT+2
LST( GETFLDS+11*, GETFLDS+12*, GETFLDS+13*, GETFLDS+14*, GETFLDS+15*, GETFLDS+16*, GETFLDS+17*, GETFLDS+25*, GETFLDS+35*, GETFLDS+41*
, GETFLDS+42*, GETFLDS+43*
LST(1 EXIT+2*
LST(2 EXIT+2*
MASK XGET+1~, DOCUR+5*, DOCUR+15
MULT AGET+5~, AGET+10*, AGET+17, AGET+20
OI GETFLDS+19~, GETFLDS+20*, GETFLDS+24
>> OR(100 GETPKG+4
ORCAT GETFLDS+19~, GETFLDS+22*, GETFLDS+24
ORDERID GETPKG+1~, GETPKG+3*, GETPKG+4
ORIFN GET+12~, AGET+5~
ORIGVIEW GET41~, GETBYIFN+5~, GETFLDS+37*
ORLIST GET+12~, GET+16, AGET+5~
ORRECIP AGET~
ORVP GETFLDS+19~, GETFLDS+21*, GETFLDS+22, GETFLDS+24
ORWARD AGET+5~, AGET+11*
ORWTS AGET+5~, AGET+9*
>> ORY GETFLDS+24, GETFLDS+25
ORYD AGET+5~, GET4V11~, GETBYIFN+5~, GETBYIFN+6*, GETFLDS+37
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+19~, GETFLDS+21*, GETFLDS+23
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+5~, AGET+6*
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+5~
TXT GET+12~, XGET+1~, GET41~, GETBYIFN+5~, GETFLDS+38!
TXT( GETFLDS+39*, GETFLDS+40*, GETFLDS+41
TXT(0 GETFLDS+39, GETFLDS+40
TXTVW AGET+5~, GET4V11~, GETBYIFN+5~, GETFLDS+37
U AGET+9, AGET+10, 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+12, GETFLDS+13
, GETFLDS+14, GETFLDS+15, GETFLDS+16, GETFLDS+17, GETFLDS+22, GETFLDS+25, GETFLDS+29, GETFLDS+31, GETFLDS+33, GETFLDS+34
, GETFLDS+35, GETFLDS+37, 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+18, GETFLDS+21, GETFLDS+29, GETFLDS+33
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+13, GETFLDS+14, GETFLDS+15, GETFLDS+37
Y GETPKG~, GETPKG+3*, GETPKG+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All