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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BMCRR15

Package: Referred Care Information System

Routine: BMCRR15


Information

BMCRR15 ; IHS/PHXAO/TMJ - IN HOUSE REFERRALS BY PROVIDER ;

Source Information

Source file <BMCRR15.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA Fileman 3 C^%DTC  MIX^DIC1  ^DIR  
Referred Care Information System 2 DONE^BMCRLP2  ZIS^BMCRUTL  
IHS Patient 1 KILL^AUPNPAT  
IHS VA Utilities 1 ^XBDBQUE  
Kernel 1 $$FMTE^XLFDT  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Referred Care Information System 1 BMC RPT-IN HOUSE BY PROV  

Entry Points

Name Comments DBIA/ICR reference
BD ;get beginning date
HEAD ;
END ;
D ;DATE RANGE
GETPROV ;
BROWSE ;
PROV ;
R1 ;
START ;
CLINIC ;
HEAD2 ;
XIT ;EP
HEAD1 ;
ED ;get ending date
PRINT ;EP called from xbdbque
DONE ;
PROCR ;
PROC ;EP called from xbdbque
ZIS ;call to XBDBQUE

External References

Name Field # of Occurrence
C^%DTC ED+4
KILL^AUPNPAT XIT+2
DONE^BMCRLP2 DONE+2
ZIS^BMCRUTL ZIS+1
MIX^DIC1 GETPROV+1
^DIR BD+1, ED+1, PROV+1, HEAD+1
^XBDBQUE ZIS+6, BROWSE+2
$$FMTE^XLFDT HEAD2+2, HEAD2+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report will tally all in-house referrals by provider of service.",!
  • Line Location: START+2
Function Call: WRITE
  • Prompt: "Report will include both Primary and Secondary Referrals.",!!
  • Line Location: START+3
Function Call: WRITE
  • Prompt: !
  • Line Location: BD+1
Function Call: WRITE
  • Prompt: !
  • Line Location: ED+1
Function Call: WRITE
  • Prompt: !!,"No IN-HOUSE REFERRALS",!
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !!,BMCPROV
  • Line Location: CLINIC+2
Function Call: WRITE
  • Prompt: !!,"Total Secondary Referrals = ",$S(BMCSRTOT="":0,1:BMCSRTOT)
  • Line Location: CLINIC+9
Function Call: WRITE
  • Prompt: !,"Total Primary Referrals = ",$S(BMCPRTOT="":0,1:BMCPRTOT)
  • Line Location: CLINIC+10
Function Call: WRITE
  • Prompt: !,"Total for ",BMCPROV,?55,$J(BMCSTOT,5)
  • Line Location: CLINIC+11
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !?55,$$FMTE^XLFDT(DT),?72,"Page ",BMCPG,!
  • Line Location: HEAD2+2
Function Call: WRITE
  • Prompt: ?20,"IN-HOUSE REFERRALS BY PROVIDER",!
  • Line Location: HEAD2+3
Function Call: WRITE
  • Prompt: ?14,"REFERRAL DATE RANGE: ",$$FMTE^XLFDT(BMCBD)," to ",$$FMTE^XLFDT(BMCED)
  • Line Location: HEAD2+4
Function Call: WRITE
  • Prompt: !!,"PROVIDER",?25,"CLINIC REFERRED TO",?55,"NUMBER"
  • Line Location: HEAD2+5
Function Call: WRITE
  • Prompt: !,$TR($J(" ",80)," ","-")
  • Line Location: HEAD2+6
