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

Package: Referred Care Information System

Routine: BMCRR5P


Information

BMCRR5P ; IHS/PHXAO/TMJ - PRNT BILL VSTS ; [ 08/15/2006 11:54 AM ]

Source Information

Source file <BMCRR5P.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Kernel 2 ($$FMTE,$$HTFM)^XLFDT  $$LOW^XLFSTR  
Referred Care Information System 2 ($$AVDOS,$$AVLOS,$$FACREF)^BMCRLU  SECREF2^BMCRUTL  
VA Fileman 2 ^DIR  ^DIWP  
DRG Grouper 1 $$ICDDX^ICDEX  
IHS Patient 1 (,$$SSN,KILL)^AUPNPAT  
IHS VA Utilities 1 ($$VAL,ENP,ENPM)^XBDIQ1  
Registration 1 $$SETSTR^VALM1  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Referred Care Information System 1 BMCRR22P  

Entry Points

Name Comments DBIA/ICR reference
REQ ;
WP ;EP - Entry point to print wp fields pass node in BMCNODE
PRINT ;print one referral
DRG ;
PRINT1 ;
SET ;set array
WPS ;EP
3 ;CASE MANAGEMENT COMMENTS
2 ;BUSINESS OFFICE COMMENTS
4 ;DISCHARGE COMMENTS
HEAD ;
BUILD1 ;
DCHDT ;DISCHARGE DATE
S ;
XIT ;
BUILD ; build array
HEAD2 ;
HEAD1 ;
CHARTS ;print duz(2) chart then first 4 in mult.
COMMENTS ;EP
VFILES ;set up array of all v file entries
VF3 ;
VF2 ;

External References

Name Field # of Occurrence
^AUPNPAT BUILD+4
$$SSN^AUPNPAT BUILD+7
KILL^AUPNPAT XIT+4
$$AVDOS^BMCRLU REQ+7, VF3+4
$$AVLOS^BMCRLU REQ+7
$$FACREF^BMCRLU REQ+1
SECREF2^BMCRUTL REQ+5
^DIR HEAD+1
^DIWP WP+6
$$ICDDX^ICDEX VF3+5
$$SETSTR^VALM1 REQ+1, REQ+2, VF3+6, S+2, S+3, BUILD1+1, WPS+1
$$VAL^XBDIQ1 BUILD+7, BUILD+8, BUILD+12, BUILD+13, REQ+2, REQ+6, REQ+7, REQ+8, DRG+1, DCHDT+1
, COMMENTS+5
ENP^XBDIQ1 VF3+2, VF3+5
ENPM^XBDIQ1 BUILD+9, CHARTS+1
$$FMTE^XLFDT BUILD+7, COMMENTS+5, HEAD2+5
$$HTFM^XLFDT HEAD2+5
$$LOW^XLFSTR VF3+1, S+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No referrals to report",!
  • Line Location: BMCRR5P+12
Function Call: WRITE
  • Prompt: !!,$S(BMCSTYPE="F":"FACILITY REFERRED TO: ",BMCSTYPE="C":"CASE MANAGER: ",BMCSTYPE="P":"PATIENT NAME: ",1:"???: "),BMCSORT,!
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: BUILD+3
Function Call: WRITE
  • Prompt: ?59,"Ref #:"_X_$P($G(^BMCREF(BMCREF,1)),U)
  • Line Location: BUILD+8
Function Call: WRITE
  • Prompt: !,BMCSTR
  • Line Location: SET+2
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+1
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION ***** Referral Summary (TLOG) Page ",BMCPG
  • Line Location: HEAD2+3
Function Call: WRITE
  • Prompt: !,"RCIS RUN SITE: "_$P($G(^DIC(4,BMCOLOC,0)),U)
  • Line Location: HEAD2+4
Function Call: WRITE
  • Prompt: !,"Report Run Date: ",$$FMTE^XLFDT($$HTFM^XLFDT($H),"1P")
  • Line Location: HEAD2+5
