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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: PSJDDUT

Package: Inpatient Medications

Routine: PSJDDUT


Information

PSJDDUT ;BIR/LDT-INPATIENT MEDICATIONS DD UTILITY ; 3/23/11 7:55am

Source Information

Source file <PSJDDUT.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Inpatient Medications 4 $$EN^PSGCT  $$ENLU^PSGMI  (DIC,DW,ENCHK)^PSGS0  $$ENQ^PSJORP2  
VA FileMan 3 (C,DW)^%DTC  EN^DDIOL  IX^DIC  

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

Package Total Caller Graph
Inpatient Medications 4 ^PS(53.1  DISPENSE DRUG  ^PS(57.5  ^PS(59.6  

Entry Points

Name Comments DBIA/ICR reference
SPCIN ;Called from Non-Verified Orders File (53.1), Special Instructions
CHKSI ;Called from Non-Verified Orders File (53.1), Special Instructions
CHK1 ;
CHK
TS
STRDT ;Called from Non-Verified Orders File (53.1),Start Date/Time field 10
POUT ;
UNPD ;Called from Non-Verified Orders File (53.1), Units Per Dose field 13
SCH ;Called from Non-Verified Orders File (53.1), Schedule field 26
ENOS ; order set entry
NS
Q ;
SCH3 ;Called from Non-Verified Orders File (53.1), Schedule field 26
HT ;
ADTM2 ;Called from Non-Verified Orders File (53.1), Admin Times field 39
WRDGP ;Called from Ward Group File (57.5), Ward Group field .01
LBLS ;Called from Inpatient Ward Parameters file (59.6), field .11
SCHTP ;Called from the Unit Dose Multiple of file 55, Schedule Type field 7
EN ;Called from Non-Verified Orders file 53.1, Start/Date Time field 10
ENGO ;
MWF ; if schedule is similar to monday-wednesday-friday
SCHK
DONE ;
ADD ;
WRITE ;Calls EN^DDIOL to write text

External References

Name Field # of Occurrence
C^%DTC MWF+1, ADD+1
DW^%DTC MWF+1, SCHK
EN^DDIOL CHKSI+4, STRDT+2, STRDT+5, SCH+5, ENOS+5, NSSCH3+4, SCH3+5, SCH3+6, EN+2
WRITE+1
IX^DIC SCH3+13
$$EN^PSGCT ENGO+16
$$ENLU^PSGMI SCH+5
DIC^PSGS0 ENOS+3
DW^PSGS0 ENOS+4
ENCHK^PSGS0 ENOS+2
$$ENQ^PSJORP2 ENGO+8

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !
  • Prompt: "(Press RETURN to continue.) "
  • Variable: Q
  • Timeout: DTIME
  • Line Location: SCH3+6
Function Call: WRITE
  • Prompt: !,"There is no schedule and/or administration time that falls between the Start Date/Time"
  • Line Location: ENGO+11
Function Call: WRITE
  • Prompt: !,"and Stop Date/Time. For the order to be valid the schedule and/or administration time"
  • Line Location: ENGO+12
Function Call: WRITE
  • Prompt: !,"must fall between the order's Start Date/Time and Stop Date/Time.",!
  • Line Location: ENGO+13
Routine Call
  • DIC
  • Line Location:
    • SCH3+13

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(51.1 - [#51.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(51 - [#51] CHK1+1
^PS(51.1 - [#51.1] ENOS+3
^PS(53.1 - [#53.1] STRDT+2, STRDT+3, SCH3+2, EN+2
^PS(55 - [#55] STRDT+4

Label References

Name Line Occurrences
ADD ENGO+19
CHK MWF+1
CHK1 CHKSI+3
DONE EN+3, ENGO+10, ENGO+15, ENGO+16, ENGO+19, MWF+1
ENGO EN+2
MWF ENGO+15
POUT STRDT+2
Q ENOS+1, ENOS+2, ENOS+3, ENOS+4, ENOS+5, NS+2, NS+4
SCHK MWF+1
TS CHK
WRITE SPCIN+4, UNPD+3, ADTM2+22, WRDGP+4, LBLS+3, SCHTP+13

Naked Globals

Name Field # of Occurrence
^( STRDT+2, ENOS+3
^(0 CHK1+1
^(2 STRDT+3, STRDT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%H DONE+1!
%T DONE+1!
%Y DONE+1!
>> AM ENGO+16*
>> C TS*, ENGO+19*, MWF+1*, SCHK+2*
D SCH3+3~, SCH3+7*
DA STRDT+2, SCH3+2, SCH3+3~, EN+2
DIC SCH3+3~, SCH3+7!*, SCH3+13!
DIC("?N" SCH3+12*
DIC("S" SCH3+11*
DIC("W" SCH3+7*, SCH3+8*, SCH3+10*
DIC(0 SCH3+7*
DIE SCH3+3~
DTIME SCH3+6
DZ SCH3+3~
FD ENGO+1~, ENGO+8*, ENGO+10
MN ENGO+4*, ENGO+7~, ENGO+14*, ENGO+15, ENGO+16, DONE+1!, ADD+1
ND2 EN+2*, ENGO+2, ENGO+3, ENGO+4, ENGO+7~, ENGO+8, ENGO+10, ENGO+14, DONE+1!
ND4 DONE+1!
>> PSGAT ENOS+6, ENGO+7
PSGDDFLG SCH3+2*, SCH3+6!, SCH3+13!
PSGDL TSENGO+16, ENGO+19, MWF+1, SCHK+2, DONE+1!
PSGDLS EN+2!, ENGO+3, ENGO+8, DONE+1!
>> PSGFD ENGO+7
>> PSGOES SCH+5, ENOS+5, NS
PSGP STRDT+2*, STRDT+3, STRDT+4, POUT+1!, ENGO+8
PSGPDRG STRDT+2*, STRDT+3, STRDT+4, POUT+1!, ENGO+7
>> PSGS0XT ENOS+1*, Q+1*
>> PSGS0Y ENOS+1*, ENOS+6*, Q+1*
>> PSGSCH ENOS+6, ENGO+7
>> PSGSD ENGO+7
PSGST SCH3+2*, SCH3+6!, SCH3+11, SCH3+13!, ENGO+7
PSJHLP SCH3+5!, WRITE+1!
PSJHLP( SCH3+4*
PSJHLP(1 SPCIN+2*, UNPD+1*, ADTM2+1*, WRDGP+1*, WRDGP+2*, LBLS+1*, SCHTP+1*, SCHTP+2*
PSJHLP(10 ADTM2+10*
PSJHLP(11 ADTM2+11*
PSJHLP(12 ADTM2+12*
PSJHLP(13 ADTM2+13*
PSJHLP(14 ADTM2+14*
PSJHLP(15 ADTM2+15*
PSJHLP(16 ADTM2+16*
PSJHLP(17 ADTM2+17*
PSJHLP(18 ADTM2+18*
PSJHLP(19 ADTM2+19*
PSJHLP(2 SPCIN+3*, UNPD+2*, ADTM2+2*, WRDGP+3*, LBLS+2*, SCHTP+3*, SCHTP+4*
PSJHLP(20 ADTM2+20*
PSJHLP(21 ADTM2+21*
PSJHLP(3 ADTM2+3*, SCHTP+5*, SCHTP+6*
PSJHLP(4 ADTM2+4*, SCHTP+7*, SCHTP+8*
PSJHLP(5 ADTM2+5*, SCHTP+9*, SCHTP+10*
PSJHLP(6 ADTM2+6*, SCHTP+11*, SCHTP+12*
PSJHLP(7 ADTM2+7*
PSJHLP(8 ADTM2+8*
PSJHLP(9 ADTM2+9*
PSJNSS NS!*
>> PSJPWD SCH3+7
>> PSJSYSW0 ENGO+5, ENGO+6*, ENGO+9*
Q STRDT+3*, STRDT+4*, POUT+1!, SCH3+4*, SCH3+6*, ENGO+18*, ENGO+19*, MWF+1*, SCHK*, SCHK+2*
ADD+1*
Q1 TS*, DONE+1!
QQ CHK*, DONE+1!
QX Q+1!
SCH CHKENGO+2*, ENGO+7~, ENGO+15, MWF+1*, SCHKDONE+1!
SDW Q+1!
>> ST ENGO+3*, ENGO+6, ENGO+8*, ENGO+16, ENGO+17, ENGO+19, MWF+1, SCHK+2
STRING ENGO+7~*, ENGO+8
SWD Q+1!
TM ENGO+17*, ENGO+18, SCHK+2*, DONE+1!
TS TSENGO+4*, ENGO+6, ENGO+7~, ENGO+14*, ENGO+15, ENGO+16, ENGO+17, ENGO+18, ENGO+19
MWF+1*, SCHK+2, DONE+1!
U ENGO+5, ENGO+6, ENGO+9
WKD CHK*, SCHK*, DONE+1!
X CHKSI+2!, CHKSI+3, CHKSI+4, CHK1+2!, CHK, TS*, STRDT+2*, STRDT+3*, STRDT+4*, STRDT+5
POUT+1!, SCH+4!, SCH+5*, SCH+6!, ENOS+1, ENOS+2, ENOS+3, ENOS+4, ENOS+5, ENOS+6
, NS*, NS+1!, NS+2, NS+3*, NS+4!, NS+5*, SCH3+4, SCH3+5, SCH3+6, ENGO+16*
ENGO+19*, MWF+1*, SCHKSCHK+2*, ADD+1
X0 ENOS+2*, NSNS+5, Q+1!
X1 TSNS+3*, NS+5, MWF+1*, SCHK*, SCHK+2, DONE+1!, ADD+1*
X2 NS+3*, NS+5, MWF+1*, DONE+1!, ADD+1*
XT ENOS+1*, ENOS+3, ENOS+5*, NS+2*, NS+4*, NS+5*, Q+1!
Y CHKSI+3~*, CHKSI+4, CHKSI+5!, CHK1+2, CHK1+3*, STRDT+2*, POUT+1, ENOS+1*, ENOS+2*, ENOS+4*
ENOS+5*, NS*, NS+4, Q+1, SCH3+3~
Y(1 CHKSI+3*, CHKSI+4*
Y(2 CHKSI+3*, CHKSI+4*, CHK1+1*, CHK1+2, CHK1+3
Z Q+1!

Marked Items

Name Field # of Occurrence
$T(HT+Q SCH3+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All