Routine Call
  • DIR
  • Line Location:
    • BD+1
    • ED+1
    • PROV+1
    • HEAD+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BMCREF - [#90001] R1+1, PROCR+5
^BMCREF("B" PROC+2, PROC+3, R1+1
^DIC(40.7 - [#40.7] PROCR+3
^VA(200 - [#200] PROCR+4
^XTMP("BMCRR15" PROCR+6, PRINT+3, PRINT+4, DONE+1!, CLINIC+3, CLINIC+5
^XTMP("BMCRR16" PROCR+7, CLINIC+6, CLINIC+7

Label References

Name Line Occurrences
@( PRINT+1
BD ED+2
BROWSE ZIS+4
CLINIC PRINT+4
D PROV+2
DONE PRINT+3
GETPROV PROV+3
HEAD CLINIC+1, CLINIC+4, CLINIC+8
PROCR R1+1
PROV PROV+3
R1 PROC+3
XIT BD+2, ZIS+2, ZIS+3, ZIS+4, ZIS+7

Naked Globals

Name Field # of Occurrence
^( PROCR+6*, PROCR+7*, CLINIC+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BMCBD BD+3*, ED+1, ED+4, XIT+1!, HEAD2+4
BMCBT XIT+1!, PROC+1*
BMCBTH START+1*, XIT+1!, PROCR+6, PROCR+7, PRINT+3, PRINT+4, DONE+1, CLINIC+3, CLINIC+5, CLINIC+6
, CLINIC+7
BMCCLIN XIT+1!, CLINIC+3*, CLINIC+5
BMCED ED+3*, XIT+1!, PROC+3, HEAD2+4
BMCET XIT+1!, PROC+2*, END+1*
>> BMCJOB START+1*, PROCR+6, PROCR+7, PRINT+3, PRINT+4, DONE+1, CLINIC+3, CLINIC+5, CLINIC+6, CLINIC+7
BMCODAT XIT+1!, PROC+2*, PROC+3*, R1+1
>> BMCOPT ZIS+4
BMCPG XIT+1!, PRINT+1*, HEAD2+1*, HEAD2+2
BMCPROV PROV+1*, PROV+3, XIT+1!, GETPROV+3*, PROCR+1, PRINT+4*, CLINIC+2, CLINIC+3, CLINIC+5, CLINIC+6
, CLINIC+7, CLINIC+11
>> BMCPRTOT CLINIC+7*, CLINIC+10
BMCQUIT ZIS+2*, ZIS+3, XIT+1!, PRINT+2*, PRINT+4, CLINIC+1, CLINIC+3, CLINIC+4, CLINIC+8, HEAD+1*
BMCREF XIT+1!, R1+1*, PROCR+5
BMCRREC XIT+1!, R1+1*, PROCR+1, PROCR+2
BMCSD ED+4*, XIT+1!, PROC+2, PROC+3
>> BMCSRTOT CLINIC+6*, CLINIC+9
BMCSTOT XIT+1!, CLINIC+2*, CLINIC+5*, CLINIC+11
C XIT+1!, PROCR+2*, PROCR+3*, PROCR+6
D XIT+1!, GETPROV+1*!
DA PROV+1!
DFN XIT+1!, R1+1*
DIC XIT+1!, GETPROV+1*!
DIC("A" GETPROV+1*
DIC(0 GETPROV+1*
DIR BD+1!, ED+1!, PROV+1!, HEAD+1!
DIR("A" BD+1*, ED+1*, PROV+1*
DIR("B" PROV+1*
DIR(0 BD+1*, ED+1*, PROV+1*, HEAD+1*
DIRUT BD+1*, BD+2, ED+1*, ED+2, PROV+2, ZIS+2, XIT+1!
DT HEAD2+2
>> DTOUT HEAD+1
>> DUOUT BD+1, ED+1
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL CLINIC+1, CLINIC+4, CLINIC+8
IOST PRINT+1, HEAD+1
P XIT+1!, PROCR+2*, PROCR+4*, PROCR+6, PROCR+7
>> R PROCR+5*, PROCR+7
U R1+1, PROCR+1, PROCR+2, PROCR+3, PROCR+4, PROCR+5
X ED+4, XIT+1!
X1 ED+4*, XIT+1!
X2 ED+4*, XIT+1!
>> XBIOP BROWSE+2*
>> XBNS ZIS+5*, BROWSE+2*
>> XBRC ZIS+5*, BROWSE+2*
>> XBRP ZIS+5*, BROWSE+1*
>> XBRX ZIS+5*, BROWSE+2*
>> Y BD+3, ED+3, PROV+3, GETPROV+2, GETPROV+3, HEAD+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All