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

Package: Controlled Substances

Routine: PSDPDU1


Information

PSDPDU1 ;BIR/JPW-Print Breakdown/Disp Unit (cont'd) ; 2 Aug 94

Source Information

Source file <PSDPDU1.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 3 ^%DT  NOW^%DTC  ^DIR  
Kernel 1 ^%ZISC  

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 PSDPDU  

Entry Points

Name Comments DBIA/ICR reference
START ;entry point for report
PRINT ;prints data for stock drugs
DONE
END ;
HDR ;lists header information

External References

Name Field # of Occurrence
^%DT PRINT+1
NOW^%DTC START+3
^%ZISC END+3
^DIR DONE+1, HDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?45,"***** NO DATA AVAILABLE FOR THIS REPORT *****"
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !!,"=> ",$S(NAOU["ZZ/":"#"_$P(NAOU,"/",2)_" NAME MISSING",1:NAOU)
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !!,"=> ",$S(NAOU["ZZ/":"#"_$P(NAOU,"/",2)_" NAME MISSING",1:NAOU)
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+0
Function Call: WRITE
  • Prompt: !
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,"Breakdown/Dispensing Unit Listing - Date: "_RPDT,?121,"PAGE: "_PG,!!,"=> DISPENSING SITE"
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?57,"BREAKDOWN",?75,"PACKAGE",?92,"DISPENSING",?115,"PRICE PER"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,?12,"DRUG",?59,"UNIT",?76,"SIZE",?95,"UNIT",?115,"DISP UNIT",!,LN,!
  • Line Location: HDR+4
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • HDR+1

Global Variables Directly Accessed

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

Label References

Name Line Occurrences
DONE PRINT+2
HDR PRINT+1, PRINT+3, PRINT+6
PRINT START+2

Naked Globals

Name Field # of Occurrence
^(0 START+2, START+4
^(660 START+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END+1!
%DT PRINT+1*, END+1!
%H END+1!
%I END+1!
%ZIS END+1!
ANS END+1!
DA END+1!, HDR+1!
DIR DONE+1!, END+1!, HDR+1!
DIR("A" DONE+1*
DIR(0 DONE+1*, HDR+1*
DIROUT END+1!
DIRUT DONE+1!, END+1!
DRUG START+2*, START+3, START+4, START+6, START+7, PRINT+4*, PRINT+5, PRINT+7, END+1!
DRUGN START+4*, START+8, END+1!
DTOUT END+1!
DUOUT END+1!
IO("Q" END+1!
IOF DONEHDR+2
IOSL PRINT+3, PRINT+6
IOST DONEDONE+1, HDR+1
LN PRINT+1!*, END+1!, HDR+4
NAOU PRINT+3*, PRINT+4, PRINT+5, PRINT+6, END+1!
NAOU( START+2
NAOUN START+2*, START+8, END+1!
NBKU START+6*, START+8, PRINT+5*, PRINT+7, END+1!
NDU START+7*, START+8, PRINT+5*, PRINT+7, END+1!
NDUP START+7*, START+8, PRINT+5*, PRINT+7, END+1!
NODE START+6*, PRINT+5*, END+1!
NODED END+1!
NPKG START+6*, START+8, PRINT+5*, PRINT+7, END+1!
PG PRINT+1*, END+1!, HDR+1, HDR+2*
POP END+1!
PSD START+2*, START+3, START+5, START+6, END+1!
PSDOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+6, DONE+1, END+1!, HDR+1*
PSDP START+5*, END+1!
PSDT END+1!
RPDT PRINT+1*, END+1!, HDR+2
TYP END+1!
TYPE END+1!
X START+3, PRINT+1*, END+1!
Y PRINT+1, END+1!, HDR+1
ZTDESC END+2!
ZTDTH END+2!
ZTIO END+2!
>> ZTQUEUED END+3
>> ZTREQ END+3*
ZTRTN END+2!
ZTSAVE END+2!
ZTSK END+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All