Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORKCHK5

Package: Order Entry Results Reporting

Routine: ORKCHK5


Information

ORKCHK5 ;SLC/CLA - SUPPORT ROUTINE FOR ACCEPT MODE ORDER CHECKS ;Feb 11, 2020@13:17:55

Source Information

Source file <ORKCHK5.m>

Call Graph

Call Graph

Call Graph Total: 15

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  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Order Entry Results Reporting 3 ORKCHK  ORKCHK6  ORUTL3  

Entry Points

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

External References

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+12
$$DS^PSSDSAPI DSGCHK+6
DRG^PSSUTIL1 OI2DD+5
ORDERCHK^PXRMORCH REMCHK+7, REMCHK+18
$$CRC16^XLFCRC RXOCS+45
$$NOW^XLFDT EN+13
$$UP^XLFSTR RXOCS+55
$$GET^XPAR EN+4, DUPOR+3, DUPOR+7, DUPLAB+5, DUPLAB+6, LABFREQ+5, LABFREQ+6, PARAMS+2, PARAMS+3
$$PATCH^XPDUTL DSGCHK+1

Global Variables Directly Accessed

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+49!, RXOCS+50*, RXOCS+51*, RXOCS+52*, RXOCS+53*, RXOCS+54*, RXOCS+55*, RXOCS+56*, RXOCS+57*, RXOCS+59*
RXOCS+61*
^TMP($J REMCHK+8, REMCHK+9, REMCHK+10, REMCHK+12*, REMCHK+13!, REMCHK+19, REMCHK+20, REMCHK+21, REMCHK+23*, REMCHK+24!

Label References

Name Line Occurrences
DSGCHK PHARM+5
DUPLAB EN+18
DUPOR EN+16
LABFREQ EN+19
OI2DD PHARM+15
PARAMS PHARM+3, REMCHK+5, REMCHK+16, DSGCHK+4
PHARM EN+15
REMCHK EN+21
RXOCS PHARM+8, PHARM+24

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
COUNT RXOCS+5~, RXOCS+37*, RXOCS+39, RXOCS+41*
COUNT("TOTAL" RXOCS+37*, RXOCS+39
CRC16 RXOCS+2~, RXOCS+45*, RXOCS+49, RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+56
RXOCS+57, RXOCS+59, RXOCS+61
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+46, RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+57
RXOCS+59, RXOCS+60, RXOCS+61
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+58*, RXOCS+61*
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+46*, RXOCS+47, RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+57, RXOCS+59
RXOCS+60, RXOCS+61
ITM(1 RXOCS+57*, RXOCS+58, RXOCS+60*, RXOCS+61
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+46, RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54
RXOCS+55, RXOCS+57, RXOCS+59, RXOCS+60, RXOCS+61
K RXOCS+5~, RXOCS+8*, RXOCS+9, RXOCS+10
NODE RXOCS+5~, RXOCS+20*, RXOCS+22, RXOCS+23, RXOCS+24, RXOCS+25, RXOCS+26, RXOCS+60*, RXOCS+61
NUM RXOCS+2~, RXOCS+45*, RXOCS+48*, RXOCS+49, RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55
RXOCS+56, RXOCS+57, RXOCS+61
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+43
ORALLRF PHARM+2~, PHARM+3, RXOCS+1
ORALLRN PHARM+2~, PHARM+3, RXOCS+43
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
ORIPAD DSGCHK+12~*, DSGCHK+13, DSGCHK+14, DSGCHK+15
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+13, 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+13, DSGCHK+14, DSGCHK+15
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+42*, RXOCS+43, RXOCS+45
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+14, DSGCHK+15
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+43*, DUPOR+9*, DUPLAB+11*, LABFREQ+10*
ORKTMODE EN~, EN+16, EN+17
ORNUM EN+6~, EN+10*, RXOCS+43, DUPOR+9, DUPLAB+11, LABFREQ+10, REMCHK+11, REMCHK+22, DSGCHK+8, DSGCHK+13
, DSGCHK+14, DSGCHK+15
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
ORRET REMCHK~, DSGCHK~
ORRET("ORK" REMCHK+11*, REMCHK+22*, DSGCHK+8*, DSGCHK+13*, DSGCHK+14*, DSGCHK+15*
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+13, DSGCHK+14, DSGCHK+15
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+56
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+42
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+43
RXOCS+50, RXOCS+51, RXOCS+52, RXOCS+53, RXOCS+54, RXOCS+55, RXOCS+57, RXOCS+59, 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+13, DSGCHK+14, DSGCHK+15
>> XQY0 DSGCHK+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All