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: ORKPS1

Package: Order Entry Results Reporting

Routine: ORKPS1


Information

ORKPS1 ; SLC/CLA - Order checking support procedures for medications ;03/21/18 06:21

Source Information

Source file <ORKPS1.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Order Entry Results Reporting 3 IMOOD^ORIMO  $$UPPER^ORU  $$UPPER^ORWDPS32  
Inpatient Medications 1 PSJ^PSJ53P1  
Outpatient Pharmacy 1 RX^PSO52API  
Pharmacy Data Management 1 (PSS431,PSS436)^PSS55  
Registration 1 ADM^VADPT2  

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: 1

Package Total Caller Graph
Order Entry Results Reporting 1 ORKPS  

Entry Points

Name Comments DBIA/ICR reference
PROCESS(OI,DFN,ORKDG,ORPROSP,ORGLOBL) ;process data from pharmacy order check API
DI(TDATA) ;add drug interaction checks
DD(TDATA,ORDPROSP) ;add duplicate drug checks
DT(TDATA) ;add duplicate therapy checks
PHSTAT(DFN,ORNUM) ;get the status of the order
ISCLIN(ORNUM) ;check if the order number is a clinic order
PATTYPE(DFN) ;return if patient is Inpatient "I" or Outpatient "O"

External References

