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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BMCFPRN2

Package: Referred Care Information System

Routine: BMCFPRN2


Information

BMCFPRN2 ; IHS/OIT/FCJ - PRINT REFERRAL FORM-SECONDARY PROVIDER ; [ 09/27/2006 2:27 PM ]

Source Information

Source file <BMCFPRN2.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Referred Care Information System 4 WP^BMCFDR  PRINT^BMCFDRP  OTHPAY^BMCFPRN1  $$AVDOS^BMCRLU  
IHS Patient 1 $$HRN^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
VA Fileman 1 ^DIR  

Entry Points

Name Comments DBIA/ICR reference
DEMO ;Demographic Data
HEAD ;
PRINT ;
WP ;
DATE ;
LINE ;CHS Supervisor Signature (if Type=CHS)
PERTMED1 ;
CONSULT ;PRNT CONSULT LETTER ;BMC*4.0*2 9-21-06 IHS/OIT/FCJ
ADDMED ;
C ;
D ;
I ;IHS Secondary Provider Referrals
L ;
REFTO ;
S ;
TEXT ;
W ;
REFFROM ;
WPTXT ;
; get site-specific text (if any)
PAYOR ;CALL BMCFPRN1 TO PRINT OTHER PAYOR INFORMATION
HEAD2 ;
HEAD1 ;
PERTMED ; FROM PRIMARY AND SECONDARY REFERAL
PERTMEDW ;WRITE PERT MED INFO
PURPOSE ;

External References

Name Field # of Occurrence
$$HRN^AUPNPAT DEMO+4
WP^BMCFDR WP+1
PRINT^BMCFDRP CONSULT+1
OTHPAY^BMCFPRN1 PAYOR+2
$$AVDOS^BMCRLU DATE+3
^DIR HEAD+2
$$VAL^XBDIQ1 PRINT+7, DEMO+3, DEMO+7, DEMO+8, DEMO+9, DEMO+10, DEMO+11, DATE+2, DATE+3, DATE+5
, DATE+7, DATE+8, PURPOSE+1, ADDMED+1, REFFROM+4, REFFROM+7, REFFROM+10, REFFROM+11, REFFROM+13, REFFROM+15
, REFFROM+16, REFFROM+17, REFFROM+18, REFFROM+19, REFFROM+21, REFFROM+23, REFFROM+24, REFFROM+25, REFFROM+27, REFFROM+28
, REFFROM+29, C+3, C+5, C+6, C+8, C+10, C+12, C+13, C+14, I+3
, I+4, I+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+2
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+4
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+5
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+6
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+7
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+8
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+9
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+10
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DEMO+11
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DATE+2
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DATE+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DATE+5
Function Call: WRITE
  • Prompt: !
  • Line Location: DATE+6
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DATE+7
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: DATE+8
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: PURPOSE+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: PURPOSE+4
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: PURPOSE+5
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: ADDMED+1
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+1
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+4
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+6
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+7
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+12
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+17
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+20
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+25
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+27
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+28
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: REFFROM+29
Function Call: WRITE
  • Prompt: !
  • Line Location: TEXT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: TEXT+7
Function Call: WRITE
  • Prompt: !!!!!
  • Line Location: LINE+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: LINE+4
Function Call: WRITE
  • Prompt: !
  • Line Location: LINE+5
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: LINE+6
Function Call: WRITE
  • Prompt:
  • Line Location: LINE+7
Function Call: WRITE
  • Prompt: #
  • Line Location: CONSULT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: W+5
Function Call: WRITE
  • Prompt: ?(IOM-$L(X)/2),X
  • Line Location: W+6
Function Call: WRITE
  • Prompt: ?%,X
  • Line Location: W+7
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+4
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+5
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+6
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+9
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: C+16
Function Call: WRITE
  • Prompt: !
  • Line Location: C+17
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: I+3
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: I+4
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: I+5
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: L+1
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: D+1
Function Call: WRITE
  • Prompt: Q:BMCQUIT
  • Line Location: S+1
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD+2
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $D(IOF)
  • Line Location: HEAD2+2
Function Call: WRITE
  • Prompt: !,?(IOM-20),"Page ",BMCPG
  • Line Location: HEAD2+2
