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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BMCRR7P

Package: Referred Care Information System

Routine: BMCRR7P


Information

BMCRR7P ; IHS/PHXAO/TMJ - PRNT BILL VSTS ;

Source Information

Source file <BMCRR7P.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 3 $$GET1^DIQ  ^DIR  ^DIWP  
Referred Care Information System 2 DONE^BMCRLP2  ($$CASEMAN,$$FACREF)^BMCRLU  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Kernel 1 $$FMTE^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
PRINT1 ;
HEAD ;ENTRY POINT
HEAD2 ;
HEAD1 ;
START ;
DONE ;
PRINT ;print one referral

External References

Name Field # of Occurrence
DONE^BMCRLP2 DONE+2
$$CASEMAN^BMCRLU PRINT1+13
$$FACREF^BMCRLU PRINT1+7
$$GET1^DIQ PRINT1+16
^DIR HEAD+1
^DIWP PRINT1+17
$$VAL^XBDIQ1 PRINT1+6, PRINT1+12, PRINT1+14
$$FMTE^XLFDT PRINT1+2, PRINT1+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No referrals to report",!
  • Line Location: START+3
Function Call: WRITE
  • Prompt: !,$$FMTE^XLFDT($P(BMCRREC,U),"5D")
  • Line Location: PRINT1+2
Function Call: WRITE
  • Prompt: ?12,$E($P(^DPT(DFN,0),U),1,18)
  • Line Location: PRINT1+3
Function Call: WRITE
  • Prompt: ?32,BMCHRN
  • Line Location: PRINT1+5
Function Call: WRITE
  • Prompt: ?43,$S($P(BMCRREC,U,6):$$VAL^XBDIQ1(200,$P(BMCRREC,U,6),1),1:"--")
  • Line Location: PRINT1+6
Function Call: WRITE
  • Prompt: ?49,$E(BMCFAC,1,16)
  • Line Location: PRINT1+9
Function Call: WRITE
  • Prompt: ?67,$S($P($G(^BMCREF(BMCREF,11)),U,6)]"":$$FMTE^XLFDT($P($G(^BMCREF(BMCREF,11)),U,6),"2D")_" (A)",$P($G(^BMCREF(BMCREF,11)),U,5):$$FMTE^XLFDT($P($G(^BMCREF(BMCREF,11)),U,5),"2D")_" (E)",1:"")
  • Line Location: PRINT1+10
Function Call: WRITE
  • Prompt: !?5,"# Visits:",?16,$P($G(^BMCREF(BMCREF,11)),U,11)
  • Line Location: PRINT1+11
Function Call: WRITE
  • Prompt: ?20,"Type: ",$$VAL^XBDIQ1(90001,BMCREF,.04)
  • Line Location: PRINT1+12
Function Call: WRITE
  • Prompt: ?50,"Case Manager: ",$E($$CASEMAN^BMCRLU(BMCREF),1,15)
  • Line Location: PRINT1+13
Function Call: WRITE
  • Prompt: !,?5,"IHS Referring Physician: "_$$VAL^XBDIQ1(90001,BMCREF,.06)
  • Line Location: PRINT1+14
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT1+15
Function Call: WRITE
  • Prompt: !?6,^UTILITY($J,"W",DIWL,Z,0)
  • Line Location: PRINT1+18
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT1+19
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !?13,"********** CONFIDENTIAL PATIENT INFORMATION **********"
  • Line Location: HEAD2+2
Function Call: WRITE
  • Prompt: !?(80-$L($P(^DIC(4,DUZ(2),0),U))/2),$P(^DIC(4,DUZ(2),0),U),?72,"Page ",BMCPG,!
  • Line Location: HEAD2+3
Function Call: WRITE
  • Prompt: ?29,"OUTPATIENT REFERRAL LOG",!
  • Line Location: HEAD2+4
Function Call: WRITE
  • Prompt: !,"REF DATE",?11,"PATIENT NAME",?32," HRN",?43,"PROV",?49,"FACILITY REF TO",?67," D.O.S."
  • Line Location: HEAD2+5
Function Call: WRITE
  • Prompt: !,BMC80D
  • Line Location: HEAD2+6
Routine Call
  • DIR
  • Line Location:
    • HEAD+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BMCREF - [#90001] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] PRINT1+4
^AUTTLOC - [#9999999.06] PRINT1+4
^BMCREF - [#90001] PRINT+2, PRINT1+10, PRINT1+11, PRINT1+15
^DIC(4 - [#4] HEAD2+3
^DPT - [#2] PRINT1+3
^UTILITY($J PRINT1+18, PRINT1+20!
^XTMP("BMCRR7" START+3, START+5, DONE+1!, PRINT+2

Label References

Name Line Occurrences
@( START+3
DONE START+3, START+6, START+7
HEAD START+7, PRINT+1, PRINT1+1, PRINT1+18
PRINT START+5
PRINT1 PRINT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BMC80D START+2*, HEAD2+6
>> BMC80E START+1*
>> BMCBT START+3, START+5, DONE+1, PRINT+2
>> BMCFAC PRINT1+7*, PRINT1+8*, PRINT1+9
>> BMCHRN PRINT1+4*, PRINT1+5
>> BMCJOB START+3, START+5, DONE+1, PRINT+2
>> BMCP PRINT1+16*, PRINT1+17
>> BMCPG START+3*, PRINT+1, HEAD2+1*, HEAD2+3
BMCQUIT START+4!, START+5, START+6, START+7, PRINT+1, PRINT+2, PRINT1+1, PRINT1+18, HEAD+1*
>> BMCREF PRINT+2*, PRINT1+7, PRINT1+10, PRINT1+11, PRINT1+12, PRINT1+13, PRINT1+14, PRINT1+15, PRINT1+16
>> BMCRREC PRINT+2*, PRINT1+2, PRINT1+6
>> BMCSORT START+4*, START+5*, PRINT+2
>> BMCSPAGE PRINT+1
>> C PRINT1+18*
>> DFN PRINT+2*, PRINT1+3, PRINT1+4
DIR HEAD+1!
DIR(0 HEAD+1*
DIWF PRINT1+17*, PRINT1+20!
DIWL PRINT1+17*, PRINT1+18, PRINT1+20!
DIWR PRINT1+20!
>> DTOUT HEAD+1
DUZ(2 PRINT1+4, HEAD2+3
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL START+7, PRINT1+1, PRINT1+18
IOST START+3, HEAD+1
U PRINT+2, PRINT1+2, PRINT1+3, PRINT1+4, PRINT1+6, PRINT1+10, PRINT1+11, PRINT1+15, HEAD2+3
>> X PRINT1+17*
>> Y HEAD+1
Z PRINT1+18*, PRINT1+20!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All