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

Package: Outpatient Pharmacy

Routine: PSOMGRP3


Information

PSOMGRP3 ;BHAM ISC/JMB - DAILY MANAGEMENT COST REPORT ;3/19/93

Source Information

Source file <PSOMGRP3.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
Outpatient Pharmacy 1 TOT^PSOMGR31  
VA Fileman 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Outpatient Pharmacy 3 PSOMGR31  PSOMGREP  PSOMGRP1  

Entry Points

Name Comments DBIA/ICR reference
EN
RPT
LN
PRI
MON
DV
SUB

External References

Name Field # of Occurrence
NOW^%DTC DV+7
TOT^PSOMGR31 PRI+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: CNT
  • Line Location: RPT+0
Function Call: WRITE
  • Prompt: !!?30,"O U T P A T I E N T P H A R M A C Y M A N A G E M E N T R E P O R T",!?57,"PRESCRIPTION COSTS",?123,"PAGE ",PG
  • Line Location: RPT+0
Function Call: WRITE
  • Prompt: !!
  • Line Location: RPT+2
Function Call: WRITE
  • Prompt: $J($P("^AVG^AVG^AVG^AVG COST^AVG^TOT^TOT^TOT^AVG PARTIC","^",K),13)
  • Line Location: RPT+2
Function Call: WRITE
  • Prompt: !,"DATE",?13
  • Line Location: RPT+3
Function Call: WRITE
  • Prompt: $J($P("STAFF^FEE^RX^PER EQ FL^METH^RX^METH^PART PHARM^PHARM RX","^",K),13)
  • Line Location: RPT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: RPT+4
Function Call: WRITE
  • Prompt: "-"
  • Line Location: RPT+4
Function Call: WRITE
  • Prompt: !!!?17,"FINISHED PRINTING ON: "
  • Line Location: DV+7
Function Call: WRITE
  • Prompt: Y,@IOF
  • Line Location: DV+7
Function Call: WRITE
  • Prompt: $J(+$P($G(^PS(59.12,PDATE,3,DIV,0)),"^",K),13)
  • Line Location: LN+0
Function Call: WRITE
  • Prompt: !?13
  • Line Location: MON+0
Function Call: WRITE
  • Prompt: $J("-------",13)
  • Line Location: MON+0
Function Call: WRITE
  • Prompt: !,"MON TOTAL",?13,$J($FN($S($P(M3(PRV),"^",2)=0!($P(M2(PRV),"^",4)=0):0,1:($P(M3(PRV),"^",2)/$P(M2(PRV),"^",4))),"",2),13)
  • Line Location: MON+1
Function Call: WRITE
  • Prompt: $J($FN($S($P(M2(PRV),"^",3)=0!($P(M3(PRV),"^",3)=0):0,1:$P(M3(PRV),"^",3)/$P(M2(PRV),"^",3)),"",2),13)
  • Line Location: MON+2
Function Call: WRITE
  • Prompt: $J($FN($S($P(M3(PRV),"^",7)=0!($P(M1(PRV),"^",12)=0):0,1:($P(M3(PRV),"^",7)/$P(M1(PRV),"^",12))),"",2),13)
  • Line Location: MON+3
Function Call: WRITE
  • Prompt: $J($FN($S($P(M3(PRV),"^",7)=0!($P(M1(PRV),"^",10)=0):0,1:$P(M3(PRV),"^",7)/$P(M1(PRV),"^",10)),"",2),13),$J($FN($S($P(M3(PRV),"^",8)=0!($P(M1(PRV),"^",11)=0):0,1:$P(M3(PRV),"^",8)/$P(M1(PRV),"^",11)),"",2),13)
  • Line Location: MON+4
Function Call: WRITE
  • Prompt: $J($FN($P(M3(PRV),"^",7),"",2),13),$J($FN($P(M3(PRV),"^",8),"",2),13),$J($FN($P(M3(PRV),"^",9),"",2),13),$J($FN($S($P(M3(PRV),"^",9)=0!($P(M2(PRV),"^",13)=0):0,1:$P(M3(PRV),"^",9)/$P(M2(PRV),"^",13)),"",2),13),!
  • Line Location: MON+5
