OCXOZ0J ;SLC/RJS,CLA - Order Check Scan ;JAN 28,2014 at 03:37
Source file <OCXOZ0J.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 2 | R5R1B^OCXOZ0K EN^ORB3 |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 2 | OCXOZ0G OCXOZ0I |
Name | Comments | DBIA/ICR reference |
---|---|---|
NEWRULE(OCXDFN,OCXORD,OCXRUL,OCXREL,OCXNOTF,OCXMESS) | ; Has this rule already been triggered for this order number
|
|
R5R1A | ; Verify all Event/Elements of Rule #5 'ORDER FLAGGED FOR CLARIFICATION' Relation #1 'ORDER FLAGGED'
; Called from EL44+5^OCXOZ0G. |
|
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 |
|
MCE44() | ; Verify Event/Element: ORDER FLAGGED
|
|
R3R2B | ; Send Order Check, Notication messages and/or Execute code for Rule #3 'CRITICAL LAB RESULTS' Relation #2 'CRITICAL LAB ORDER'
; Called from R3R2A+10. |
|
CKSUM(STR) | ; Compiler Function: GENERATE STRING CHECKSUM
|
|
R3R2A | ; Verify all Event/Elements of Rule #3 'CRITICAL LAB RESULTS' Relation #2 'CRITICAL LAB ORDER'
; Called from EL105+5^OCXOZ0G. |
|
R3R1B | ; Send Order Check, Notication messages and/or Execute code for Rule #3 'CRITICAL LAB RESULTS' Relation #1 'CRITICAL LAB TEST'
; Called from R3R1A+10^OCXOZ0I. |
|
GETDATA(DFN,OCXL,OCXDFI) | ; This Local Extrinsic Function returns runtime data
|
|
MCE105() | ; Verify Event/Element: HL7 LAB ORDER RESULTS CRITICAL
|
|
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] | R3R2A+8, R5R1A+8, NEWRULE+38 |
^TMP("OCXCHK" | GETDATA+3, MCE105+5, MCE44+6, NEWRULE+50, NEWRULE+55 |
^TMP("OCXSWAP" | R3R1B+22, R3R2B+21 |
Name | Line Occurrences |
---|---|
$$CKSUM | NEWRULE+10 |
$$GETDATA | R3R1B+14, R3R2B+13 |
$$INT2DT | R3R1B+14 |
$$MCE105 | R3R2A+10 |
$$MCE44 | R5R1A+10 |
$$NEWRULE | R3R1B+29, R3R2B+28 |
R3R2B | R3R2A+10 |
SETAP | NEWRULE+23, NEWRULE+30, NEWRULE+36, NEWRULE+48, NEWRULE+57 |
>> | 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 | R3R1B+14, R3R1B+29, R3R1B+30, R3R2B+13, R3R2B+28, R3R2B+29, GETDATA~, GETDATA+3 |
>> OCXAP | INT2DT+5*, INT2DT+18*, INT2DT+21 |
OCXCKSUM | NEWRULE+7~, NEWRULE+10*, NEWRULE+13, NEWRULE+20 |
OCXCMSG | R3R1B+12~, R3R1B+13*, R3R2B+11~, R3R2B+12* |
>> OCXCNT | INT2DT+12*, INT2DT+13*, INT2DT+14, INT2DT+15 |
OCXCYR | INT2DT+4~, INT2DT+9*, INT2DT+20 |
OCXDATA | R3R1B+12~, R3R1B+20*, R3R1B+22*, R3R1B+23*, R3R1B+30, R3R2B+11~, R3R2B+19*, R3R2B+21*, R3R2B+22*, R3R2B+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 | MCE105+4, MCE105+5, MCE44+5*, MCE44+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 | R3R1B+12~, R3R1B+20*, R3R1B+30, R3R2B+11~, R3R2B+19*, R3R2B+29 |
OCXDUZ( | R3R1B+25*, R3R2B+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 | R3R1B+12~, R3R2B+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 | R3R1B+12~, R3R2B+11~ |
OCXLOGS | R3R1B+12~, R3R2B+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 | R3R1B+12~, R3R1B+14*, R3R1B+29, R3R1B+30, R3R2B+11~, R3R2B+13*, R3R2B+28, R3R2B+29 |
OCXNOTF | NEWRULE~, NEWRULE+4 |
OCXNUM | R3R1B+12~, R3R1B+20*, R3R1B+23*, R3R1B+26*, R3R1B+27*, R3R1B+29, R3R1B+30, R3R2B+11~, R3R2B+19*, R3R2B+22* , R3R2B+25*, R3R2B+26*, R3R2B+28, R3R2B+29 |
>> OCXOERR | R3R1B+3, R3R1B+16, R3R2A+3, R3R2B+3, R3R2B+15, R5R1A+3 |
>> OCXOLOG | NEWRULE+45 |
OCXORD | R3R1B+25, R3R1B+26, R3R2B+24, R3R2B+25, MCE44+5, NEWRULE~, NEWRULE+5*, NEWRULE+13, NEWRULE+20, NEWRULE+26 |
>> OCXOSRC | R3R1B+21, R3R1B+24, R3R1B+27, R3R2B+20, R3R2B+23, R3R2B+26 |
OCXPORD | R3R1B+12~, R3R2B+11~ |
>> OCXPSD | R3R1B+27, R3R2B+26 |
OCXQUIT | R3R1B+12~, R3R2B+11~ |
OCXREL | NEWRULE~, NEWRULE+4, NEWRULE+33, NEWRULE+34, NEWRULE+36, NEWRULE+41, NEWRULE+47 |
OCXRES | MCE105+3~, MCE44+4~ |
OCXRES(105 | MCE105+4* |
OCXRES(44 | MCE44+5* |
OCXRUL | NEWRULE~, NEWRULE+3, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+27, NEWRULE+28, NEWRULE+30, NEWRULE+35, NEWRULE+38 , NEWRULE+47 |
>> OCXRULE("R3R1B" | R3R1B+10, R3R1B+28* |
>> OCXRULE("R3R2B" | R3R2B+9, R3R2B+27* |
OCXSEC | INT2DT+4~, INT2DT+5*, INT2DT+6*, INT2DT+21 |
OCXTIME | NEWRULE+7~, NEWRULE+9*, NEWRULE+13, NEWRULE+20, NEWRULE+26, NEWRULE+44 |
>> OCXTRACE | R3R1B+30, R3R2B+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 | R3R1B+25, R3R1B+26, R3R2B+24, R3R2B+25, GETDATA+3, INT2DT+14, INT2DT+15, INT2DT+16, NEWRULE+26, SETAP+2 , SETAP+3 |
VAL | GETDATA+2~*, GETDATA+3*, GETDATA+4 |