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

Package: Controlled Substances

Routine: PSDPDU


Information

PSDPDU ;BIR/JPW-Print Breakdown/Disp Unit for Stock Drugs ; 6 July 94

Source Information

Source file <PSDPDU.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
Controlled Substances 2 START^PSDPDU1  ^PSDSET  
VA Fileman 2 NOW^%DTC  ^DIC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSD STOCK UNIT LIST  

Entry Points

Name Comments DBIA/ICR reference
ASKN ;ask NAOU(s)
END ;
SAVE ;save variables for queueing
DEV ;asks device and queueing information

External References

Name Field # of Occurrence
NOW^%DTC ASKN+1
^%ZIS DEV+1
HOME^%ZIS DEV+2
^%ZISC END+1
^%ZTLOAD DEV+2
^DIC ASKN+3
START^PSDPDU1 DEV+3
^PSDSET PSDPDU+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?5,"You may select a single Dispensing Site, several Dispensing Sites,",!,?5,"or enter ^ALL to select all Dispensing Sites.",!!
  • Line Location: PSDPDU+3
Function Call: WRITE
  • Prompt: !!,"This report is designed for a 132 column format.",!,"You may queue this report to print at a later time.",!!
  • Line Location: ASKN+6
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED!"
  • Line Location: DEV+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+2
Routine Call
  • DIC
  • Line Location:
    • ASKN+3
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSD(58.8 - [#58.8] ASKN+5

Label References

Name Line Occurrences
END ASKN+4, DEV+1, DEV+2
SAVE DEV+2

Naked Globals

Name Field # of Occurrence
^("I" ASKN+5
^(0 ASKN+5

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*
ANS END+1!
DA ASKN+1!, END+1!
DIC ASKN+1!, ASKN+2*, ASKN+3!, END+1!
DIC("A" ASKN+2*
DIC("B" ASKN+1*
DIC("S" ASKN+2*
DIC(0 ASKN+2*
DIR END+1!
DIROUT END+1!
DIRUT END+1!
DTOUT END+1!
DUOUT END+1!
IO DEV+3
IO("Q" DEV+1!, DEV+2!, END+1!
IOP DEV+1!
NAOU ASKN+4, END+1!, SAVE+1
NAOU( ASKN+3*, ASKN+5*
POP DEV+1!, END+1!
PSD ASKN+5*, END+1!
>> PSDSITE PSDPDU+2, ASKN+1, ASKN+5
PSDT ASKN+1*, ASKN+5, END+1!
U ASKN+1
X ASKN+1, ASKN+4, ASKN+5, END+1!
Y ASKN+2, ASKN+3, END+1!
ZTDESC DEV+2*, END+1!
ZTDTH DEV+2!
ZTIO DEV+2!, END+1!
>> ZTQUEUED END+2
>> ZTREQ END+2*
ZTRTN DEV+2*, END+1!
ZTSAVE DEV+2!, END+1!, SAVE+1*
ZTSAVE("NAOU(" SAVE+1*
ZTSAVE("PSD" SAVE+1*
ZTSAVE("PSDT" SAVE+1*
ZTSK DEV+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All