OCXOZ0R ;SLC/RJS,CLA - Order Check Scan ;OCT 30,2024 at 12:49
Source file <OCXOZ0R.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 2 | EN^ORB3 FIREFLOI^ORB3F1 |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 2 | OCXOZ0G OCXOZ0Q |
Name | Comments | DBIA/ICR reference |
---|---|---|
R44R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #44 'ORDER REQUIRES ELECTRONIC SIGNATURE' Relation #1 'ELECTRONIC SIGNATURE'
; Called from R44R1A+10^OCXOZ0Q. |
|
R48R1A | ; Verify all Event/Elements of Rule #48 'SITE FLAGGED ORDER' Relation #1 'NEW SITE FLAGGED ORDER AND INPATIENT'
; Called from EL58+5^OCXOZ0G, and EL127+5^OCXOZ0G. |
|
R48R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #48 'SITE FLAGGED ORDER' Relation #1 'NEW SITE FLAGGED ORDER AND INPATIENT'
; Called from R48R1A+12. |
|
R48R2A | ; Verify all Event/Elements of Rule #48 'SITE FLAGGED ORDER' Relation #2 'NEW SITE FLAGGED ORDER AND OUTPATIENT'
; Called from EL58+6^OCXOZ0G, and EL128+5^OCXOZ0G. |
|
R48R2B | ; Send Order Check, Notication messages and/or Execute code for Rule #48 'SITE FLAGGED ORDER' Relation #2 'NEW SITE FLAGGED ORDER AND OUTPATIENT'
; Called from R48R2A+12. |
|
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 |
|
MCE127() | ; Verify Event/Element: INPATIENT
|
|
MCE128() | ; Verify Event/Element: OUTPATIENT
|
|
MCE58() | ; Verify Event/Element: NEW SITE FLAGGED ORDER
|
|
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
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OCXD(860.7 - [#860.7] | NEWRULE+13, NEWRULE+47! |
^OCXS(860.2 - [#860.2] | R48R1A+9, R48R2A+9, NEWRULE+38 |
^TMP("OCXCHK" | GETDATA+3, MCE127+5, MCE128+5, MCE58+5, NEWRULE+50, NEWRULE+55 |
^TMP("OCXSWAP" | R44R1B+20 |
>> | 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 | R44R1B+27, R44R1B+28, R48R1B+18, R48R2B+18, GETDATA~, GETDATA+3 |
>> OCXAP | INT2DT+5*, INT2DT+18*, INT2DT+21 |
OCXCKSUM | NEWRULE+7~, NEWRULE+10*, NEWRULE+13, NEWRULE+20 |
OCXCMSG | R44R1B+10~, R44R1B+11*, R48R1B+11~, R48R1B+12*, R48R2B+11~, R48R2B+12* |
>> OCXCNT | INT2DT+12*, INT2DT+13*, INT2DT+14, INT2DT+15 |
OCXCYR | INT2DT+4~, INT2DT+9*, INT2DT+20 |
OCXDATA | R44R1B+10~, R44R1B+18*, R44R1B+20*, R44R1B+21*, R44R1B+28, R48R1B+11~, R48R2B+11~, 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 | MCE127+4, MCE127+5, MCE128+4, MCE128+5, MCE58+4, MCE58+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 | R44R1B+10~, R44R1B+18*, R44R1B+28, R48R1B+11~, R48R2B+11~ |
OCXDUZ( | R44R1B+23* |
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 | R44R1B+10~, R48R1B+11~, R48R2B+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 | R44R1B+10~, R48R1B+11~, R48R2B+11~ |
OCXLOGS | R44R1B+10~, R48R1B+11~, R48R2B+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 | R44R1B+10~, R44R1B+12*, R44R1B+27, R44R1B+28, R48R1B+11~, R48R1B+13*, R48R2B+11~, R48R2B+13* |
OCXNOTF | NEWRULE~, NEWRULE+4 |
OCXNUM | R44R1B+10~, R44R1B+18*, R44R1B+21*, R44R1B+24*, R44R1B+25*, R44R1B+27, R44R1B+28, R48R1B+11~, R48R2B+11~ |
>> OCXOERR | R44R1B+3, R44R1B+14, R48R1A+3, R48R1B+3, R48R1B+19, R48R2A+3, R48R2B+3, R48R2B+19 |
>> OCXOLOG | NEWRULE+45 |
OCXORD | R44R1B+23, R44R1B+24, NEWRULE~, NEWRULE+5*, NEWRULE+13, NEWRULE+20, NEWRULE+26 |
>> OCXOSRC | R44R1B+19, R44R1B+22, R44R1B+25 |
OCXPORD | R44R1B+10~, R48R1B+11~, R48R2B+11~ |
>> OCXPSD | R44R1B+25 |
OCXQUIT | R44R1B+10~, R48R1B+11~, R48R2B+11~ |
OCXREL | NEWRULE~, NEWRULE+4, NEWRULE+33, NEWRULE+34, NEWRULE+36, NEWRULE+41, NEWRULE+47 |
OCXRES | MCE127+3~, MCE128+3~, MCE58+3~ |
OCXRES(127 | MCE127+4* |
OCXRES(128 | MCE128+4* |
OCXRES(58 | MCE58+4* |
OCXRUL | NEWRULE~, NEWRULE+3, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+27, NEWRULE+28, NEWRULE+30, NEWRULE+35, NEWRULE+38 , NEWRULE+47 |
>> OCXRULE("R44R1B" | R44R1B+8, R44R1B+26* |
>> OCXRULE("R48R1B" | R48R1B+9 |
>> OCXRULE("R48R2B" | R48R2B+9 |
OCXSEC | INT2DT+4~, INT2DT+5*, INT2DT+6*, INT2DT+21 |
OCXTIME | NEWRULE+7~, NEWRULE+9*, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+44 |
>> OCXTRACE | R44R1B+28 |
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 | R44R1B+23, R44R1B+24, GETDATA+3, INT2DT+14, INT2DT+15, INT2DT+16, NEWRULE+26, SETAP+2, SETAP+3 |
VAL | GETDATA+2~*, GETDATA+3*, GETDATA+4 |