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

Package: Controlled Substances

Routine: PSDPSTK


Information

PSDPSTK ;BIR/JPW-Print Data for CS Stock Drugs ; 7 Sept 92

Source Information

Source file <PSDPSTK.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
Controlled Substances 2 PRINT^PSDPSTK1  ^PSDSET  
VA FileMan 1 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: 1

Package Total Caller Graph
Controlled Substances 1 PSD STOCK PRINT  

Entry Points

Name Comments DBIA/ICR reference
DEV ;ask device and queueing information
START ;compile data for stock drug report
END ;
PRTQUE ;queues print after data is compiled

External References

Name Field # of Occurrence
NOW^%DTC PSDPSTK+5, START+3
^%ZIS DEV+1
^%ZISC END+2
^%ZTLOAD DEV+2, PRTQUE+2
PRINT^PSDPSTK1 START+2
^PSDSET PSDPSTK+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report lists data stored for CS Stock Drugs.",!!,"This report is designed for a 132 column format.",!,"You may queue this report to print at a later time.",!!
  • Line Location: PSDPSTK+3
Function Call: WRITE
  • Prompt: !!,"You MUST create NAOUs before running this report!"
  • Line Location: PSDPSTK+4
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED!"
  • Line Location: DEV+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSD(58.8 - [#58.8] PSDPSTK+4, START+2, START+3, START+5, START+6, START+7, START+8
^PSDRUG - [#50] START+4
^TMP("PSDPSTK" START+1!, START+5*, START+9*, START+10*, END+2!, PRTQUE+2!

Label References

Name Line Occurrences
END DEV+1, DEV+2, PRTQUE+2
PRTQUE START+2

Naked Globals

Name Field # of Occurrence
^("I" START+5
^(0 START+2, START+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END+1!
%H END+1!
%I END+1!
%ZIS DEV+1!*, END+1!
%ZIS("B" DEV+1*
DA END+1!
DATEI END+1!
DIK END+1!
DRUG START+2*, START+3, START+4, START+6, START+7, START+8, END+1!
DRUGN START+4*, START+5, START+9, START+10, END+1!
IO DEV+3
IO("Q" DEV+1!, DEV+2!, END+1!
ION DEV+2
IOP DEV+1!
LOC START+6*, START+9, END+1!
NAOU START+2*, START+3, START+5, START+6, START+7, START+8, START+9, START+10, END+1!
NODE START+6*, END+1!
POP DEV+1!, END+1!
PSDIO DEV+2*, END+1!, PRTQUE+1
>> PSDSITE PSDPSTK+2, START+2
PSDT PSDPSTK+5*, START+5, END+1!
STK START+6*, START+9, END+1!
TYP START+7*, END+1!
TYPE START+7*, START+9*, END+1!
WARD START+8*, START+9*, START+10, END+1!
WRD START+8*, END+1!
X PSDPSTK+5, START+3, END+2!
Y END+2!
ZTDESC DEV+2*, END+2!, PRTQUE+1*
ZTDTH DEV+2!, END+2!, PRTQUE+1*
ZTIO DEV+2*, END+2!, PRTQUE+1!*
>> ZTQUEUED START+2, END+3
>> ZTREQ END+3*
ZTRTN DEV+2*, END+2!, PRTQUE+1*
ZTSAVE DEV+2!, END+2!, PRTQUE+1!
ZTSAVE("PSDIO" DEV+2*
ZTSAVE("PSDSITE" DEV+2*
ZTSAVE("PSDT" DEV+2*
ZTSAVE("^TMP(""PSDPSTK"",$J," PRTQUE+1*
ZTSK DEV+2!, PRTQUE+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All