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

Package: Controlled Substances

Routine: PSDPAT2


Information

PSDPAT2 ;B'ham ISC/JPW - Print Patient/Drug Report (summary) ; 1 Feb 94

Source Information

Source file <PSDPAT2.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
VA Fileman 2 NOW^%DTC  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDPAT1  

Entry Points

Name Comments DBIA/ICR reference
PRINT ;prints data for dispensing
DONE
HDR ;lists header information

External References

Name Field # of Occurrence
NOW^%DTC PSDPAT2+2
^DIR HDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?45,"**** NO DISPENSING SUMMARY ****"
  • Line Location: PSDPAT2+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+0
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?22,"ACTIVITY",?70,"PG "_PG,!,?29,"** SUMMARY **",!,?27,"Date: ",$P(PSDATE,"^")," to ",$P(PSDATE,"^",2),!!,"NAOU: ",NAOUN,!!
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: "DRUG",?55,"QUANTITY USED",?70,"BALANCE",!,LN,!
  • Line Location: HDR+3
Routine Call
  • DIR
  • Line Location:
    • HDR+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PSDPAT2+2
^TMP("PSDPATL" PSDPAT2+4, PRINT+2, PRINT+3

Label References

Name Line Occurrences
HDR PSDPAT2+4, PRINT+1, PRINT+2

Naked Globals

Name Field # of Occurrence
^( PRINT+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PSDPAT2+2
DA HDR+1!
DIR HDR+1!
DIR(0 HDR+1*
IOF DONE, HDR+2
IOSL PRINT+2
IOST DONE, HDR+1
>> LN PSDPAT2+3*, HDR+3
>> LOOP PRINT+2*, PRINT+3
>> NAOUN HDR+2
>> PG PSDPAT2+3*, HDR+1, HDR+2*
>> PSDATE HDR+2
>> PSDOUT PSDPAT2+3*, PRINT+1, PRINT+2, HDR+1*
>> RPDT PSDPAT2+2*
>> SUM DONE
>> Y PSDPAT2+2*, HDR+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All