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

Package: Inpatient Medications

Routine: PSGAMS0


Information

PSGAMS0 ;BIR/CML3-PRINT AMIS REPORT ;09 JUL 94 / 10:42 AM

Source Information

Source file <PSGAMS0.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
Inpatient Medications 1 $$ENDTC^PSGMI  
VA Fileman 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Inpatient Medications 1 PSGAMS  

Entry Points

Name Comments DBIA/ICR reference
RUN ;
HDR ;
WRITE ;
START ;
DONE ;
TOTLS ;
NP ;

External References

Name Field # of Occurrence
NOW^%DTC START+1
$$ENDTC^PSGMI START+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?27,"*** NO AMIS DATA FOUND ***"
  • Line Location: START+2
Function Call: WRITE
  • Prompt: !,LN2,!!?15,"TOTALS =>",?35,$J(TCNT,9,0),?52,$J(TCST,12,2),?72,$J(TCPU,6,2)
  • Line Location: TOTLS+1
Function Call: WRITE
  • Prompt: !?2,WN,?35,$J(CNT,9,0),?52,$J(CST,12,2),?72,$J(CPU,6,2),!
  • Line Location: WRITE+1
Function Call: READ
  • Prompt: "'^' TO STOP "
  • Formatting: !
  • Timeout: DTIME
  • Variable: NP
  • Line Location: NP+1
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: NP+1
Function Call: WRITE
  • Prompt: NP="^"
  • Condition for execution: '$T $C(7) S:'$T
  • Line Location: NP+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !!?30,"UNIT DOSE AMIS REPORT",?63,PSGPDT,!?25,"FROM ",STRT," THROUGH ",STOP,!!?35,"TOTAL UNITS",?56,"TOTAL",?68,"AVERAGE COST",!?10,"WARD",?36,"DISPENSED",?56,"COST",?70,"PER UNIT",!,LN1,!
  • Line Location: HDR+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^UTILITY("PSG" START+2, RUN+1

Label References

Name Line Occurrences
DONE START+2, RUN+1
HDR START+2
NP RUN+1, TOTLS+1
WRITE RUN+1

Naked Globals

Name Field # of Occurrence
^( RUN+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+1, DONE+1!
%H DONE+1!
%I DONE+1!
CML START+1*, DONE+1!, NP+1
CNT DONE+1!, WRITE+1*
CPU DONE+1!, WRITE+1*
CST RUN+1*, DONE+1!, WRITE+1*
DTIME NP+1
IO START+1, START+2
IO(0 START+1
IOF DONE+1, HDR+1
IOSL RUN+1, TOTLS+1
IOST START+1
LN1 START+1*, DONE+1!, HDR+1
LN2 START+1*, TOTLS+1, DONE+1!
NP START+1*, RUN+1, TOTLS+1, DONE+1!, NP+1*
>> PSGDT START+1*
PSGPDT START+1*, DONE+1!, HDR+1
>> STOP HDR+1
>> STRT HDR+1
TCNT START+1*, TOTLS+1, DONE+1!, WRITE+1*
TCPU TOTLS+1*, DONE+1!
TCST START+1*, TOTLS+1, DONE+1!, WRITE+1*
>> WN RUN+1*, WRITE+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All