Function Call: WRITE
  • Prompt: !,BMC80D
  • Line Location: HEAD2+6
Routine Call
  • DIR
  • Line Location:
    • HEAD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTLOC - [#9999999.06] CHARTS+2
^BMCCOM - [#90001.03] COMMENTS+3, COMMENTS+4
^BMCCOM("AD" 2+1, COMMENTS+2
^BMCREF - [#90001] PRINT1+1, PRINT1+4, BUILD+2, BUILD+8, REQ+3, REQ+4
^DD(90001 S+2
^DIC - [#1] VFILES+2, VF2+1, WP+4
^DIC(4 - [#4] HEAD2+4
^DPT - [#2] BUILD+6
^UTILITY($J WP+2!, WPS+1, WPS+3!
^XTMP("BMCRR5" BMCRR5P+12, BMCRR5P+14, XIT+1!, PRINT+5, PRINT+6, PRINT+7

Label References

Name Line Occurrences
@( BMCRR5P+12, BMCRR5P+13
BUILD PRINT1+5
COMMENTS 2+2, 3+1, 4+1
HEAD PRINT+1, PRINT+2, PRINT1+2, SET+1
PRINT BMCRR5P+14
PRINT1 PRINT+6, PRINT+7
SET BUILD+7, BUILD+11, BUILD+13, CHARTS+3, REQ+2, REQ+6, REQ+7, REQ+8, DRG+1, DCHDT+1
, COMMENTS+6, VF3+1, VF3+6, S+4, BUILD1+2, WPS+1
VF2 VFILES+2
VF3 VF2+2
VFILES DRG+2
WP COMMENTS+7
XIT BMCRR5P+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AUPNDOB BUILD+7
BMC1 XIT+3!, S+2
>> BMC15S BMCRR5P+11*, BUILD+6
BMC2 XIT+3!, S+3
>> BMC80D BMCRR5P+10*, HEAD2+6
>> BMC80E BMCRR5P+9*
BMCAR XIT+3!, BUILD+1!, BUILD+9!, CHARTS+1!, VF3+2!
BMCAR( BUILD+10, CHARTS+2, VF3+5*, VF3+6, S+1, S+3
BMCBT BMCRR5P+12, BMCRR5P+14, XIT+1, XIT+3!, PRINT+5, PRINT+6, PRINT+7
BMCCOL WPS+3!
BMCCTR XIT+3!, BUILD+5*
BMCCTYP XIT+2!, 2+2*, 3+1*, 4+1*, COMMENTS+3
>> BMCDOS VF3+4*, VF3+5
BMCFILE XIT+3!, WP+4, WPS+3!
BMCG XIT+3!, COMMENTS+7*, WP+4*, WP+5, WP+6, WPS+3!
BMCH XIT+3!, BUILD1+1
BMCI XIT+3!, COMMENTS+1*, COMMENTS+2*, COMMENTS+3, COMMENTS+4, COMMENTS+5, COMMENTS+7
>> BMCJOB BMCRR5P+12, BMCRR5P+14, XIT+1, PRINT+5, PRINT+6, PRINT+7
BMCNODE XIT+3!, WP+4, WPS+3!
>> BMCOLOC HEAD2+4
>> BMCOPT SET+1
BMCPG BMCRR5P+12*, XIT+3!, PRINT+1, HEAD2+2*, HEAD2+3
BMCQUIT BMCRR5P+13!, BMCRR5P+14, PRINT+1, PRINT+2, PRINT+5, PRINT+6, PRINT+7, PRINT1+2, BUILD+7, BUILD+11
, BUILD+13, CHARTS+3, REQ+2, REQ+6, REQ+7, REQ+8, DRG+1, 2+2, 3+1, 4+1
, DCHDT+1, COMMENTS+2, COMMENTS+6, VFILES+2, VF3+1, VF3+6, S+4, BUILD1+2, SET+1, WP+5
, WPS+1, HEAD+1*
BMCREF XIT+3!, PRINT+6*, PRINT+7*, PRINT1+1, PRINT1+4, BUILD+2, BUILD+8, REQ+1, REQ+2, REQ+3
, REQ+4, REQ+6, REQ+7, REQ+8, DRG+1, 2+1, DCHDT+1, COMMENTS+2, VF3+4, WP+4
>> BMCRNUMB REQ+3*
BMCRREC XIT+3!, PRINT1+1*, BUILD+2*, BUILD+4, BUILD+6
>> BMCSORT BMCRR5P+13*, BMCRR5P+14*, PRINT+3, PRINT+5, PRINT+6, PRINT+7
BMCSORTA XIT+2!, PRINT+5*, PRINT+6
>> BMCSPAGE PRINT+1, PRINT1+2
BMCSTR XIT+3!, BUILD+5*, BUILD+6*, BUILD+7*, BUILD+10*, BUILD+11*, BUILD+12*, BUILD+13*, CHARTS+2*, REQ+1*
, REQ+2*, REQ+6*, REQ+7*, REQ+8*, DRG+1*, 2+2*, 3+1*, 4+1*, DCHDT+1*, COMMENTS+5*
, VF3+1*, VF3+6*, S+2*, S+3*, BUILD1+1*, SET+2, SET+3*, WPS+1*
BMCSTST XIT+2!, REQ+4*
BMCSTYPA XIT+2!, PRINT+4
>> BMCSTYPE PRINT+3, PRINT+4
>> BMCTST PRINT+6*, PRINT+7*, PRINT1+2, HEAD2+1*
>> BMCTYPR PRINT1+4
BMCV XIT+3!, BUILD1+1
BMCVDFN XIT+3!, VF2+1*, VF2+2*, VF3+2, VF3+5
BMCVDG XIT+3!, VF2+1*
BMCVFLE XIT+3!, VFILES+2*, VF2+1, VF3+2, VF3+5
BMCVI XIT+3!, VF2+2*, VF3+1
BMCVIGR XIT+3!, VF2+1*, VF2+2
BMCVL XIT+3!, VFILES+2*
BMCVNM XIT+3!, VF2+1*, VF3+1
BMCX XIT+3!, WP+3*, WP+5*
BMCY XIT+3!
>> C CHARTS+2*, S+1*, S+2*, S+3
D0 VFILES+1~
DA VFILES+1~
DFN XIT+5!, PRINT1+1*, BUILD+7, BUILD+9, BUILD+12, BUILD+13, CHARTS+1
DI VFILES+1~
DIC VFILES+1~
DIQ VFILES+1~
DIR HEAD+1!
DIR(0 HEAD+1*
DIWF WP+5*, WPS+2!
DIWL WP+5*, WPS+1, WPS+2!
DIWR WP+5*, WPS+2!
DR VFILES+1~
>> DTOUT HEAD+1
DUZ(2 CHARTS+2
>> F CHARTS+2*, S+1*, S+2, S+3
>> I BUILD+10*, CHARTS+2*
IO HEAD+1
IO(0 HEAD+1
IOF HEAD1+1
IOSL PRINT+2, SET+1
IOST BMCRR5P+12, BMCRR5P+13, HEAD+1
U PRINT1+1, PRINT1+4, BUILD+4, BUILD+6, BUILD+8, CHARTS+2, REQ+3, REQ+4, COMMENTS+3, COMMENTS+4
, VF2+1, VF3+5, S+2, HEAD2+4
>> X BUILD+8*, WP+6*
>> Y BUILD+4*, REQ+1*, REQ+2*, COMMENTS+4*, COMMENTS+5, VF3+6*, S+2*, S+3*, WP+6*, HEAD+1
Z WPS+1*, WPS+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All