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 |  Local Variables |  All
Print Page as PDF
Routine: PSDACT2

Package: Controlled Substances

Routine: PSDACT2


Information

PSDACT2 ;BIR/JPW-Print Daily Activity Log (cont'd) ; 2 Aug 94

Source Information

Source file <PSDACT2.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 ^%ZISC  
Registration 1 KVAR^VADPT  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDACT1  

Entry Points

Name Comments DBIA/ICR reference
PRINT ;prints data
END ;
DONE
HDR ;header
PAGE ;page stop after each drug

External References

Name Field # of Occurrence
^%ZISC END+5
^DIR DONE+1, HDR+1, PAGE+1
KVAR^VADPT END+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?15,"**** NO DAILY ACTIVITY ****",!!
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !,?5,"=> ",PSDRG,?115,$P(NODE,"^")
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: " (RTS)"
  • Condition for execution: $P(NODE,"^",6)=1
  • Line Location: PRINT+9
Function Call: WRITE
  • Prompt: ?115,$P(NODE,"^")+$P(NODE,"^",4),?128,$P(NODE,"^",5)
  • Line Location: PRINT+9
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: !,?20,"Daily Activity Log for ",PSDSN,?115,"Page: ",PG,!,?20,"Date: ",$P(PSDATE,"^")," to ",$P(PSDATE,"^",2),!!
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: "DATE/TIME",?22,"NUMBER",?45,"TYPE OF ACTIVITY",?95,"QUANTITY",?115,"BALANCE",?128,"BY",!,LN,!!
  • Line Location: HDR+3
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • HDR+1
    • PAGE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PRINT+7
^TMP("PSDACT" PRINT+2, PRINT+3, PRINT+4, END+4!

Label References

Name Line Occurrences
DONE PRINT+2
HDR PRINT+2, PRINT+3, PRINT+6
PAGE PRINT+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END+2!
%DT END+2!
%H END+2!
%I END+2!
%ZIS END+2!
ACT END+2!
ALL END+2!
BFWD END+2!
C END+2!
CNT PRINT+1*, PRINT+3*, PRINT+5*, END+2!
DA END+2!, HDR+1!, PAGE+1!
DATE PRINT+7*, PRINT+9, END+2!
DIC END+2!
DIR DONE+1!, END+2!, HDR+1!, PAGE+1!
DIR("A" DONE+1*
DIR(0 DONE+1*, HDR+1*, PAGE+1*
DIROUT END+2!
DIRUT DONE+1!, END+2!
DTOUT END+2!
DUOUT END+2!
FLAG PRINT+1*, PRINT+5*, END+2!, PAGE+1
IOF DONE, HDR+2
IOSL PRINT+6
IOST DONE, DONE+1, HDR+1, PAGE+1
LN PRINT+1!*, END+2!, HDR+3
MFG END+2!
NAOU END+2!
NODE PRINT+4*, PRINT+5, PRINT+6, PRINT+9, END+2!
NQTY END+2!
NUM END+2!
PAT END+3!
PG PRINT+1*, PRINT+3*, END+3!, HDR+1, HDR+2*
PHARM END+3!
POP END+3!
PSD PRINT+3*, PRINT+4, PRINT+7, END+3!
PSDA PRINT+4*, END+3!
PSDATE END+3!, HDR+2
PSDED END+3!
PSDEV END+3!
PSDIO END+3!
PSDOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+6, DONE+1, END+3!, HDR+1*, PAGE+1*
PSDPN END+3!
PSDR END+3!
PSDRG PRINT+3*, PRINT+4, PRINT+6, END+3!
PSDRGN END+3!
PSDS END+3!
PSDSD END+3!
PSDSN END+3!, HDR+2
PSDUZ END+3!
PSDUZN END+3!
QTY END+3!
RX END+3!
TEXT END+3!
TYP PRINT+4*, END+3!
TYPE END+3!
>> VA("BID" END+3!
>> VA("PID" END+3!
X END+3!
Y PRINT+7*, END+3!, HDR+1, PAGE+1
ZTDESC END+4!
ZTDTH END+4!
ZTIO END+4!
>> ZTQUEUED END+5
>> ZTREQ END+5*
ZTRTN END+4!
ZTSAVE END+4!
ZTSK END+4!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All