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  | All
Print Page as PDF
Routine: PSGWEXR

Package: Auto Replenishment Ward Stock

Routine: PSGWEXR


Information

PSGWEXR ;BHAM ISC/CML-Drug Expiration Date Report by Selected Date Range/AOU ; 26 Oct 95 8:12AM

Source Information

Source file <PSGWEXR.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Auto Replenishment Ward Stock 3 PRINT^PSGWEXR1  PRINT^PSGWEXR2  SEL^PSGWUTL1  
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 2 ^%DT  ^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: 1

Package Total Caller Graph
Auto Replenishment Ward Stock 1 PSGW EXP REPORT  

Entry Points

Name Comments DBIA/ICR reference
BDT
EDT
EN
ASKAOU ;
AOUCNT
DEV
START ;ENTRY POINT WHEN QUEUED
PRTQUE ;AFTER DATA IS COMPILED, QUEUE THE PRINT
QUIT
SET ;
ASKSORT ;
HELP ;

External References

Name Field # of Occurrence
^%DT BDTEDT
^%ZIS DEV
HOME^%ZIS DEV+3
^%ZISC QUIT
^%ZTLOAD DEV+3, PRTQUE+3
^DIC ASKAOU+1
PRINT^PSGWEXR1 START+3
PRINT^PSGWEXR2 START+3
SEL^PSGWUTL1 EN

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: *7,!!,"NO DATA FOUND FOR THIS DATE RANGE!",!
  • Line Location: EDT+2
Function Call: WRITE
  • Prompt: !!?5,"Since you have chosen multiple AOUs,",!?5,"please select a sort order for the report:",!!?5,"(1) Date/Drug/AOU or (2) Date/AOU/Drug"
  • Line Location: AOUCNT+2
Function Call: WRITE
  • Prompt: !!,"The right margin for this report is 80.",!,"You may queue the report to print at a later time.",!!
  • Line Location: AOUCNT+4
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED!"
  • Line Location: DEV+0
Function Call: READ
  • Formatting: !!
  • Prompt: "Enter '1' or '2' or ""^"" to Exit ==> "
  • Variable: SORT
  • Timeout: DTIME
  • Line Location: ASKSORT+1
Function Call: WRITE
  • Prompt: !!,?5,"Enter '1' to sort by Expiration Date, then Drug, then AOU.",!?5,"Enter '2' to sort by Expiration Date, then AOU, then Drug.",!?5,"Enter ""^"" to Exit."
  • Line Location: HELP+1
Routine Call
  • DIC
  • Line Location:
    • ASKAOU+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV
Routine Call
  • %ZIS
  • Line Location:
    • DEV+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSI(58.1 - [#58.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSDRUG - [#50] SET+1
^PSI(58.1 - [#58.1] EDT+2, ENASKAOU+3, AOUCNTSTART+2, SET+1
^TMP("PSGWEXR" START+1!, PRTQUE+3!, SET+2*

Label References

Name Line Occurrences
AOUCNT EN+1
ASKSORT AOUCNT+2
BDT EDT+2
HELP ASKSORT+1
QUIT BDTEDTENASKAOU+2, AOUCNTAOUCNT+3, DEVDEV+3
SET START+2

Naked Globals

Name Field # of Occurrence
^("I" ENASKAOU+3
^(0 SET+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% QUIT!
%DT BDT*!, EDT*!
%DT("A" BDT*, EDT*
%DT(0 EDT*
%H QUIT!
%I QUIT!
%Z QUIT!
%ZIS DEV!*
%ZIS("B" DEV*
AOU ASKAOU+3*, START+2*, QUIT!, SET+1, SET+2
AOULP ASKAOU+2, AOUCNTDEV+2, PRTQUE+2, QUIT!
AOULP( EN!, ASKAOU+1*, ASKAOU+3*, AOUCNT*, START+2
AOUNM QUIT!, SET+1*, SET+2
BDT BDT*, EDTEDT+1, QUIT!
CNT AOUCNT*, AOUCNT+2, QUIT!, SET+2
DIC ASKAOU+1*!
DIC("S" ASKAOU+1*
DIC(0 ASKAOU+1*
DRG START+2*, QUIT!, SET+1
DRGNM QUIT!, SET+1*, SET+2
DT ENASKAOU+3
DTIME ASKSORT+1
EDT EDT*, EDT+2, START+2, QUIT!
EXDT START+2*, QUIT!, SET+2
G DEV+2*, PRTQUE+2*, QUIT!
HDT QUIT!
HH QUIT!
IGDA QUIT!
IO DEV+4
IO("Q" DEV+1!, QUIT!
ION DEV+1
IOP DEV!
JJ EN*, ASKAOU+1*, AOUCNT*, QUIT!, ASKSORT+1*
LN QUIT!
LOC QUIT!
LOCFLG AOUCNT*, START+3, PRTQUE+1, QUIT!
LPDT EDT+1*, EDT+2, START+2, QUIT!
P1 QUIT!
P2 QUIT!
PG QUIT!
>> POP DEV
PSGWIO DEV+1*, PRTQUE+1, QUIT!
SEL ENEN+1, QUIT!
SORT AOUCNT+2*, AOUCNT+3, QUIT!, SET+2, ASKSORT+1*, ASKSORT+2*, HELP+1
TAB QUIT!
X ASKAOU+2, ASKAOU+3, QUIT!
Y BDTEDTASKAOU+1, QUIT!
>> ZTDESC DEV+2*, PRTQUE+1*
ZTDTH DEV+1!, PRTQUE+1*
ZTIO DEV+1*, PRTQUE+1!*
>> ZTQUEUED START+3
>> ZTRTN DEV+2*, PRTQUE+1*
ZTSAVE DEV+1!, PRTQUE+1!
ZTSAVE( DEV+2*, PRTQUE+2*
ZTSAVE("AOULP(" DEV+2*, PRTQUE+2*
ZTSAVE("^TMP(""PSGWEXR"",$J," PRTQUE+1*
ZTSK DEV+1!, DEV+3!, QUIT!
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  | All