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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: OCXOZ0K

Package: Order Entry Results Reporting

Routine: OCXOZ0K


Information

OCXOZ0K ;SLC/RJS,CLA - Order Check Scan ;OCT 30,2024 at 12:49

Source Information

Source file <OCXOZ0K.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Order Entry Results Reporting 2 R11R2B^OCXOZ0L  EN^ORB3  

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: 2

Package Total Caller Graph
Order Entry Results Reporting 2 OCXOZ0F  OCXOZ0J  

Entry Points

Name Comments DBIA/ICR reference
R7R1B ; Send Order Check, Notication messages and/or Execute code for Rule #7 'PATIENT ADMISSION' Relation #1 'ADMISSION'
; Called from R7R1A+10^OCXOZ0J.
R11R1A ; Verify all Event/Elements of Rule #11 'IMAGING REQUEST CANCELLED/HELD' Relation #1 'CANCELLED AND CANCELED BY NON-ORIG ORDERER'
; Called from EL31+5^OCXOZ0F, and EL100+5^OCXOZ0F.
R11R1B ; Send Order Check, Notication messages and/or Execute code for Rule #11 'IMAGING REQUEST CANCELLED/HELD' Relation #1 'CANCELLED AND CANCELED BY NON-ORIG ORDERER'
; Called from R11R1A+12.
R11R2A ; Verify all Event/Elements of Rule #11 'IMAGING REQUEST CANCELLED/HELD' Relation #2 'ON HOLD AND CANCELED BY NON-ORIG ORDERER'
; Called from EL100+6^OCXOZ0F, and EL30+5^OCXOZ0F.
CKSUM(STR) ; Compiler Function: GENERATE STRING CHECKSUM
GETDATA(DFN,OCXL,OCXDFI) ; This Local Extrinsic Function returns runtime data
INT2DT(OCXDT,OCXF) ; This Local Extrinsic Function converts an OCX internal format
; date into an Externl Format (Human Readable) date. 'OCXF=SHORT FORMAT OCXF=LONG FORMAT
MCE100() ; Verify Event/Element: CANCELED BY NON-ORIG ORDERING PROVIDER
MCE30() ; Verify Event/Element: RADIOLOGY ORDER PUT ON-HOLD
MCE31() ; Verify Event/Element: RADIOLOGY ORDER CANCELLED
NEWRULE(OCXDFN,OCXORD,OCXRUL,OCXREL,OCXNOTF,OCXMESS) ; Has this rule already been triggered for this order number
SETAP(ROOT,DD,DATA,DA) ; Set Rule Event data

External References

