ORKCHK5 ;SLC/CLA - SUPPORT ROUTINE FOR ACCEPT MODE ORDER CHECKS ;Aug 09, 2021@10:50:14
Source file <ORKCHK5.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 6 | ($$DSDWNMSG,EN)^ORDSGCHK MLM^ORKCHK2 DUP^ORKLR ORFREQ^ORKLR2 DUP^ORKOR $$PAD^ORUTL |
Kernel | 4 | $$CRC16^XLFCRC $$NOW^XLFDT $$UP^XLFSTR $$PATCH^XPDUTL |
Pharmacy Data Management | 2 | $$DS^PSSDSAPI DRG^PSSUTIL1 |
Adverse Reaction Tracking | 1 | $$ORCHK2^GMRAOR |
Clinical Reminders | 1 | ORDERCHK^PXRMORCH |
Toolkit | 1 | $$GET^XPAR |
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 | 3 | ORKCHK ORKCHK6 ORUTL3 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(ORKS,ORKDFN,ORKA,ORENT,ORKTMODE,OROIL,ORDODSG) | ;perform order checking for orderable item acceptance
|
|
PHARM | ;process pharmacy order checks:
|
|
RXOCS | ;drug-allergy interaction
|
|
OI2DD(ORPSA,OROI,ORPSPKG) | ||
DUPOR | ;duplicate orders for non-pharmacy and non-lab:
|
|
DUPLAB | ;duplicate laboratory orders:
|
|
LABFREQ | ;lab order frequency restrictions:
|
|
PARAMS(ORKNAME,ORKNUM,ORKFLAG,ORKDNGR) | ; get parameter values for an order chk
|
|
REMCHK(ORRET,OROI,ORDFN) | ; DO REMINDER ORDER CHECKS
|
|
DSGCHK(ORRET,ORDFN,OROIL,ORKA) | ;DO DOSAGE ORDER CHECKS
|
Name | Field # of Occurrence |
---|---|
$$ORCHK2^GMRAOR | RXOCS+3 |
$$DSDWNMSG^ORDSGCHK | DSGCHK+7 |
EN^ORDSGCHK | DSGCHK+10 |
MLM^ORKCHK2 | EN+20, PHARM+9, PHARM+25 |
DUP^ORKLR | DUPLAB+7 |
ORFREQ^ORKLR2 | LABFREQ+7 |
DUP^ORKOR | DUPOR+5 |
$$PAD^ORUTL | DSGCHK+14 |
$$DS^PSSDSAPI | DSGCHK+6 |
DRG^PSSUTIL1 | OI2DD+5 |
ORDERCHK^PXRMORCH | REMCHK+7, REMCHK+18 |
$$CRC16^XLFCRC | RXOCS+48 |
$$NOW^XLFDT | EN+13 |
$$UP^XLFSTR | RXOCS+58, RXOCS+61 |
$$GET^XPAR | EN+4, DUPOR+3, DUPOR+7, DUPLAB+5, DUPLAB+6, LABFREQ+5, LABFREQ+6, PARAMS+2, PARAMS+3 |
$$PATCH^XPDUTL | DSGCHK+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ORD(100.8 - [#100.8] | DUPOR+1, DUPLAB+3, LABFREQ+3, PARAMS+1 |
^ORD(101.43 - [#101.43] | OI2DD+2, OI2DD+3 |
^TMP("OROCIDATA" | RXOCS+52!, RXOCS+53*, RXOCS+54*, RXOCS+55*, RXOCS+56*, RXOCS+57*, RXOCS+58*, RXOCS+59*, RXOCS+60*, RXOCS+61* , RXOCS+62*, RXOCS+64*, RXOCS+66* |
^TMP($J | REMCHK+8, REMCHK+9, REMCHK+10, REMCHK+12*, REMCHK+13!, REMCHK+19, REMCHK+20, REMCHK+21, REMCHK+23*, REMCHK+24! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
COUNT | RXOCS+5~, RXOCS+37*, RXOCS+39, RXOCS+44* |
COUNT("TOTAL" | RXOCS+37*, RXOCS+39 |
CRC16 | RXOCS+2~, RXOCS+48*, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56, RXOCS+57, RXOCS+58, RXOCS+59 , RXOCS+60, RXOCS+61, RXOCS+62, RXOCS+64, RXOCS+66 |
DATA | RXOCS+2~, RXOCS+4 |
DATA( | RXOCS+6, RXOCS+8, RXOCS+10, RXOCS+12, RXOCS+20, RXOCS+22, RXOCS+23, RXOCS+24, RXOCS+34, RXOCS+37 , RXOCS+38, RXOCS+40, RXOCS+42, RXOCS+49, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56, RXOCS+57, RXOCS+58 , RXOCS+60, RXOCS+61, RXOCS+62, RXOCS+64, RXOCS+65, RXOCS+66, RXOCS+67 |
DELIMIT | RXOCS+2~, RXOCS+21*, RXOCS+23*, RXOCS+24, RXOCS+28*, RXOCS+30*, RXOCS+31, RXOCS+37*, RXOCS+39*, RXOCS+40 |
DNGR | EN+7~, DUPOR+7*, DUPOR+9, DUPLAB+6*, DUPLAB+11, LABFREQ+6*, LABFREQ+10 |
FCOUNT | RXOCS+2~, RXOCS+6*, RXOCS+63*, RXOCS+66* |
GMRALLER | RXOCS+5~, RXOCS+6*, RXOCS+14*, RXOCS+15, RXOCS+17 |
HL7 | EN+6~, EN+9*, EN+11, EN+12, PHARM+21*, PHARM+22*, PHARM+23 |
HL7LCOD | EN+6~, EN+12*, PHARM+7, PHARM+20*, PHARM+22 |
HL7LPTR | EN+6~, EN+12*, PHARM+7, PHARM+12, PHARM+19*, PHARM+22, RXOCS+3 |
HL7LTXT | EN+6~, EN+12*, PHARM+17*, PHARM+22 |
HL7NCOD | EN+6~, EN+11*, PHARM+20*, PHARM+21 |
HL7NPTR | EN+6~, EN+11*, PHARM+18*, PHARM+21, RXOCS+3 |
HL7NTXT | EN+6~, EN+11* |
ITEMS | RXOCS+5~ |
ITM | RXOCS+5~, RXOCS+11*, RXOCS+22*, RXOCS+23, RXOCS+24, RXOCS+29*, RXOCS+30, RXOCS+31, RXOCS+38*, RXOCS+40 , RXOCS+42, RXOCS+49*, RXOCS+50, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56, RXOCS+57, RXOCS+58, RXOCS+60 , RXOCS+61, RXOCS+62, RXOCS+64, RXOCS+65, RXOCS+66, RXOCS+67 |
ITM(1 | RXOCS+62*, RXOCS+63, RXOCS+65*, RXOCS+66 |
J | RXOCS+2~, RXOCS+4*, RXOCS+6, RXOCS+8, RXOCS+10, RXOCS+12, RXOCS+20, RXOCS+22, RXOCS+23, RXOCS+24 , RXOCS+34, RXOCS+37, RXOCS+38, RXOCS+40, RXOCS+42, RXOCS+49, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56 , RXOCS+57, RXOCS+58, RXOCS+60, RXOCS+61, RXOCS+62, RXOCS+64, RXOCS+65, RXOCS+66, RXOCS+67 |
K | RXOCS+5~, RXOCS+8*, RXOCS+9, RXOCS+10 |
MECH | RXOCS+5~, RXOCS+10*, RXOCS+12 |
NODE | RXOCS+5~, RXOCS+20*, RXOCS+22, RXOCS+23, RXOCS+24, RXOCS+25, RXOCS+26, RXOCS+65*, RXOCS+66 |
NUM | RXOCS+2~, RXOCS+48*, RXOCS+51*, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56, RXOCS+57, RXOCS+58 , RXOCS+59, RXOCS+60, RXOCS+61, RXOCS+62, RXOCS+66 |
OCI | DUPLAB+1~, DUPLAB+2*, DUPLAB+8*, DUPLAB+9, DUPLAB+10, LABFREQ+1~, LABFREQ+2*, LABFREQ+8*, LABFREQ+9 |
OCN | EN+7~, DUPOR+1*, DUPOR+2, DUPOR+3, DUPOR+7, DUPOR+9, DUPLAB+3*, DUPLAB+4, DUPLAB+5, DUPLAB+6 , DUPLAB+11, LABFREQ+3*, LABFREQ+4, LABFREQ+5, LABFREQ+6, LABFREQ+10 |
ODT | EN+6~, EN+10*, EN+13*, EN+16, EN+17, DUPOR+5, DUPLAB+7, LABFREQ+7 |
OI | EN+6~, EN+9*, EN+16, EN+17, EN+21, PHARM+15, DUPOR+5, DUPLAB+7, LABFREQ+7 |
ORALLRD | PHARM+2~, PHARM+3, RXOCS+46, RXOCS+69 |
ORALLRF | PHARM+2~, PHARM+3, RXOCS+1 |
ORALLRN | PHARM+2~, PHARM+3, RXOCS+46, RXOCS+69 |
ORCDL | REMCHK+9~*, REMCHK+10, REMCHK+11, REMCHK+12, REMCHK+20~*, REMCHK+21, REMCHK+22, REMCHK+23 |
ORDFN | REMCHK~, REMCHK+7, REMCHK+18, DSGCHK~, DSGCHK+10 |
ORDODSG | EN~, PHARM+5 |
ORDWNMSG | DSGCHK+7~*, DSGCHK+8 |
ORENT | EN~, EN+20, PHARM+9, PHARM+25, DUPOR+3, DUPLAB+5, LABFREQ+5, PARAMS+2 |
ORI | DSGCHK+3~, DSGCHK+11~*, DSGCHK+12, DSGCHK+13, DSGCHK+14, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
ORIPAD | DSGCHK+14~*, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
ORKA | EN~, EN+9, EN+10, EN+20, PHARM+5, PHARM+9, PHARM+23*, PHARM+25, DSGCHK~, DSGCHK+9 |
ORKDD | PHARM+1~, PHARM+16*, PHARM+17, PHARM+18, PHARM+19 |
ORKDFN | EN~, EN+20, EN+21, PHARM+5, PHARM+9, PHARM+25, RXOCS+3, DUPOR+5, DUPLAB+7, LABFREQ+7 |
ORKDG | EN+6~, EN+9*, EN+13, EN+15, EN+16, EN+17, EN+20, PHARM+8, PHARM+9, PHARM+13 , PHARM+24, PHARM+25, DUPOR+5 |
ORKDNGR | PARAMS~, PARAMS+3*, REMCHK+4~, REMCHK+5, REMCHK+9*, REMCHK+15!, REMCHK+16, REMCHK+20*, DSGCHK+3~, DSGCHK+4 , DSGCHK+8, DSGCHK+12, DSGCHK+13, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
ORKFLAG | PARAMS~, PARAMS+2*, REMCHK+4~, REMCHK+5, REMCHK+6, REMCHK+15!, REMCHK+16, REMCHK+17, DSGCHK+3~, DSGCHK+4 , DSGCHK+5 |
ORKGLOB | REMCHK+2~*, REMCHK+11, REMCHK+12, REMCHK+22, REMCHK+23 |
ORKLR | DUPLAB+1~, DUPLAB+2*, DUPLAB+7, LABFREQ+1~, LABFREQ+2*, LABFREQ+7 |
ORKLR( | DUPLAB+8, DUPLAB+9, DUPLAB+10, LABFREQ+8, LABFREQ+9 |
>> ORKMODE | EN+21, PHARM+8, PHARM+9, PHARM+24, PHARM+25 |
ORKMSG | EN+7~, RXOCS+12*, RXOCS+15*, RXOCS+17*, RXOCS+18*, RXOCS+32*, RXOCS+34*, RXOCS+45*, RXOCS+46, RXOCS+48 , RXOCS+69, DUPOR+8*, DUPOR+9, DUPLAB+10*, DUPLAB+11, LABFREQ+9*, LABFREQ+10 |
ORKNAME | PARAMS~, PARAMS+1 |
ORKNUM | PARAMS~, PARAMS+1*, PARAMS+2, PARAMS+3, REMCHK+4~, REMCHK+5, REMCHK+11, REMCHK+15!, REMCHK+16, REMCHK+22 , DSGCHK+3~, DSGCHK+4, DSGCHK+13, DSGCHK+16, DSGCHK+17 |
ORKOCNUM | EN+7~, DUPOR+6*, DUPOR+9, DUPLAB+9*, DUPLAB+11 |
ORKOR | DUPOR+4~*, DUPOR+5, DUPOR+6, DUPOR+8 |
ORKPDATA | EN+7~, EN+10*, DUPLAB+7, LABFREQ+7 |
ORKS | EN~, EN+20, EN+21, PHARM+5, PHARM+9, PHARM+25 |
ORKS("ORK" | RXOCS+46*, RXOCS+69*, DUPOR+9*, DUPLAB+11*, LABFREQ+10* |
ORKTMODE | EN~, EN+16, EN+17 |
ORNUM | EN+6~, EN+10*, RXOCS+46, RXOCS+69, DUPOR+9, DUPLAB+11, LABFREQ+10, REMCHK+11, REMCHK+22, DSGCHK+8 , DSGCHK+12, DSGCHK+13, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
OROI | OI2DD~, OI2DD+2, OI2DD+3, REMCHK~, REMCHK+7, REMCHK+8, REMCHK+9, REMCHK+10, REMCHK+12, REMCHK+13 , REMCHK+18, REMCHK+19, REMCHK+20, REMCHK+21, REMCHK+23, REMCHK+24 |
OROIL | EN~, PHARM+5, DSGCHK~, DSGCHK+10 |
ORPSA | PHARM+1~, PHARM+15, OI2DD~, OI2DD+5 |
ORPSA( | PHARM+16, PHARM+17 |
ORPSPKG | PHARM+1~, PHARM+13*, PHARM+14*, PHARM+15, OI2DD~, OI2DD+5 |
ORREMLST | RXOCS+5~, RXOCS+6*, RXOCS+67*, RXOCS+69 |
ORREMOTE | RXOCS+5~, RXOCS+6*, RXOCS+43*, RXOCS+69 |
ORRET | REMCHK~, DSGCHK~ |
ORRET("ORK" | REMCHK+11*, REMCHK+22*, DSGCHK+8*, DSGCHK+12*, DSGCHK+13*, DSGCHK+15*, DSGCHK+16*, DSGCHK+17* |
ORRULE | REMCHK+10~*, REMCHK+11, REMCHK+12, REMCHK+21~*, REMCHK+22, REMCHK+23 |
ORTYPE | DSGCHK+3~, DSGCHK+9*, DSGCHK+10 |
ORY | DSGCHK+3~, DSGCHK+10 |
ORY( | DSGCHK+11, DSGCHK+12, DSGCHK+13, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
PSOI | OI2DD+1~, OI2DD+3*, OI2DD+4, OI2DD+5 |
REACTANT | RXOCS+5~, RXOCS+6*, RXOCS+14, RXOCS+17 |
SEVERE | RXOCS+5~, RXOCS+10*, RXOCS+11 |
SEVERE("MSG" | RXOCS+11*, RXOCS+12, RXOCS+59 |
SIGN | RXOCS+5~ |
SITE | RXOCS+5~, RXOCS+10*, RXOCS+12 |
TEXT | RXOCS+5~, RXOCS+21*, RXOCS+24*, RXOCS+26, RXOCS+27, RXOCS+28*, RXOCS+31*, RXOCS+32, RXOCS+36!, RXOCS+40* , RXOCS+45 |
TEXT("OUT" | RXOCS+27*, RXOCS+29, RXOCS+30, RXOCS+31 |
TEXT(1 | RXOCS+25*, RXOCS+26*, RXOCS+27 |
U | EN+11, EN+12, PHARM+21, PHARM+22, RXOCS+6, RXOCS+10, RXOCS+12, RXOCS+34, RXOCS+40, RXOCS+42 , RXOCS+46, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56, RXOCS+57, RXOCS+58, RXOCS+60, RXOCS+61, RXOCS+62 , RXOCS+64, RXOCS+67, RXOCS+69, OI2DD+3, DUPOR+6, DUPOR+8, DUPOR+9, DUPLAB+9, DUPLAB+10, DUPLAB+11 , LABFREQ+9, LABFREQ+10, REMCHK+11, REMCHK+22, DSGCHK+8, DSGCHK+12, DSGCHK+13, DSGCHK+15, DSGCHK+16, DSGCHK+17 |
>> XQY0 | DSGCHK+2 |