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

Package: Referred Care Information System

Routine: BMCRLP2


Information

BMCRLP2 ; IHS/PHXAO/TMJ - PRINT REFERRAL REPORT ;

Source Information

Source file <BMCRLP2.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Referred Care Information System 3 EP^BMCRD  DEL^BMCRL  DONE^BMCRLP1  
VA Fileman 2 COMMA^%DTC  ^DIR  

Caller Graph

Caller Graph Total: 23

Package Total Caller Graph
Referred Care Information System 23 BMCOUTRP  BMCRCRVP  BMCRLP  BMCRR10P  BMCRR12P  BMCRR13P  BMCRR14P  BMCRR15  
BMCRR16  BMCRR17P  BMCRR18P  BMCRR19P  BMCRR1P  BMCRR20P  BMCRR2P  BMCRR3P  
BMCRR4P  BMCRR6P  BMCRR7P  BMCRR8P  BMCRR9P  BMCRRNDA  BMCRRSPP  

Entry Points

Name Comments DBIA/ICR reference
HEAD ;ENTRY POINT
R ;EP record display
DONE ;EP
HEAD1 ;EP
N ;EP

External References

Name Field # of Occurrence
COMMA^%DTC N+8, N+10, N+12, N+14, N+22, N+24, N+26, N+28
EP^BMCRD R+2
DEL^BMCRL DONE+3
DONE^BMCRLP1 DONE+1
^DIR HEAD+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+2
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),BMCTEXT,?(BMCTCW-8),"Page ",BMCPG
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),BMCTITL,?(BMCTCW-8),"Page ",BMCPG
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),"Referral Dates: ",BMCBDD," and ",BMCEDD,!
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),"Search Template: ",$P(^DIBT(BMCSEAT,0),U),!
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: " BY ",BMCSORV,!
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),$S(BMCPTVS="R":"REFERRAL",1:"PATIENT")," SUB-TOTALS BY: ",BMCSORV,!
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !?((BMCTCW-BMCLENG)/2),BMCSORV,": ",BMCSRTR,!
  • Line Location: HEAD1+8
Function Call: WRITE
  • Prompt: !,BMCHEAD,!
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: BMCDASH,!
  • Line Location: HEAD1+11
Function Call: WRITE
  • Prompt: !,BMCSORV,":"
  • Line Location: HEAD1+12
Function Call: WRITE
  • Prompt: !!,"No records selected."
  • Line Location: N+2
Function Call: WRITE
  • Prompt: !!?5,"TOTALS"
  • Line Location: N+19
Function Call: WRITE
  • Prompt: !!?10,"Total referrals selected",?45,$J($P(BMCR,U),12)
  • Line Location: N+20
Function Call: WRITE
  • Prompt: !?10,"Total referrals w/",$P(^BMCTSORT(BMCNSRT,0),U),?45,$J($P(BMCR,U,6),12)
  • Line Location: N+21
Function Call: WRITE
  • Prompt: !?10,"Sum",?45,$J(X,14)
  • Line Location: N+23
Function Call: WRITE
  • Prompt: !?10,"Mean",?45,$J(X,14,2)
  • Line Location: N+25
Function Call: WRITE
  • Prompt: !?10,"Maximum Value",?45,$J(X,14)
  • Line Location: N+27
Function Call: WRITE
  • Prompt: !?10,"Minimum Value",?45,$J(X,14)
  • Line Location: N+29
Routine Call
  • DIR
  • Line Location:
    • HEAD+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BMCTSORT - [#90001.81] HEAD1+6, N+7, N+8, N+10, N+12, N+14, N+21, N+22, N+24, N+26
, N+28
^TMP("BMCRDSP" R+3, R+5
^XTMP("BMCRL" DONE+2!, N+2, N+3, N+18

Label References

Name Line Occurrences
HEAD N+1, N+4, N+17, R+1, R+4
HEAD1 HEAD+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AUPNDAYS DONE+4!
AUPNDOB DONE+4!
AUPNDOD DONE+4!
AUPNPAT DONE+4!
AUPNSEX DONE+4!
BMCBD DONE+4!
BMCBDD DONE+4!
BMCBT DONE+2, DONE+4!
BMCBTH DONE+4!, N+2, N+3, N+18
BMCCRIT DONE+4!
>> BMCCTYP HEAD1+6, HEAD1+7, HEAD1+10, HEAD1+12
BMCDASH DONE+4!, HEAD1+11
BMCED DONE+4!
BMCEDD DONE+4!
BMCFIEL DONE+5!
BMCFILE DONE+5!
BMCFOUN DONE+5!
BMCFRST DONE+5!
BMCHDR DONE+4!
BMCHEAD DONE+4!, HEAD1+9
BMCI DONE+4!
BMCJOB DONE+2, DONE+4!, N+2, N+3, N+18
BMCL DONE+4!
BMCLENG DONE+4!, HEAD1+2*, HEAD1+3*, HEAD1+6*, HEAD1+7*, HEAD1+8*
BMCLHDR DONE+5!
BMCLINE DONE+4!
>> BMCNSRT HEAD1+6, N+7, N+8, N+10, N+12, N+14, N+21, N+22, N+24, N+26
, N+28
BMCODAT DONE+4!
BMCPCNT DONE+4!
BMCPG DONE+4!, HEAD+1, HEAD1+1*, HEAD1+2, HEAD1+3
BMCPRNM DONE+5!
BMCPRNT DONE+5!
>> BMCPTVS HEAD1+2, HEAD1+7
BMCQUIT DONE+4!, HEAD+2*, N+3, N+4, R+3, R+4
BMCR N+3*, N+6, N+7, N+8, N+10, N+12, N+14, N+18*, N+20, N+21
, N+22, N+24, N+26, N+28, N+30!
BMCRCNT DONE+4!
BMCREF DONE+4!, N+3*, N+5, N+30!, R+2
BMCRPT DONE+4!
BMCRREC DONE+4!
BMCSD DONE+4!
BMCSEAT DONE+5!
BMCSORT DONE+5!, HEAD1+6
>> BMCSORV HEAD1+6, HEAD1+7, HEAD1+8, HEAD1+12
BMCSORX DONE+5!
>> BMCSPAG HEAD1+8
BMCSRT DONE+5!
>> BMCSRTR HEAD1+8
BMCTCW DONE+4!, HEAD1+2, HEAD1+3, HEAD1+7, HEAD1+8
BMCTEST DONE+5!
>> BMCTEXT HEAD1+2*
>> BMCTITL HEAD1+2, HEAD1+3
BMCTST DONE+5!
BMCTYPE DONE+5!
BMCX DONE+5!, R+3*, R+5
D0 DONE+5!
DIR HEAD+2!
DIR(0 HEAD+2*
>> DTOUT HEAD+2
IO HEAD+2
IO(0 HEAD+2
IOF HEAD1+1
IOSL N+4, N+17, R+4
IOST HEAD+2
J DONE+5!
K DONE+5!
L DONE+5!
U HEAD1+6, N+6, N+7, N+8, N+10, N+12, N+14, N+20, N+21, N+22
, N+24, N+26, N+28
>> X N+8*, N+9, N+10*, N+11, N+12*, N+13, N+14*, N+15, N+22*, N+23
, N+24*, N+25, N+26*, N+27, N+28*, N+29
>> X2 N+8*, N+10*, N+12*, N+14*, N+22*, N+24*, N+26*, N+28*
>> X3 N+8*, N+10*, N+12*, N+14*, N+22*, N+24*, N+26*, N+28*
>> Y HEAD+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All