Routine Call
  • DIR
  • Line Location:
    • HEAD+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTVNDR - [#9999999.11] C+7, C+11
^BMCCOM - [#90001.03] PERTMED1+3
^BMCCOM("AD" PERTMED1+2
^BMCPARM - [#90001.31] WPTXT+3, WPTXT+4, WPTXT+5, WPTXT+6
^BMCREF - [#90001] PRINT+2, PRINT+3, DATE+5, TEXT+3
^BMCTFORM - [#90001.33] PRINT+6

Label References

Name Line Occurrences
@( PRINT+4
ADDMED PERTMED+4
C REFTO+4
CONSULT LINE+2
HEAD PERTMEDW+4, TEXT+10, W+4
I REFTO+3
L REFTO+1, DATE+9
PAYOR REFFROM+4
PERTMED1 PERTMED+1, PERTMED+2
PERTMEDW PERTMED1+4
S PRINT+8, TEXT+1
W PRINT+6, PRINT+7, DEMO+2, DEMO+3, DEMO+4, DEMO+7, DEMO+8, DEMO+9, DEMO+10, DEMO+11
, DATE+2, DATE+3, DATE+5, DATE+7, DATE+8, PURPOSE+3, PURPOSE+4, PURPOSE+5, ADDMED+1, REFFROM+1
, REFFROM+4, REFFROM+6, REFFROM+7, REFFROM+12, REFFROM+17, REFFROM+20, REFFROM+25, REFFROM+27, REFFROM+28, REFFROM+29
, LINE+4, LINE+6, C+3, C+4, C+5, C+6, C+9, C+16, I+3, I+4
, I+5, L+1, D+1, S+1
WP PERTMEDW+2
WPTXT TEXT+5, TEXT+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% W+2~, W+3*, W+7*
>> BMCCHSAS TEXT+3*, TEXT+5, WPTXT+3, WPTXT+4, WPTXT+5
>> BMCCMT PERTMED1+1*, PERTMED1+2*, PERTMED1+3, PERTMED1+4
>> BMCCPRV C+1, C+2, I+1, I+2
>> BMCCPRVP C+3
>> BMCCPRVS C+4
>> BMCDA PERTMED1+4*, TEXT+5*, TEXT+6*, WPTXT+3*, WPTXT+4*, WPTXT+5*, WPTXT+6*
>> BMCDFN PRINT+2*
>> BMCFILE PERTMED1+4*, TEXT+5*, TEXT+6*, WPTXT+3*, WPTXT+4*, WPTXT+5*, WPTXT+6*
>> BMCFTYPE PRINT+6, TEXT+5, TEXT+6
BMCIOM PERTMEDW+1*, PERTMEDW+2!
>> BMCKIND REFTO+3, REFTO+4
>> BMCNODE PERTMEDW+1*, TEXT+5*, TEXT+6*, WPTXT+3*, WPTXT+4*, WPTXT+5*, WPTXT+6*
>> BMCPCON CONSULT+1
>> BMCPG PRINT+2*, HEAD2+1*, HEAD2+2*
>> BMCPHX PERTMED+1
>> BMCQUIT PRINT+5*, PRINT+8, DEMO+1, DEMO+2, DEMO+3, DEMO+4, DEMO+7, DEMO+8, DEMO+9, DEMO+10
, DEMO+11, REFTO+3, REFTO+4, DATE+2, DATE+3, DATE+5, DATE+7, DATE+8, PURPOSE+3, PURPOSE+4
, PURPOSE+5, PERTMEDW+3, PERTMEDW+4, ADDMED+1, REFFROM+1, REFFROM+4, REFFROM+6, REFFROM+7, REFFROM+12, REFFROM+17
, REFFROM+20, REFFROM+25, REFFROM+27, REFFROM+28, REFFROM+29, TEXT+9, TEXT+10, LINE+4, LINE+6, W+4
, C+3, C+4, C+5, C+6, C+9, C+16, I+3, I+4, I+5, L+1
, D+1, S+1, HEAD+2*
>> BMCR0 PRINT+2*, DEMO+4, DEMO+7, DEMO+8, DEMO+9, DEMO+10, DEMO+11, REFFROM+29, TEXT+7, WPTXT+2
, WPTXT+6
>> BMCR1 PRINT+3*, DATE+3, DATE+6, DATE+8, REFFROM+2, REFFROM+3, TEXT+5, TEXT+6, TEXT+7, LINE+2
>> BMCREF PRINT+2, DEMO+3, DATE+2, PERTMED+1*, PERTMED+2*, PERTMED+3*, PERTMED1+2, ADDMED+1, REFFROM+7, REFFROM+28
>> BMCRIEN PERTMED+1, PERTMED+3
>> BMCRSIEN I+3
>> BMCSRIEN PRINT+3, PRINT+7, DATE+2, DATE+3, DATE+5, DATE+7, DATE+8, PURPOSE+1, PERTMED+2, REFFROM+4
, REFFROM+27, TEXT+3
>> BMCV REFFROM+2*, REFFROM+10, REFFROM+11, REFFROM+12, REFFROM+13, REFFROM+14, REFFROM+15, REFFROM+16, REFFROM+17, REFFROM+18
, REFFROM+19, REFFROM+20, REFFROM+21, REFFROM+22, REFFROM+23, REFFROM+24, REFFROM+25, C+2*, C+3, C+5
, C+6, C+7, C+8, C+10, C+11, C+12, C+14, I+2*, I+3, I+4
, I+5
>> BMCVIEN C+7*, C+8, C+11*, C+13
BMCWP TEXT+2!
BMCWP( PERTMEDW+3, PERTMEDW+5, TEXT+9, TEXT+11
BMCWP(1 TEXT+7*
>> BMCX PURPOSE+3*, PURPOSE+4
>> BMCY TEXT+9*, TEXT+11
C PRINT+6*, PRINT+7*, DEMO+2*, DEMO+3*, DEMO+4*, DEMO+7*, DEMO+8*, DEMO+9*, DEMO+10*, DEMO+11*
, DATE+2*, DATE+3*, DATE+5*, DATE+7*, DATE+8*, PURPOSE+3*, PURPOSE+4*, PURPOSE+5*, ADDMED+1*, REFFROM+1*
, REFFROM+4*, REFFROM+6*, REFFROM+7*, REFFROM+12*, REFFROM+17*, REFFROM+20*, REFFROM+25*, REFFROM+27*, REFFROM+28*, REFFROM+29*
, LINE+4*, LINE+6*, W+6, C+3*, C+4*, C+5*, C+6*, C+9*, C+16*, I+3*
, I+4*, I+5*, L+1*, D+1*, S+1*, HEAD+1~
DIR HEAD+2!
DIR(0 HEAD+2*
>> DTOUT HEAD+2
DUZ(2 DEMO+4, REFFROM+7, WPTXT+3, WPTXT+4, WPTXT+5, WPTXT+6
>> I W+5*
IO HEAD+2
IO(0 HEAD+2
IOF HEAD1+1, HEAD2+2
IOM PURPOSE+2, PURPOSE+3, PURPOSE+4, REFFROM+1, W+6, L+1, D+1, S+1, HEAD2+2
IOSL PERTMEDW+4, TEXT+10, W+4
IOST PRINT+4, HEAD+2
N PRINT+6*, PRINT+7*, DEMO+2*, DEMO+3*, DEMO+4*, DEMO+7*, DEMO+8*, DEMO+9*, DEMO+10*, DEMO+11*
, DATE+2*, DATE+3*, DATE+5*, DATE+7*, DATE+8*, PURPOSE+3*, PURPOSE+4*, PURPOSE+5*, ADDMED+1*, REFFROM+1*
, REFFROM+4*, REFFROM+6*, REFFROM+7*, REFFROM+12*, REFFROM+17*, REFFROM+20*, REFFROM+25*, REFFROM+27*, REFFROM+28*, REFFROM+29*
, LINE+4*, LINE+6*, W+5, C+3*, C+4*, C+5*, C+6*, C+9*, C+16*, I+3*
, I+4*, I+5*, L+1*, D+1*, S+1*, HEAD+1~
T PRINT+7*, DEMO+2*, DEMO+3*, DEMO+4*, DEMO+7*, DEMO+8*, DEMO+9*, DEMO+10*, DEMO+11*, DATE+2*
, DATE+3*, DATE+5*, DATE+7*, DATE+8*, PURPOSE+3*, PURPOSE+4*, PURPOSE+5*, ADDMED+1*, REFFROM+1*, REFFROM+4*
, REFFROM+6*, REFFROM+7*, REFFROM+12*, REFFROM+17*, REFFROM+20*, REFFROM+25*, REFFROM+27*, REFFROM+28*, REFFROM+29*, LINE+4*
, LINE+6*, W+7, C+3*, C+4*, C+5*, C+6*, C+9*, C+16*, I+3*, I+4*
, I+5*, L+1*, D+1*, S+1*, HEAD+1~
U PRINT+2, PRINT+6, DEMO+4, DEMO+7, DEMO+8, DEMO+9, DEMO+10, DEMO+11, DATE+3, DATE+5
, DATE+6, DATE+8, PERTMED1+3, REFFROM+2, REFFROM+3, REFFROM+29, TEXT+3, TEXT+5, TEXT+6, TEXT+7
, LINE+2, C+7, C+11, WPTXT+2, WPTXT+6
X PRINT+6*, PRINT+7*, DEMO+2*, DEMO+3*, DEMO+4*, DEMO+7*, DEMO+8*, DEMO+9*, DEMO+10*, DEMO+11*
, DATE+2*, DATE+3*, DATE+5*, DATE+7*, DATE+8*, PURPOSE+1*, PURPOSE+2, PURPOSE+3*, PURPOSE+4*, ADDMED+1*
, REFFROM+1*, REFFROM+4*, REFFROM+6*, REFFROM+7*, REFFROM+11*, REFFROM+12, REFFROM+13*, REFFROM+14, REFFROM+15*, REFFROM+16*
, REFFROM+17*, REFFROM+19*, REFFROM+20, REFFROM+21*, REFFROM+22, REFFROM+23*, REFFROM+24*, REFFROM+25*, REFFROM+27*, REFFROM+28*
, REFFROM+29*, LINE+4*, LINE+6*, W+1, W+3, W+6, W+7, C+3*, C+4*, C+5*
, C+6*, C+8*, C+12*, C+13*, C+14*, C+15*, I+3*, I+4*, I+5*, L+1*
, D+1*, S+1*, HEAD+1~
Y PERTMEDW+3*, PERTMEDW+5, REFFROM+3*, REFFROM+4, HEAD+1~, HEAD+2
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All