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

Package: Controlled Substances

Routine: PSDLSTK1


Information

PSDLSTK1 ;BIR/JPW-Print Stock Drugs by Type/Location ; 2 Aug 94

Source Information

Source file <PSDLSTK1.m>

Call Graph

Call Graph Total: 4

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

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDLSTK  

Entry Points

Name Comments DBIA/ICR reference
SET ;sets data in ^TMP global
END ;
HDR ;lists header information
START ;entry point for report
DONE
PRINT ;print data for stock drugs

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 FOR THIS REPORT *****"
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !,"=>",$S($P(^PSD(58.8,NAOU,0),"^")]"":$P(^(0),"^"),1:"#"_NAOU_" NAME MISSING")
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !,?5,"TYPE: "_TYPE,!
  • Line Location: PRINT+4
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: !,"NAOU STOCK LIST BY TYPE/LOCATION - DATE: "_RPDT,?121,"PAGE: "_PG,!!,?2,"NARCOTIC AREA OF USE"
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?5,"TYPE",!,?8,"LOCATION",?44,"DRUG",?80,"STOCK LEVEL",?115,"REORDER LEVEL",!,LN,!
  • Line Location: HDR+3
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, PRINT+3, SET+1
^PSDRUG - [#50] START+4
^PSI(58.16 - [#58.16] PRINT+4
^TMP("PSDLSTK" START+1!, PRINT+2, PRINT+3, PRINT+4, PRINT+5, PRINT+6, END+1!, SET+4*

Label References

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

Naked Globals

Name Field # of Occurrence
^( PRINT+6
^(0 START+4, PRINT+3, PRINT+4

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+5, START+6, PRINT+5*, PRINT+6, END+1!, SET+1
DRUGN START+4*, END+1!, SET+4
DTOUT END+1!
DUOUT END+1!
IO("Q" END+1!
IOF DONE, HDR+2
IOSL PRINT+3, PRINT+4, PRINT+5
IOST DONE, DONE+1, HDR+1
LN PRINT+1!*, END+1!, HDR+3
LOC PRINT+5*, PRINT+6, END+1!, SET+2*, SET+4
LOCN PRINT+5*, PRINT+6, END+1!
NAOU PRINT+3*, PRINT+4, PRINT+5, PRINT+6, END+1!
NAOU( START+2
NODE END+1!, SET+1*, SET+2, SET+3
PG PRINT+1*, END+1!, HDR+1, HDR+2*
POP END+1!
PSD START+2*, START+3, START+5, START+6, END+1!, SET+1, SET+4
PSDOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+5, DONE+1, END+1!, HDR+1*
PSDT END+1!
RPDT PRINT+1*, END+1!, HDR+2
RSTK END+1!, SET+3*, SET+4
STK END+1!, SET+2*, SET+4
TYP START+6*, PRINT+4*, PRINT+5, PRINT+6, END+1!
TYPE START+5*, START+6*, PRINT+4*, END+1!, SET+4
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