Name Field # of Occurrence
R11R2B^OCXOZ0L R11R2A+12
EN^ORB3 R7R1B+30, R11R1B+29

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OCXD(860.7 - [#860.7] NEWRULE+13, NEWRULE+47!
^OCXS(860.2 - [#860.2] R11R1A+9, R11R2A+9, NEWRULE+38
^TMP("OCXCHK" GETDATA+3, MCE100+5, MCE30+5, MCE31+5, NEWRULE+50, NEWRULE+55
^TMP("OCXSWAP" R7R1B+22, R11R1B+21

Label References

Name Line Occurrences
$$CKSUM NEWRULE+10
$$GETDATA R7R1B+14, R11R1B+13
$$INT2DT R7R1B+14
$$MCE100 R11R1A+12, R11R2A+12
$$MCE30 R11R2A+11
$$MCE31 R11R1A+11
$$NEWRULE R7R1B+29, R11R1B+28
R11R1B R11R1A+12
SETAP NEWRULE+23, NEWRULE+30, NEWRULE+36, NEWRULE+48, NEWRULE+57

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ASC CKSUM+2~, CKSUM+4*
CKSUM CKSUM+2~*, CKSUM+4*, CKSUM+5
DA SETAP~, SETAP+2, SETAP+3
DATA SETAP~, SETAP+1
DD SETAP~, SETAP+2, SETAP+3
DFN R7R1B+14, R7R1B+29, R7R1B+30, R11R1B+13, R11R1B+28, R11R1B+29, GETDATA~, GETDATA+3
>> OCXAP INT2DT+5*, INT2DT+18*, INT2DT+21
OCXCKSUM NEWRULE+7~, NEWRULE+10*, NEWRULE+13, NEWRULE+20
OCXCMSG R7R1B+12~, R7R1B+13*, R11R1B+11~, R11R1B+12*
>> OCXCNT INT2DT+12*, INT2DT+13*, INT2DT+14, INT2DT+15
OCXCYR INT2DT+4~, INT2DT+9*, INT2DT+20
OCXDATA R7R1B+12~, R7R1B+20*, R7R1B+22*, R7R1B+23*, R7R1B+30, R11R1B+11~, R11R1B+19*, R11R1B+21*, R11R1B+22*, R11R1B+29
, NEWRULE+7~, NEWRULE+17!, NEWRULE+23, NEWRULE+25!, NEWRULE+30, NEWRULE+32!, NEWRULE+36, NEWRULE+42!, NEWRULE+48, NEWRULE+53!
, NEWRULE+57
OCXDATA( NEWRULE+18*, NEWRULE+26*, NEWRULE+27*, NEWRULE+33*, NEWRULE+43*, NEWRULE+44*, NEWRULE+45*, NEWRULE+54*, NEWRULE+55*
OCXDATA("AT" NEWRULE+20*
OCXDATA("B" NEWRULE+19*, NEWRULE+28*, NEWRULE+34*, NEWRULE+46*, NEWRULE+56*
OCXDAY INT2DT+4~, INT2DT+5*, INT2DT+15*, INT2DT+20, INT2DT+21, INT2DT+22
>> OCXDF(37 MCE100+4, MCE100+5, MCE30+4, MCE30+5, MCE31+4, MCE31+5
OCXDFI GETDATA~, GETDATA+3, NEWRULE+7~, NEWRULE+50*, NEWRULE+54, NEWRULE+55, NEWRULE+56, NEWRULE+57
OCXDFN NEWRULE~, NEWRULE+3, NEWRULE+5*, NEWRULE+13, NEWRULE+18, NEWRULE+19, NEWRULE+20, NEWRULE+23, NEWRULE+29, NEWRULE+47
, NEWRULE+50, NEWRULE+55
OCXDT INT2DT~, INT2DT+3, INT2DT+6*, INT2DT+7*, INT2DT+8*, INT2DT+10*, INT2DT+11*, INT2DT+14, INT2DT+15
OCXDUZ R7R1B+12~, R7R1B+20*, R7R1B+30, R11R1B+11~, R11R1B+19*, R11R1B+29
OCXDUZ( R7R1B+25*, R11R1B+24*
OCXE GETDATA+2~, GETDATA+3*
OCXELE NEWRULE+7~, NEWRULE+38*, NEWRULE+43, NEWRULE+44, NEWRULE+45, NEWRULE+46, NEWRULE+47, NEWRULE+48, NEWRULE+50, NEWRULE+52
, NEWRULE+55
OCXF INT2DT~, INT2DT+3*, INT2DT+16, INT2DT+19, INT2DT+20
OCXFORD R7R1B+12~, R11R1B+11~
OCXGR NEWRULE+7~, NEWRULE+22*, NEWRULE+23, NEWRULE+29*, NEWRULE+30, NEWRULE+35*, NEWRULE+36, NEWRULE+41
OCXGR1 NEWRULE+40~, NEWRULE+41*, NEWRULE+48, NEWRULE+52
OCXGR2 NEWRULE+51~, NEWRULE+52*, NEWRULE+57
OCXHR INT2DT+4~, INT2DT+5*, INT2DT+8*, INT2DT+18, INT2DT+19*, INT2DT+20, INT2DT+21
OCXL GETDATA~, GETDATA+3
OCXLOGD R7R1B+12~, R11R1B+11~
OCXLOGS R7R1B+12~, R11R1B+11~
OCXLPYR INT2DT+4~, INT2DT+5*, INT2DT+11*, INT2DT+13
OCXMESS NEWRULE~, NEWRULE+4, NEWRULE+10, NEWRULE+27
OCXMIN INT2DT+4~, INT2DT+5*, INT2DT+7*, INT2DT+20, INT2DT+21
OCXMON INT2DT+4~, INT2DT+5*, INT2DT+14*, INT2DT+15, INT2DT+16*, INT2DT+17*, INT2DT+20, INT2DT+21, INT2DT+22
OCXNDX NEWRULE+7~
OCXNMSG R7R1B+12~, R7R1B+14*, R7R1B+29, R7R1B+30, R11R1B+11~, R11R1B+13*, R11R1B+28, R11R1B+29
OCXNOTF NEWRULE~, NEWRULE+4
OCXNUM R7R1B+12~, R7R1B+20*, R7R1B+23*, R7R1B+26*, R7R1B+27*, R7R1B+29, R7R1B+30, R11R1B+11~, R11R1B+19*, R11R1B+22*
R11R1B+25*, R11R1B+26*, R11R1B+28, R11R1B+29
>> OCXOERR R7R1B+3, R7R1B+16, R11R1A+3, R11R1B+3, R11R1B+15, R11R2A+3
>> OCXOLOG NEWRULE+45
OCXORD R7R1B+25, R7R1B+26, R11R1B+24, R11R1B+25, NEWRULE~, NEWRULE+5*, NEWRULE+13, NEWRULE+20, NEWRULE+26
>> OCXOSRC R7R1B+21, R7R1B+24, R7R1B+27, R11R1B+20, R11R1B+23, R11R1B+26
OCXPORD R7R1B+12~, R11R1B+11~
>> OCXPSD R7R1B+27, R11R1B+26
OCXQUIT R7R1B+12~, R11R1B+11~
OCXREL NEWRULE~, NEWRULE+4, NEWRULE+33, NEWRULE+34, NEWRULE+36, NEWRULE+41, NEWRULE+47
OCXRES MCE100+3~, MCE30+3~, MCE31+3~
OCXRES(100 MCE100+4*
OCXRES(30 MCE30+4*
OCXRES(31 MCE31+4*
OCXRUL NEWRULE~, NEWRULE+3, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+27, NEWRULE+28, NEWRULE+30, NEWRULE+35, NEWRULE+38
, NEWRULE+47
>> OCXRULE("R11R1B" R11R1B+9, R11R1B+27*
>> OCXRULE("R7R1B" R7R1B+10, R7R1B+28*
OCXSEC INT2DT+4~, INT2DT+5*, INT2DT+6*, INT2DT+21
OCXTIME NEWRULE+7~, NEWRULE+9*, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+44
>> OCXTRACE R7R1B+30, R11R1B+29
OCXTSP NEWRULE+7~, NEWRULE+12*, NEWRULE+15, NEWRULE+20
>> OCXTSPI NEWRULE+13
OCXTSPL NEWRULE+7~, NEWRULE+13*, NEWRULE+15
OCXYR INT2DT+4~, INT2DT+5*, INT2DT+10*, INT2DT+11*, INT2DT+20, INT2DT+21, INT2DT+22
PC GETDATA+2~, GETDATA+3*
PTR CKSUM+2~, CKSUM+4*
ROOT SETAP~, SETAP+1, SETAP+2, SETAP+3*
STR CKSUM~, CKSUM+3*, CKSUM+4
U R7R1B+25, R7R1B+26, R11R1B+24, R11R1B+25, GETDATA+3, INT2DT+14, INT2DT+15, INT2DT+16, NEWRULE+26, SETAP+2
, SETAP+3
VAL GETDATA+2~*, GETDATA+3*, GETDATA+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All