Name Field # of Occurrence
IMOOD^ORIMO ISCLIN+2
$$UPPER^ORU DI+32
$$UPPER^ORWDPS32 PROCESS+20
PSJ^PSJ53P1 PHSTAT+28
RX^PSO52API PHSTAT+11
PSS431^PSS55 PHSTAT+22
PSS436^PSS55 PHSTAT+25
ADM^VADPT2 PATTYPE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] DD+17, DD+19, DD+20, DD+21, DT+16, DT+26
^ORD(100.01 - [#100.01] DD+21
^ORD(100.98 - [#100.98] DT+17
^TMP($J PROCESS+3, PROCESS+6, PROCESS+7, PROCESS+9, PROCESS+10, PROCESS+11, PROCESS+12, PROCESS+13, PROCESS+14, PROCESS+17
, PROCESS+18, PROCESS+19, PROCESS+20, PROCESS+25, PROCESS+26, PROCESS+27, PROCESS+31, PROCESS+32, DI+2, DI+25*
, DI+26, DI+27*, DI+29*, DI+42*, DD+5, DD+7, DD+8, DD+10, DD+11, DD+23*
, DT+2, PHSTAT+11!, PHSTAT+12, PHSTAT+13!, PHSTAT+22!, PHSTAT+23, PHSTAT+25!, PHSTAT+26, PHSTAT+28!, PHSTAT+29
, PHSTAT+32

Label References

Name Line Occurrences
$$ISCLIN PROCESS+40
$$PATTYPE PROCESS+44, PROCESS+47
$$PHSTAT DI+11, DI+18, DT+33
DD PROCESS+49
DI PROCESS+51
DT PROCESS+52

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT DI+7~
DFN PROCESS~, PROCESS+44, PROCESS+47, DI+11, DI+18, DT+33, PHSTAT~, PHSTAT+11, PHSTAT+12, PHSTAT+22
, PHSTAT+25, PATTYPE~
GL PROCESS+4~, DI+1~, DI+2*, DI+3, DI+4, DI+5, DI+6, DI+14, DI+17, DI+18
, DI+22, DI+24, DI+27, DI+28, DI+29, DI+32, DI+35, DT+1~, DT+2*, DT+3
, DT+5, DT+7, DT+9, DT+11, DT+14, DT+22, DT+26, DT+28, DT+30, DT+32
, DT+33, DT+39, DT+40
I PROCESS+4~, PROCESS+25*, PROCESS+26, PROCESS+27, PROCESS+28, PROCESS+31*, PROCESS+32, PROCESS+33, DT+1~, DT+3*
, DT+5, DT+7, DT+9, DT+11, DT+14, DT+22, DT+26, DT+28, DT+30, DT+32
, DT+33, DT+39, DT+40, PHSTAT+1~
II PROCESS+4~, PROCESS+5*, PROCESS+7, PROCESS+8*, PROCESS+13, PROCESS+14, PROCESS+15*, PROCESS+20, PROCESS+21*, DI+39
, DI+40, DI+42, DI+43, DI+44*, DD+22*, DT+43*
J PROCESS+4~, DI+3*, DI+4, DI+5, DI+6, DI+14, DI+17, DI+18, DI+22, DI+24
, DI+27, DI+28, DI+29, DI+30, DI+32, DI+35, DT+4~, DT+5*, DT+7, DT+9
, DT+11, DT+14, DT+22, DT+26, DT+28, DT+30, DT+32, DT+33, DT+39*, DT+40
, PHSTAT+1~
K PROCESS+4~, DI+4*, DI+5, DI+6, DI+14, DI+15, DI+17, DI+18, DI+22, DI+24
, DI+27, DI+28, DI+29, DI+30, DI+32, DI+34, DI+35
L PROCESS+4~, DI+5*, DI+6, DI+9, DI+14, DI+15, DI+16, DI+17, DI+18, DI+22
, DI+24, DI+27, DI+28, DI+29, DI+32, DI+35
M PROCESS+4~, DI+6*, DI+14, DI+17, DI+18, DI+22, DI+24, DI+27, DI+28, DI+29
, DI+32, DI+35
OI PROCESS~
ORCLASS DT+4~*, DT+40*, DT+42, DT+43
ORDNAME DI+7~, DI+34*, DI+35
ORDPROSP DD~, DD+14, DD+18
ORDRUG DI+1~, DI+38*, DI+39, DI+40, DI+41, DI+43
ORDRUGS DT+4~*, DT+33*, DT+35, DT+42
ORDTYPE DT+11~*, DT+13
ORGLOBL PROCESS~, PROCESS+6, PROCESS+7, PROCESS+9, PROCESS+10, PROCESS+11, PROCESS+12, PROCESS+13, PROCESS+14, PROCESS+17
, PROCESS+18, PROCESS+19, PROCESS+20, PROCESS+25, PROCESS+26, PROCESS+27, PROCESS+31, PROCESS+32, DI+2, DD+8
, DD+10, DD+11, DT+2, PHSTAT+32
ORIDX DI+7~, DI+28*, DI+29
ORIEN DI+1~, DI+41*, DI+42
>> ORIFN PROCESS+12, PROCESS+26, PROCESS+39, PROCESS+40, PROCESS+42, DD+16, DD+17, DT+26, DT+28
ORKDG PROCESS~, PROCESS+35, PROCESS+37, DT+17~*, DT+18
ORKDGIEN DT+16~*, DT+17
ORLAST PHSTAT+6~, PHSTAT+7*, PHSTAT+8*, PHSTAT+9, PHSTAT+10, PHSTAT+15~, PHSTAT+16*, PHSTAT+17*, PHSTAT+18, PHSTAT+19
, PHSTAT+21, PHSTAT+24, PHSTAT+27
ORLINE DI+7~, DI+28*, DI+29*
ORMON DI+7~, DI+26*, DI+27, DI+29, DI+30
ORMTYPE PROCESS+4~, DD+7*, DD+14
ORN PROCESS+4~, DD+15*, DD+16, DD+17, DD+19, DD+20, DD+21
ORNUM DI+7~, DI+9*, DI+11, DI+22, DI+30, DI+35, DT+4~, DT+32*, DT+33, DT+43
, PHSTAT~, PHSTAT+3, PHSTAT+4, PHSTAT+5, PHSTAT+7, PHSTAT+8, PHSTAT+11, PHSTAT+12, PHSTAT+14, PHSTAT+16
, PHSTAT+17, PHSTAT+20, PHSTAT+30, PHSTAT+31, PHSTAT+32, ISCLIN~, ISCLIN+2
ORPHNUM PHSTAT+15~, PHSTAT+20*, PHSTAT+22, PHSTAT+23, PHSTAT+25, PHSTAT+26, PHSTAT+28, PHSTAT+29
ORPROSIN DT+4~*, DT+22*, DT+37
ORPROSP PROCESS~, PROCESS+22, PROCESS+26, PROCESS+31, PROCESS+49, DD+18
ORPTYPE DT+7~*, DT+9*, DT+18*, DT+20*, DT+24
ORREM DD+6~, DD+8*, DD+10, DD+11
ORREM1 DD+9~, DD+10*, DD+12
ORREMOTE PHSTAT+32~*, PHSTAT+33
ORREMSIG DD+9~, DD+11*, DD+12
ORRET ISCLIN+1~, ISCLIN+2, ISCLIN+3, PATTYPE+1~, PATTYPE+3*, PATTYPE+5
ORRETSTR DT+4~, DT+42*, DT+43
ORSEV DI+1~, DI+7~, DI+32*, DI+35, DI+37*, DI+38, DI+39, DI+40, DI+41, DI+43
ORSTAT DI+7~, DI+11*, DI+12, DI+15
ORTXT DI+1~, DD+9~, DD+12*, DD+13
ORTXT( DI+22*, DI+30*, DI+35*, DI+37, DI+38, DI+39, DI+40, DI+41, DI+43
ORWHICH DI+7~, DI+13*, DI+15*, DI+17*, DI+18*, DI+19*, DI+20, DI+22
ORX PROCESS+4~, PROCESS+10*, PROCESS+11, PROCESS+12, PROCESS+13, PROCESS+14, PROCESS+16*, PROCESS+17, PROCESS+18, PROCESS+19
, PROCESS+20
ORXNUM DT+14~*, DT+15, DT+16
ORY PROCESS+4~, PROCESS+11*, PROCESS+12, PROCESS+13, PROCESS+14, PROCESS+18*, PROCESS+19, PROCESS+20
ORZ PROCESS+4~, PROCESS+19*, PROCESS+20, DI+7~, DD+15*, DD+19*, DD+20
RCNT PROCESS+4~, PROCESS+5*
RET PHSTAT+1~, PHSTAT+2*, PHSTAT+3*, PHSTAT+4*, PHSTAT+9*, PHSTAT+10*, PHSTAT+12*, PHSTAT+18*, PHSTAT+19*, PHSTAT+23*
, PHSTAT+26*, PHSTAT+29*, PHSTAT+30*, PHSTAT+33*, PHSTAT+34*, PHSTAT+35
TDATA PROCESS+4~, PROCESS+49, PROCESS+51, PROCESS+52, DI~, DD~, DT~
TDATA("NEW" PROCESS+24*, PROCESS+27*, PROCESS+28*, PROCESS+30, PROCESS+32*, PROCESS+33*, PROCESS+35*, PROCESS+37*, PROCESS+40*, PROCESS+43
, PROCESS+44*, PROCESS+46, PROCESS+47*, PROCESS+50, DI+14, DI+16, DI+40, DD+14, DT+22, DT+24
, DT+30
U PROCESS+7, PROCESS+12, PROCESS+13, PROCESS+14, PROCESS+20, PROCESS+22, PROCESS+26, PROCESS+27, PROCESS+31, PROCESS+32
, DI+14, DI+17, DI+18, DI+35, DI+40, DI+42, DI+43, DD+7, DD+8, DD+12
, DD+13, DD+15, DD+17, DD+18, DD+20, DD+21, DT+7, DT+14, DT+16, DT+17
, DT+22, DT+26, DT+28, DT+30, DT+32, DT+33, DT+43, PHSTAT+12, PHSTAT+23, PHSTAT+26
, PHSTAT+29, PHSTAT+33, PHSTAT+34
VADMVT PROCESS+4~, PATTYPE+3, PATTYPE+4!
XX PROCESS+4~, PROCESS+5*, DD+4*, DD+5*, DD+7, DD+23
>> YY( PROCESS+7*, PROCESS+13*, PROCESS+14*, PROCESS+20*, DI+39*, DI+40*, DI+42, DI+43*, DD+22*, DT+43*
ZZ PROCESS+4~, PROCESS+5*, DD+4*, DD+7*, DD+8, DD+13*, DD+15, DD+18, DD+22
ZZD PROCESS+4~, PROCESS+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All