OCXOZ0Q ;SLC/RJS,CLA - Order Check Scan ;OCT 30,2024 at 12:49
Source file <OCXOZ0Q.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 2 | R44R1B^OCXOZ0R 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 | 1 | OCXOZ0G |
Name | Comments | DBIA/ICR reference |
---|---|---|
R42R1A | ; Verify all Event/Elements of Rule #42 'ABNORMAL LAB RESULTS' Relation #1 'ABNORMAL LAB ORDER'
; Called from EL23+5^OCXOZ0G. |
|
R42R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #42 'ABNORMAL LAB RESULTS' Relation #1 'ABNORMAL LAB ORDER'
; Called from R42R1A+10. |
|
R42R2A | ; Verify all Event/Elements of Rule #42 'ABNORMAL LAB RESULTS' Relation #2 'ABNORMAL LAB TEST'
; Called from EL103+5^OCXOZ0G. |
|
R42R2B | ; Send Order Check, Notication messages and/or Execute code for Rule #42 'ABNORMAL LAB RESULTS' Relation #2 'ABNORMAL LAB TEST'
; Called from R42R2A+10. |
|
R44R1A | ; Verify all Event/Elements of Rule #44 'ORDER REQUIRES ELECTRONIC SIGNATURE' Relation #1 'ELECTRONIC SIGNATURE'
; Called from EL48+5^OCXOZ0G. |
|
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 |
|
MCE103() | ; Verify Event/Element: HL7 LAB TEST RESULTS ABNORMAL
|
|
MCE23() | ; Verify Event/Element: HL7 LAB ORDER RESULTS ABNORMAL
|
|
MCE48() | ; Verify Event/Element: ORDER REQUIRES ELECTRONIC SIGNATURE
|
|
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] | R42R1A+8, R42R2A+8, R44R1A+8, NEWRULE+38 |
^TMP("OCXCHK" | GETDATA+3, MCE103+5, MCE23+5, MCE48+6, NEWRULE+50, NEWRULE+55 |
^TMP("OCXSWAP" | R42R1B+21, R42R2B+22 |
>> | 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 | R42R1B+13, R42R1B+28, R42R1B+29, R42R2B+14, R42R2B+29, R42R2B+30, GETDATA~, GETDATA+3 |
>> OCXAP | INT2DT+5*, INT2DT+18*, INT2DT+21 |
OCXCKSUM | NEWRULE+7~, NEWRULE+10*, NEWRULE+13, NEWRULE+20 |
OCXCMSG | R42R1B+11~, R42R1B+12*, R42R2B+12~, R42R2B+13* |
>> OCXCNT | INT2DT+12*, INT2DT+13*, INT2DT+14, INT2DT+15 |
OCXCYR | INT2DT+4~, INT2DT+9*, INT2DT+20 |
OCXDATA | R42R1B+11~, R42R1B+19*, R42R1B+21*, R42R1B+22*, R42R1B+29, R42R2B+12~, R42R2B+20*, R42R2B+22*, R42R2B+23*, R42R2B+30 , 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 | MCE103+4, MCE103+5, MCE23+4, MCE23+5, MCE48+5*, MCE48+6 |
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 | R42R1B+11~, R42R1B+19*, R42R1B+29, R42R2B+12~, R42R2B+20*, R42R2B+30 |
OCXDUZ( | R42R1B+24*, R42R2B+25* |
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 | R42R1B+11~, R42R2B+12~ |
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 | R42R1B+11~, R42R2B+12~ |
OCXLOGS | R42R1B+11~, R42R2B+12~ |
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 | R42R1B+11~, R42R1B+13*, R42R1B+28, R42R1B+29, R42R2B+12~, R42R2B+14*, R42R2B+29, R42R2B+30 |
OCXNOTF | NEWRULE~, NEWRULE+4 |
OCXNUM | R42R1B+11~, R42R1B+19*, R42R1B+22*, R42R1B+25*, R42R1B+26*, R42R1B+28, R42R1B+29, R42R2B+12~, R42R2B+20*, R42R2B+23* , R42R2B+26*, R42R2B+27*, R42R2B+29, R42R2B+30 |
>> OCXOERR | R42R1A+3, R42R1B+3, R42R1B+15, R42R2A+3, R42R2B+3, R42R2B+16, R44R1A+3 |
>> OCXOLOG | NEWRULE+45 |
OCXORD | R42R1B+24, R42R1B+25, R42R2B+25, R42R2B+26, MCE48+5, NEWRULE~, NEWRULE+5*, NEWRULE+13, NEWRULE+20, NEWRULE+26 |
>> OCXOSRC | R42R1B+20, R42R1B+23, R42R1B+26, R42R2B+21, R42R2B+24, R42R2B+27 |
OCXPORD | R42R1B+11~, R42R2B+12~ |
>> OCXPSD | R42R1B+26, R42R2B+27 |
OCXQUIT | R42R1B+11~, R42R2B+12~ |
OCXREL | NEWRULE~, NEWRULE+4, NEWRULE+33, NEWRULE+34, NEWRULE+36, NEWRULE+41, NEWRULE+47 |
OCXRES | MCE103+3~, MCE23+3~, MCE48+4~ |
OCXRES(103 | MCE103+4* |
OCXRES(23 | MCE23+4* |
OCXRES(48 | MCE48+5* |
OCXRUL | NEWRULE~, NEWRULE+3, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+27, NEWRULE+28, NEWRULE+30, NEWRULE+35, NEWRULE+38 , NEWRULE+47 |
>> OCXRULE("R42R1B" | R42R1B+9, R42R1B+27* |
>> OCXRULE("R42R2B" | R42R2B+10, R42R2B+28* |
OCXSEC | INT2DT+4~, INT2DT+5*, INT2DT+6*, INT2DT+21 |
OCXTIME | NEWRULE+7~, NEWRULE+9*, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+44 |
>> OCXTRACE | R42R1B+29, R42R2B+30 |
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 | R42R1B+24, R42R1B+25, R42R2B+25, R42R2B+26, GETDATA+3, INT2DT+14, INT2DT+15, INT2DT+16, NEWRULE+26, SETAP+2 , SETAP+3 |
VAL | GETDATA+2~*, GETDATA+3*, GETDATA+4 |