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

Package: Inpatient Medications

Routine: PSJORP2


Information

PSJORP2 ;BIR/JCH-CALCULATE FIRST DOSE FOR OE/RR 3.0 ; 4/12/10 8:59am

Source Information

Source file <PSJORP2.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Inpatient Medications 4 $$EN^PSGCT  EN^PSGORS0  $$DOW^PSIVUTL  ADMIN^PSJORPOE  
Kernel 1 $$FMADD^XLFDT  
VA FileMan 1 (,C,DW,NOW)^%DTC  

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

Package Total Caller Graph
Inpatient Medications 11 PSGDL  PSGNE3  PSGOE41  PSGOE81  PSGOE91  PSGOER  PSIVCAL  PSIVEDT1  
PSJDDUT  PSJORPOE  PSJUTL  

Entry Points

Name Comments DBIA/ICR reference
ENQ(PSGP,INFO) ; start
; INFO (piece 1) = START DATE/TIME
; INFO (piece 2) = STOP DATE/TIME
; INFO (piece 3) = SCHEDULE
; INFO (piece 4) = SCHEDULE TYPE
; INFO (piece 5) = ORDERABLE ITEM
; INFO (piece 6) = ADMIN TIMES
OS(PSGP,PSGST) ; order record set
DTS(SCHEDULE) ;
PRT(PSGTS) ; order info
FIRST ; find expected first dose
LAST ; find expected last dose
TS(X) ;
LASTAT(PSGP,INFO) ;

External References

