ORKLR2 ; slc/CLA - Order checking support proc for lab orders, part 2 ;May 17, 2019 17:00
Source file <ORKLR2.m>
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 | ORKCHK5 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ORFREQ(ORKLR,OI,ORDFN,NEWORDT,SPECIMEN) | ;lab order freq restrictions order check
|
|
MAXFREQ(ORM,EARLYDT) | ;check for maximum order frequency violation
|
|
MAXFREQ2(ORIFN,ODT,ORL) | ;second part of max order freq order check
|
|
DAILY(ORD) | ;check for daily order maximum violation
|
|
DAILY2(ORIFN,ODT,CNT,ORL) | ;second part of daily order max order check
|
|
FREQS(LRIEN,ORSPEC) | ;extrinsic funct returns max order freq and daily order max for a lab test
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LAB(60 - [#60] | MAXFREQ2+21, MAXFREQ2+33, DAILY2+19, DAILY2+29 |
^OR(100 - [#100] | MAXFREQ+11, MAXFREQ+12, MAXFREQ+14, DAILY+12, DAILY+13, DAILY+15 |
^ORD(100.98 - [#100.98] | MAXFREQ+4, DAILY+5 |
^ORD(101.43 - [#101.43] | ORFREQ+4, ORFREQ+28, MAXFREQ2+13, MAXFREQ2+24, DAILY2+13, DAILY2+22 |
^TMP("ORR" | MAXFREQ+5!, MAXFREQ+7, MAXFREQ+8, MAXFREQ+9, MAXFREQ+15!, DAILY+6!, DAILY+8, DAILY+9, DAILY+10, DAILY+16! |
Name | Line Occurrences |
---|---|
$$FREQS | ORFREQ+5, ORFREQ+30 |
DAILY | ORFREQ+49 |
DAILY2 | DAILY+14, DAILY+15 |
MAXFREQ | ORFREQ+48 |
MAXFREQ2 | MAXFREQ+13, MAXFREQ+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | DAILY+1~, DAILY+2*, DAILY+14, DAILY+15, DAILY2~ |
DAILY | ORFREQ+1~, ORFREQ+5*, ORFREQ+7, ORFREQ+29*, ORFREQ+30*, ORFREQ+32, DAILY2+1~, DAILY2+16*, DAILY2+18, DAILY2+26* , DAILY2+28 |
DAILYMAX | FREQS+1~, FREQS+2*, FREQS+14*, FREQS+15*, FREQS+16 |
DGIEN | MAXFREQ+1~, MAXFREQ+4*, MAXFREQ+6, DAILY+1~, DAILY+5*, DAILY+7 |
EARLYDT | ORFREQ+1~, ORFREQ+2*, ORFREQ+14*, ORFREQ+39*, ORFREQ+44, ORFREQ+47*, ORFREQ+48, MAXFREQ~, MAXFREQ+6 |
EXDT | MAXFREQ2+1~, DAILY2+1~ |
HOR | MAXFREQ+1~, MAXFREQ+2*, MAXFREQ+7*, MAXFREQ+8, MAXFREQ+9, DAILY+1~, DAILY+2*, DAILY+8*, DAILY+9, DAILY+10 |
INVDT | MAXFREQ2+1~, DAILY2+1~ |
LFREQS | ORFREQ+1~, ORFREQ+5*, ORFREQ+29*, ORFREQ+30* |
LRCNODE | FREQS+1~, FREQS+6* |
LRI | FREQS+1~, FREQS+5*, FREQS+6 |
LRID | ORFREQ+1~, ORFREQ+4*, ORFREQ+5, ORFREQ+7, ORFREQ+25, ORFREQ+28*, ORFREQ+30, ORFREQ+32, ORFREQ+40, MAXFREQ2+1~ , MAXFREQ2+14*, MAXFREQ2+15, MAXFREQ2+21, MAXFREQ2+26*, MAXFREQ2+27, MAXFREQ2+33, DAILY2+1~, DAILY2+15*, DAILY2+16, DAILY2+18 , DAILY2+19, DAILY2+25*, DAILY2+26, DAILY2+28, DAILY2+29 |
LRIDX | MAXFREQ2+1~, MAXFREQ2+13*, MAXFREQ2+14, MAXFREQ2+24*, MAXFREQ2+25, DAILY2+1~, DAILY2+13*, DAILY2+15, DAILY2+22*, DAILY2+23 |
LRIDXC | MAXFREQ2+1~, MAXFREQ2+25*, MAXFREQ2+26, DAILY2+1~, DAILY2+23*, DAILY2+25 |
LRIEN | FREQS~, FREQS+3 |
LRY | FREQS+1~, FREQS+3, FREQS+4 |
LRY("CollSamp" | FREQS+5, FREQS+6 |
MAX | ORFREQ+1~, ORFREQ+5*, ORFREQ+7, ORFREQ+8, ORFREQ+12*, ORFREQ+13, ORFREQ+29*, ORFREQ+30*, ORFREQ+32, ORFREQ+33 , ORFREQ+37*, ORFREQ+38 |
MAXDT | ORFREQ+1~, ORFREQ+13*, ORFREQ+14, ORFREQ+25, ORFREQ+38*, ORFREQ+39, ORFREQ+40, MAXFREQ2+1~, MAXFREQ2+15*, MAXFREQ2+20 , MAXFREQ2+27*, MAXFREQ2+32 |
MAXFREQ | FREQS+1~, FREQS+2*, FREQS+11*, FREQS+16 |
NEWORDAY | DAILY+1~, DAILY+4*, DAILY+7 |
NEWORDT | ORFREQ~, ORFREQ+2, ORFREQ+13, ORFREQ+38, ORFREQ+44, ORFREQ+45*, MAXFREQ+6, MAXFREQ2+20, MAXFREQ2+32, DAILY+4 |
ODT | MAXFREQ+1~, MAXFREQ+9*, MAXFREQ+13, MAXFREQ+14, MAXFREQ2~, MAXFREQ2+20, MAXFREQ2+32, DAILY+1~, DAILY+10*, DAILY+14 , DAILY+15, DAILY2~ |
OI | ORFREQ~, ORFREQ+4, ORFREQ+28 |
ORD | ORFREQ+1~, ORFREQ+49, DAILY~, DAILY+14, DAILY+15 |
ORD( | ORFREQ+7*, ORFREQ+32* |
ORDFN | ORFREQ~, MAXFREQ+6, DAILY+7 |
ORDIFF | ORFREQ+1~, ORFREQ+44*, ORFREQ+45 |
ORIFN | MAXFREQ+1~, MAXFREQ+9*, MAXFREQ+11, MAXFREQ+12, MAXFREQ+14, MAXFREQ2~, MAXFREQ2+2, MAXFREQ2+7, MAXFREQ2+10, MAXFREQ2+22 , MAXFREQ2+34, DAILY+1~, DAILY+10*, DAILY+12, DAILY+13, DAILY+15, DAILY2~, DAILY2+2, DAILY2+7, DAILY2+10 , DAILY2+20, DAILY2+30 |
ORIFNC | MAXFREQ+1~, MAXFREQ+12*, MAXFREQ+13, DAILY+1~, DAILY+13*, DAILY+14 |
ORKLR | ORFREQ~ |
ORKLR( | MAXFREQ2+22*, MAXFREQ2+34*, DAILY2+20*, DAILY2+30* |
ORKMSG | MAXFREQ2+1~, MAXFREQ2+21*, MAXFREQ2+22, MAXFREQ2+33*, MAXFREQ2+34, DAILY2+19*, DAILY2+20, DAILY2+29*, DAILY2+30 |
ORL | MAXFREQ2~, DAILY2~ |
ORL( | MAXFREQ2+14, MAXFREQ2+15, MAXFREQ2+26, MAXFREQ2+27, DAILY2+15, DAILY2+16*, DAILY2+18, DAILY2+25, DAILY2+26*, DAILY2+28 |
ORM | ORFREQ+1~, ORFREQ+41, ORFREQ+48, MAXFREQ~, MAXFREQ+13, MAXFREQ+14 |
ORM( | ORFREQ+25*, ORFREQ+40* |
OROI | MAXFREQ2+1~, MAXFREQ2+10*, MAXFREQ2+11, MAXFREQ2+13, MAXFREQ2+24, DAILY2+1~, DAILY2+10*, DAILY2+11, DAILY2+13, DAILY2+22 |
ORS | MAXFREQ2+1~, MAXFREQ2+2*, DAILY2+1~, DAILY2+2* |
ORSI | MAXFREQ2+1~, MAXFREQ2+2*, MAXFREQ2+4, DAILY2+1~, DAILY2+2*, DAILY2+4 |
ORSP | MAXFREQ2+1~, MAXFREQ2+7*, MAXFREQ2+8, MAXFREQ2+13, MAXFREQ2+25, DAILY2+1~, DAILY2+7*, DAILY2+8, DAILY2+13, DAILY2+23 |
ORSPEC | FREQS~, FREQS+8 |
SEQ | MAXFREQ+1~, MAXFREQ+2*, MAXFREQ+8*, MAXFREQ+9, DAILY+1~, DAILY+2*, DAILY+9*, DAILY+10 |
SPEC | FREQS+1~, FREQS+6*, FREQS+8 |
SPECIMEN | ORFREQ~, ORFREQ+5, ORFREQ+7, ORFREQ+25, ORFREQ+30, ORFREQ+32, ORFREQ+40 |
U | ORFREQ+4, ORFREQ+5, ORFREQ+30, MAXFREQ+9, MAXFREQ2+2, MAXFREQ2+13, MAXFREQ2+21, MAXFREQ2+22, MAXFREQ2+33, MAXFREQ2+34 , DAILY+10, DAILY2+2, DAILY2+13, DAILY2+16, DAILY2+18, DAILY2+19, DAILY2+20, DAILY2+26, DAILY2+28, DAILY2+29 , DAILY2+30, FREQS+6, FREQS+16 |
X | ORFREQ+1~, ORFREQ+13, ORFREQ+38, MAXFREQ+1~, MAXFREQ+9*, DAILY+1~, DAILY+10*, FREQS+1~, FREQS+6*, FREQS+11 |
X1 | ORFREQ+1~, ORFREQ+13*, ORFREQ+38* |
X2 | ORFREQ+1~, ORFREQ+13*, ORFREQ+38* |
Y | FREQS+1~, FREQS+6*, FREQS+13, FREQS+14, FREQS+15 |