OCXOZ0O ;SLC/RJS,CLA - Order Check Scan ;JUL 1,2021 at 11:27
Source file <OCXOZ0O.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 1 | EN^ORB3 |
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 OCXOZ0N |
Name | Comments | DBIA/ICR reference |
---|---|---|
R24R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #24 'ORDERER FLAGGED RESULTS AVAILABLE' Relation #1 'ORDER FLAGGED FOR RESULTS AND (LAB RESULT OR IMAGI...'
; Called from R24R1A+14^OCXOZ0N. |
|
R28R1A | ; Verify all Event/Elements of Rule #28 'STAT ORDER PLACED' Relation #1 'NEW OBR STAT OR NEW ORC STAT'
; Called from EL60+5^OCXOZ0G, and EL61+5^OCXOZ0G. |
|
R28R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #28 'STAT ORDER PLACED' Relation #1 'NEW OBR STAT OR NEW ORC STAT'
; Called from R28R1A+11. |
|
R32R1A | ; Verify all Event/Elements of Rule #32 'PATIENT TRANSFERRED FROM PSYCHIATRY TO A...' Relation #1 'FROM PSYCH WARD'
; Called from EL42+5^OCXOZ0G. |
|
R32R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #32 'PATIENT TRANSFERRED FROM PSYCHIATRY TO A...' Relation #1 'FROM PSYCH WARD'
; Called from R32R1A+10. |
|
CKSUM(STR) | ; Compiler Function: GENERATE STRING CHECKSUM
|
|
GETDATA(DFN,OCXL,OCXDFI) | ; This Local Extrinsic Function returns runtime data
|
|
MCE42() | ; Verify Event/Element: PATIENT TRANSFERRED FROM PSYCH WARD
|
|
MCE60() | ; Verify Event/Element: NEW OBR STAT ORDER
|
|
MCE61() | ; Verify Event/Element: NEW ORC STAT 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] | R28R1A+9, R32R1A+8, NEWRULE+38 |
^TMP("OCXCHK" | GETDATA+3, MCE42+6, MCE60+5, MCE61+5, NEWRULE+50, NEWRULE+55 |
^TMP("OCXSWAP" | R24R1B+21, R28R1B+21, R32R1B+21 |
>> | 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 | R24R1B+13, R24R1B+28, R24R1B+29, R28R1B+13, R28R1B+28, R28R1B+29, R32R1B+13, R32R1B+28, R32R1B+29, GETDATA~ , GETDATA+3, MCE42+5 |
OCXCKSUM | NEWRULE+7~, NEWRULE+10*, NEWRULE+13, NEWRULE+20 |
OCXCMSG | R24R1B+11~, R24R1B+12*, R28R1B+11~, R28R1B+12*, R32R1B+11~, R32R1B+12* |
OCXDATA | R24R1B+11~, R24R1B+19*, R24R1B+21*, R24R1B+22*, R24R1B+29, R28R1B+11~, R28R1B+19*, R28R1B+21*, R28R1B+22*, R28R1B+29 , R32R1B+11~, R32R1B+19*, R32R1B+21*, R32R1B+22*, R32R1B+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* |
>> OCXDF(37 | MCE42+5*, MCE42+6, MCE60+4, MCE60+5, MCE61+4, MCE61+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 |
OCXDUZ | R24R1B+11~, R24R1B+19*, R24R1B+29, R28R1B+11~, R28R1B+19*, R28R1B+29, R32R1B+11~, R32R1B+19*, R32R1B+29 |
OCXDUZ( | R24R1B+24*, R28R1B+24*, R32R1B+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 |
OCXFORD | R24R1B+11~, R28R1B+11~, R32R1B+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 |
OCXL | GETDATA~, GETDATA+3 |
OCXLOGD | R24R1B+11~, R28R1B+11~, R32R1B+11~ |
OCXLOGS | R24R1B+11~, R28R1B+11~, R32R1B+11~ |
OCXMESS | NEWRULE~, NEWRULE+4, NEWRULE+10, NEWRULE+27 |
OCXNDX | NEWRULE+7~ |
OCXNMSG | R24R1B+11~, R24R1B+13*, R24R1B+28, R24R1B+29, R28R1B+11~, R28R1B+13*, R28R1B+28, R28R1B+29, R32R1B+11~, R32R1B+13* , R32R1B+28, R32R1B+29 |
OCXNOTF | NEWRULE~, NEWRULE+4 |
OCXNUM | R24R1B+11~, R24R1B+19*, R24R1B+22*, R24R1B+25*, R24R1B+26*, R24R1B+28, R24R1B+29, R28R1B+11~, R28R1B+19*, R28R1B+22* , R28R1B+25*, R28R1B+26*, R28R1B+28, R28R1B+29, R32R1B+11~, R32R1B+19*, R32R1B+22*, R32R1B+25*, R32R1B+26*, R32R1B+28 , R32R1B+29 |
>> OCXOERR | R24R1B+3, R24R1B+15, R28R1A+3, R28R1B+3, R28R1B+15, R32R1A+3, R32R1B+3, R32R1B+15 |
>> OCXOLOG | NEWRULE+45 |
OCXORD | R24R1B+24, R24R1B+25, R28R1B+24, R28R1B+25, R32R1B+24, R32R1B+25, NEWRULE~, NEWRULE+5*, NEWRULE+13, NEWRULE+20 , NEWRULE+26 |
>> OCXOSRC | R24R1B+20, R24R1B+23, R24R1B+26, R28R1B+20, R28R1B+23, R28R1B+26, R32R1B+20, R32R1B+23, R32R1B+26 |
OCXPORD | R24R1B+11~, R28R1B+11~, R32R1B+11~ |
>> OCXPSD | R24R1B+26, R28R1B+26, R32R1B+26 |
OCXQUIT | R24R1B+11~, R28R1B+11~, R32R1B+11~ |
OCXREL | NEWRULE~, NEWRULE+4, NEWRULE+33, NEWRULE+34, NEWRULE+36, NEWRULE+41, NEWRULE+47 |
OCXRES | MCE42+4~, MCE60+3~, MCE61+3~ |
OCXRES(42 | MCE42+5* |
OCXRES(60 | MCE60+4* |
OCXRES(61 | MCE61+4* |
OCXRUL | NEWRULE~, NEWRULE+3, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+27, NEWRULE+28, NEWRULE+30, NEWRULE+35, NEWRULE+38 , NEWRULE+47 |
>> OCXRULE("R24R1B" | R24R1B+9, R24R1B+27* |
>> OCXRULE("R28R1B" | R28R1B+9, R28R1B+27* |
>> OCXRULE("R32R1B" | R32R1B+9, R32R1B+27* |
OCXTIME | NEWRULE+7~, NEWRULE+9*, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+44 |
>> OCXTRACE | R24R1B+29, R28R1B+29, R32R1B+29 |
OCXTSP | NEWRULE+7~, NEWRULE+12*, NEWRULE+15, NEWRULE+20 |
>> OCXTSPI | NEWRULE+13 |
OCXTSPL | NEWRULE+7~, NEWRULE+13*, NEWRULE+15 |
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 | R24R1B+24, R24R1B+25, R28R1B+24, R28R1B+25, R32R1B+24, R32R1B+25, GETDATA+3, NEWRULE+26, SETAP+2, SETAP+3 |
VAL | GETDATA+2~*, GETDATA+3*, GETDATA+4 |