Name Field # of Occurrence
^%DTC ENQ+21, DTS+5
C^%DTC ENQ+16, ENQ+22, DTS+4
DW^%DTC ENQ+22
NOW^%DTC ENQ+23
$$EN^PSGCT DTS+5, DTS+6
EN^PSGORS0 ENQ+15
$$DOW^PSIVUTL ENQ+14
ADMIN^PSJORPOE ENQ+12
$$FMADD^XLFDT ENQ+19

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(59.6 - [#59.6] ENQ+28

Label References

Name Line Occurrences
$$ENQ LASTAT+1
DTS OS+4
FIRST PRT+2
LAST PRT+2
OS ENQ+24
PRT ENQ+26
TS PRT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % ENQ+23
ADMIN FIRST+1~, FIRST+9*, FIRST+10, LAST+1~, LAST+4*, LAST+5
AM DTS+6*, DTS+7!
D ENQ+15~
DA ENQ+15~
DCAL ENQ+18*, ENQ+19~*
>> FD OS+2*, OS+5, DTS+4, DTS+6
FIRST ENQ+9~, ENQ+11*, ENQ+27*, ENQ+28*, ENQ+30, FIRST+1*, FIRST+5, FIRST+7*, FIRST+8, FIRST+9
FIRST+11*
>> HX ENQ+22*
INFO ENQ~, ENQ+10, ENQ+13, ENQ+15, FIRST+5, LASTAT~, LASTAT+1, LASTAT+2
>> LAST ENQ+26*, LAST+1*, LAST+4, LAST+6*
>> LASTAT LASTAT+1*, LASTAT+2*, LASTAT+4
LSTDT LASTAT+1~
>> P(9 FIRST+2*, LAST+2*
PSGAT ENQ+15~
PSGD ENQ+22!, ENQ+25, ENQ+29!, LASTAT+3!
PSGD( ENQ+22*, OS+4, OS+5, DTS+2, FIRST+9, FIRST+11, LAST+4, LAST+6
PSGDF ENQ+9~, ENQ+21*, ENQ+22
PSGDT ENQ+15~, ENQ+23*
>> PSGDW ENQ+22*
PSGED ENQ+9~, ENQ+24*
PSGFD ENQ+9~, ENQ+10*, ENQ+16*, ENQ+26, DTS+4, DTS+6, FIRST+7, FIRST+11, LAST+6
PSGGD ENQ+29!, PRT+1*, FIRST+2~*, FIRST+11, LAST+2~*, LAST+6, LASTAT+3!
PSGLFFD FIRST+2~*, LAST+2~*
PSGNEFD ENQ+9~, ENQ+10*, ENQ+16*, ENQ+21, OS+1, OS+2
PSGNESD ENQ+9~, ENQ+10*, ENQ+21, OS+1, OS+6
>> PSGOC PRT+3*
PSGOES ENQ+15~*
>> PSGOSD DTS+3, DTS+4, DTS+6, FIRST+5
PSGP ENQ~, ENQ+24, OS~, LASTAT~, LASTAT+1
PSGS ENQ+9~, ENQ+20*, OS+1, DTS+6*, DTS+7!
PSGS0XT ENQ+9~, ENQ+11*, ENQ+14, ENQ+16, OS+2, OS+6
PSGS0Y ENQ+9~, ENQ+10*, ENQ+13*, ENQ+15~, ENQ+17*, ENQ+19*, ENQ+28, OS+6*, OS+7
PSGSCH ENQ+9~, ENQ+10*, ENQ+12, ENQ+14, ENQ+17, OS+1, OS+3, OS+4
PSGSD ENQ+9~, ENQ+10*, ENQ+12, ENQ+16, ENQ+17, ENQ+18, ENQ+19, ENQ+22, ENQ+24, ENQ+27
, ENQ+28, DTS+3, DTS+5, FIRST+7, FIRST+11, LAST+6
PSGST ENQ+9~, ENQ+10*, ENQ+11*, ENQ+15~, ENQ+17, ENQ+20, ENQ+24, OS~, DTS+1
PSGSTODD ENQ+9~, FIRST+5
PSGSTODD( DTS+6*, FIRST+5, FIRST+6
PSGT DTS+3*, DTS+4, DTS+5!*, DTS+6, DTS+7!
PSGTS PRT~, PRT+1*, PRT+2, FIRST+3, LAST+3
PSGX DTS+6*, DTS+7!
PSJLSTAT ENQ+14, ENQ+16, ENQ+26, PRT+2, LASTAT+1~*
PSJNSS ENQ+15~
>> PSJPSTO PRT+1*
PSJPWD ENQ+15~, ENQ+28
>> PSJSYSW0 ENQ+17
PST ENQ+9~, ENQ+10*, ENQ+24*, OS+3, PRT+1, FIRST+2, LAST+2
Q ENQ+22*, ENQ+29!, DTS+2*, FIRST+5*, FIRST+6, FIRST+9*, FIRST+10, FIRST+11, LAST+4*, LAST+5
LAST+6, TS+1*, LASTAT+3!
QQ ENQ+29!, OS+4*, OS+5*, OS+7, DTS+2*, DTS+4*, LASTAT+3!
QST ENQ+29!, OS+3*, OS+4, OS+7, LASTAT+3!
QTS FIRST+1~, FIRST+6*, FIRST+7, FIRST+10*, FIRST+11, LAST+1~, LAST+5*, LAST+6
S ENQ+29!, OS+5, DTS+1!*, DTS+2*, DTS+4*, DTS+6*, LASTAT+3!
S( OS+5, DTS+2*, DTS+4*, DTS+6*
SCHEDULE DTS~, DTS+1, DTS+3
SCHFREQ ENQ+9~
>> SD OS+1*, OS+4*, OS+5, DTS+3*, DTS+4, DTS+5
ST DTS+5*, DTS+6*, DTS+7!
>> T OS+2*, DTS+3, DTS+5
TEST ENQ+15~
TS ENQ+9~, ENQ+29!, FIRST+3, LAST+3, TS+1!*, LASTAT+3!
TS( FIRST+9, FIRST+10, LAST+4, LAST+5, TS+1*
U ENQ+10, ENQ+22, OS+5, OS+7, DTS+2, FIRST+5
VALMBCK ENQ+15~
>> WD DTS+1*, DTS+2, DTS+3*, DTS+4, DTS+6
X ENQ+12*, ENQ+15~*, ENQ+16, ENQ+21, ENQ+22*, ENQ+26, ENQ+29!, OS+4*, OS+5, OS+7*
, DTS+3*, DTS+4*, DTS+5, DTS+6*, TS~, TS+1, LASTAT+3!
>> X1 ENQ+16*, ENQ+21*, ENQ+22*, DTS+4*, DTS+5*
>> X2 ENQ+16*, ENQ+21*, ENQ+22*, DTS+4*, DTS+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All