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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSGDL

Package: Inpatient Medications

Routine: PSGDL


Information

PSGDL ;BIR/CML3-CALCULATE STOP DATE/TIME WITH DOSE LIMIT ;27 Aug 98 / 8:47 AM

Source Information

Source file <PSGDL.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Inpatient Medications 4 $$EN^PSGCT  $$ONE^PSJBCMA  $$ENQ^PSJORP2  $$DATE^PSJUTL2  
VA FileMan 2 ^%DT  (C,DW)^%DTC  
Kernel 1 $$FMADD^XLFDT  

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

Package Total Caller Graph
Inpatient Medications 8 PSGNE3  PSGOE3  PSGOE41  PSGOE81  PSGOE91  PSGOER0  PSIVEDT1  PSJCLOR4  

Entry Points

Name Comments DBIA/ICR reference
EN ;
ENE ;
EN1 ;
EN2 ;
ENGO ;
MWF ; if schedule is similar to monday-wednesday-friday
SCHK
CHK
TS
DONE ;
ADD ;
ENPREV ; when "P" is enter at start date
POUT ;
ENDL(SCH,DL) ;validate that dose limit should be allowed with this schedule

External References

Name Field # of Occurrence
^%DT ENGO+6, ENGO+7
C^%DTC MWF+2, ADD+1
DW^%DTC MWF+2, SCHK
$$EN^PSGCT ENGO+19
$$ONE^PSJBCMA ENDL+3
$$ENQ^PSJORP2 ENGO+12, ENGO+17
$$DATE^PSJUTL2 ENGO+8
$$FMADD^XLFDT ENGO+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: " ...Dose Limit... "
  • Line Location: EN+1
Function Call: WRITE
  • Prompt: " ...Dose Limit... "
  • Line Location: EN2+2
Function Call: WRITE
  • Prompt: " Dose limit invalid with this schedule"
  • Line Location: ENDL+3
Function Call: WRITE
  • Prompt: " Dose limit must be a whole number"
  • Line Location: ENDL+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] EN+1, ENPREV+1, ENPREV+2
^PS(55 - [#55] EN2+1, ENPREV+3

Label References

Name Line Occurrences
ADD ENGO+22
CHK MWF+2
DONE EN+2, EN2+1, ENGO+18, ENGO+19, ENGO+22, MWF+2
ENGO EN+1, ENE+1, EN1+1
MWF ENGO+18
POUT ENPREV+1
SCHK MWF+2
TS CHK

Naked Globals

Name Field # of Occurrence
^( ENPREV+1
^(2 ENPREV+2, ENPREV+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT ENGO+6*, ENGO+7*
%H DONE+1!
%T DONE+1!
%Y DONE+1!
>> AM ENGO+19*
>> C ENGO+22*, MWF+2*, SCHK+3*, TS*
>> DA EN+1, EN2+1, ENPREV+1
>> DA(1 EN2+1
>> DFN ENDL+3
DL ENDL~, ENDL+4
INFO ENGO+16~*, ENGO+17
MN ENGO+3*, ENGO+11~, ENGO+18, ENGO+19, DONE+1!, ADD+1
ND2 EN+1*, ENE+1*, EN1+1*, EN2+1*, ENGO+1, ENGO+2, ENGO+3, ENGO+11~, ENGO+12, ENGO+17
DONE+1!
ND4 DONE+1!
>> PSGAT ENE+1, ENGO+11, ENGO+16
PSGDL ENGO+19, ENGO+22, MWF+2, SCHK+3, TSDONE+1!
PSGDLS EN+1!, EN2+1!, ENGO+2, ENGO+12, ENGO+17, DONE+1!
PSGFD ENGO+7~*, ENGO+9~*, ENGO+11, ENGO+16
>> PSGNEDFD EN1+1
>> PSGNESD EN1+1
PSGP ENGO+12, ENGO+17, ENPREV+1*, ENPREV+2, ENPREV+3, POUT+1!
PSGPDRG ENGO+11, ENGO+16, ENPREV+1*, ENPREV+2, ENPREV+3, POUT+1!
>> PSGS0XT ENE+1, EN1+1
>> PSGS0Y EN1+1
>> PSGSCH ENE+1, ENGO+11, ENGO+16
PSGSD ENE+1, ENGO+6~*, ENGO+8~*, ENGO+9, ENGO+11, ENGO+16
>> PSGST ENGO+11, ENGO+16
>> PSJSYSW0 ENGO+4, ENGO+5*, ENGO+13*, ENGO+15
Q ENGO+21*, ENGO+22*, MWF+2*, SCHK*, SCHK+3*, ADD+1*, ENPREV+2*, ENPREV+3*, POUT+1!
Q1 TS*, DONE+1!
QQ CHK*, DONE+1!
SCH ENGO+1*, ENGO+11~, ENGO+18, MWF+2*, SCHKCHKDONE+1!, ENDL~, ENDL+2, ENDL+3
>> ST ENGO+2*, ENGO+5, ENGO+12*, ENGO+17*, ENGO+19, ENGO+20, ENGO+22, MWF+2, SCHK+3
STRING ENGO+11~*, ENGO+12
TM ENGO+20*, ENGO+21, SCHK+3*, DONE+1!
TS ENGO+3*, ENGO+5, ENGO+18, ENGO+19, ENGO+20, ENGO+21, ENGO+22, MWF+2*, SCHK+3, TS
DONE+1!
U ENGO+4, ENGO+5, ENGO+13, ENGO+15, ENGO+16
WKD SCHK*, CHK*, DONE+1!
X ENGO+6*, ENGO+7*, ENGO+19*, ENGO+22*, MWF+2*, SCHKSCHK+3*, CHK, TS*, ADD+1
ENPREV+1*, ENPREV+2*, ENPREV+3*, ENPREV+4, POUT+1!
X1 MWF+2*, SCHK*, SCHK+3, TSDONE+1!, ADD+1*
X2 MWF+2*, DONE+1!, ADD+1*
>> Y ENGO+6, ENGO+7, ENPREV+1*, POUT+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All