Function Call: WRITE
  • Prompt: !?13
  • Line Location: SUB+0
Function Call: WRITE
  • Prompt: $J("=======",13)
  • Line Location: SUB+0
Function Call: WRITE
  • Prompt: $J($FN($S($P(S2(DIV),"^",3)=0!($P(S3(DIV),"^",3)=0):0,1:$P(S3(DIV),"^",3)/$P(S2(DIV),"^",3)),"",2),13)
  • Line Location: SUB+2
Function Call: WRITE
  • Prompt: $J($FN($S($P(S3(DIV),"^",7)=0!($P(S1(DIV),"^",12)=0):0,1:($P(S3(DIV),"^",7)/$P(S1(DIV),"^",12))),"",2),13)
  • Line Location: SUB+3
Function Call: WRITE
  • Prompt: $J($FN($S($P(S3(DIV),"^",7)=0!($P(S1(DIV),"^",10)=0):0,1:$P(S3(DIV),"^",7)/$P(S1(DIV),"^",10)),"",2),13),$J($FN($S($P(S3(DIV),"^",8)=0!($P(S1(DIV),"^",11)=0):0,1:$P(S3(DIV),"^",8)/$P(S1(DIV),"^",11)),"",2),13)
  • Line Location: SUB+4
Function Call: WRITE
  • Prompt: $J($FN($P(S3(DIV),"^",7),"",2),13),$J($FN($P(S3(DIV),"^",8),"",2),13),$J($FN($P(S3(DIV),"^",9),"",2),13)
  • Line Location: SUB+5
Function Call: WRITE
  • Prompt: $J($FN($S($P(S3(DIV),"^",9)=0!($P(S2(DIV),"^",13)=0):0,1:$P(S3(DIV),"^",9)/$P(S2(DIV),"^",13)),"",2),13)
  • Line Location: SUB+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" DV+7
^PS(59 - [#59] RPT+1, PRI, SUB+1
^PS(59.12 - [#59.12] DV, DV+4, DV+5, DV+6, LN, LN+1, LN+2, LN+3

Label References

Name Line Occurrences
DV EN, PRI
LN DV+4
MON DV+2, SUB
PRI EN
RPT DV
SUB DV

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % DV+7
>> ANS EN, DV+7
AVGFEE LN+3*!
AVGST LN+2*!
>> BEG DV*, DV+1*
>> CNT EN*, RPT*
>> DIV EN, RPT+1, PRI*, DV, DV+1, DV+2, DV+4, DV+5, DV+6, LN
, LN+1, LN+2, LN+3, SUB+1, SUB+2, SUB+3, SUB+4, SUB+5, SUB+6
>> DVMN DV+1*, DV+2, DV+5, DV+6, LN+1, LN+2, LN+3
>> EDT RPT+1, DV
IO RPT
IOF RPT, DV+7
IOSL DV
>> K RPT+2*, RPT+3*, RPT+4*, DV+5*, DV+6*, LN*, LN+1*, MON*, SUB*
>> M1( DV+1*, DV+2*, DV+5*, MON+3, MON+4
>> M2( DV+1*, DV+2*, DV+6*, MON+1, MON+2, MON+5
>> M3( DV+1*, DV+2*, LN+1*, LN+2*, LN+3*, MON+1, MON+2, MON+3, MON+4, MON+5
>> PDATE DV*, DV+1, DV+2, DV+3, DV+4, DV+5, DV+6, LN, LN+1, LN+2
, LN+3
>> PG EN*, RPT*, PRI*
>> PRT RPT+1, DV*, SUB, SUB+1
>> PRV DV+1*, DV+2*, MON+1, MON+2, MON+3, MON+4, MON+5
>> S1( EN*, PRI*, DV+5*, SUB+3, SUB+4
>> S2( EN*, PRI*, DV+6*, SUB+1, SUB+2, SUB+6
>> S3( DV*, LN+1*, LN+2*, LN+3*, SUB+1, SUB+2, SUB+3, SUB+4, SUB+5, SUB+6
>> SDT RPT+1, DV
>> T1 EN*, DV+5*
>> T2 EN*, DV+6*
>> T3 PRI*, LN+1*, LN+2*, LN+3*
>> Y DV+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All