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

Package: IHS Accounts Receivable

Routine: BARRNBRB


Information

BARRNBRB ; IHS/SD/POT - Non Ben Payment Report PART 2

Source Information

Source file <BARRNBRB.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
IHS Accounts Receivable 4 WHD^BARRHD  PAZ^BARRUTL  EOP^BARUTL  $$EN^BARVDF  

Entry Points

Name Comments DBIA/ICR reference
DETBEAL ;
; For each Billing Entity/Allowance category (Detail format) do...
DETLOC ;
; For each visit location (Detail format) do...
BILL ;
; Summary / by payer / By Bill
; Print report if user selected SORT CRITERIA Billing Entity or
; Allowance Category and Report Type with payers AND bills
ACCTTOT ;
; A/R Account totals (bill)
STNDLN2(BARBL) ;
STNDLINE ;
HDB ; EP
; Page and column header
PRINT ; EP
BILLLOOP ;^TMP(4212,"BAR-NBR9",29055,5496)="3060413.141933^29055A-IH-12770^101^101^0^12770"
SUMLOC ;
; For each visit location (Summary format) do...
HD ; EP
BILLLOC ;
; For each visit location (Detail format) do...
SUMLTOT ;
; Visit Location totals (summary, detail, bill)
DETDET ;
STNDLTOT ;
; Visit Location Totals (Standard format)
SUMTOT ;
; Report totals (summary, detail, bill)
BEALTOT ;
; Billing Entity / Allowance Category totals (detail, bill)
STNDDET ;
; For each Clinic/Visit Type/AR Account/Dsch Svc (Standard) do...
MDY(BARD) ; format Date from FM to MM/DD/YYYY
BILLACCT ;
; For each A/R Account (Bill detail) do ...
HDRBAR(BARMODE) ;
BILLDET ;
; For each Bill (Bill Format) do...
B13(BARBL) ;
SUMMARY ;
; Print report if user selected SORT CRITERIA Billing Entity or
; Allowance Category and Report Type w/o payers
XIT ;
SUMDET ;
STANDARD ;
; Print report if user selected SORT CRITERIA a/r account, visit, or
; clinic
B15(BARBL) ;
STNDTOT ;
; Report Totals (Standard format)
DETAIL ;
; Print report if user selected SORT CRITERIA Billing Entity or
; Allowance Category and Report Type with payers
BILLBEAL ;
; For each Billing Entity/Allowance category (Detail format) do...
STNDLOC ;
; For each Visit Location (Standard Format) Do...
BILLLINE ;SUM FOR BILL (XXXX (A,B,C)

External References

Name Field # of Occurrence
WHD^BARRHD HDB+4
PAZ^BARRUTL HD+1
EOP^BARUTL STANDARD+7, SUMMARY+7, DETAIL+6, BILL+7
$$EN^BARVDF BILLBEAL+2, BILLBEAL+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: STANDARD+6
Function Call: WRITE
  • Prompt: !,"*** VISIT Location: ",BAR("SUB1"),!
  • Line Location: STNDLOC+5
Function Call: WRITE
  • Prompt: !,$E(BARNAME,1,19)
  • Line Location: STNDDET+5
Function Call: WRITE
  • Prompt: !,BARDASH,!
  • Line Location: STNDLTOT+3
Function Call: WRITE
  • Prompt: "*** VISIT Loc Total"
  • Line Location: STNDLTOT+5
Function Call: WRITE
  • Prompt: !,BAREQUAL,!
  • Line Location: STNDTOT+3
Function Call: WRITE
  • Prompt: "***** REPORT TOTAL"
  • Line Location: STNDTOT+5
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: SUMMARY+6
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMMARY+12
Function Call: WRITE
  • Prompt: !,"*** VISIT Location: ",BAR("SUB1"),!
  • Line Location: SUMLOC+5
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMLOC+8
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: DETAIL+5
Function Call: WRITE
  • Prompt: !
  • Line Location: DETAIL+11
Function Call: WRITE
  • Prompt: !,"*** VISIT Location: ",BAR("SUB1"),!
  • Line Location: DETLOC+5
Function Call: WRITE
  • Prompt: !,BAR("SUB3")
  • Line Location: DETBEAL+2
Function Call: WRITE
  • Prompt: !
  • Line Location: DETBEAL+5
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: BILL+6
Function Call: WRITE
  • Prompt: !
  • Line Location: BILL+11
Function Call: WRITE
  • Prompt: !,"*** VISIT Location: ",BAR("SUB1"),!
  • Line Location: BILLLOC+5
Function Call: WRITE
  • Prompt: !
  • Line Location: BILLLOC+8
Function Call: WRITE
  • Prompt: $$EN^BARVDF("HIN")
  • Line Location: BILLBEAL+2
Function Call: WRITE
  • Prompt: $$EN^BARVDF("HIF")
  • Line Location: BILLBEAL+4
Function Call: WRITE
  • Prompt: !
  • Line Location: BILLDET+9
Function Call: WRITE
  • Prompt: !,$P(BAR("SUB5"),"-")
  • Line Location: BILLDET+12
Function Call: WRITE
  • Prompt: !,BARFULL
  • Line Location: BILLLOOP+10
Function Call: WRITE
  • Prompt: !
  • Line Location: BILLLOOP+18
Function Call: WRITE
  • Prompt: !
  • Line Location: BILLLOOP+19
Function Call: WRITE
  • Prompt: ?10,$$MDY(BARTR\1)
  • Line Location: BILLLOOP+20
Function Call: WRITE
  • Prompt: ?36,$J($FN(0,",",2),14)
  • Line Location: BILLLOOP+23
Function Call: WRITE
  • Prompt: ?51,$J($FN(0,",",2),14)
  • Line Location: BILLLOOP+24
Function Call: WRITE
  • Prompt: !,BARDASH
  • Line Location: BILLLOOP+26
Function Call: WRITE
  • Prompt: !,"*** ",BARBILL," Total"
  • Line Location: BILLLOOP+28
Function Call: WRITE
  • Prompt: ?20,$J($FN(BARD1,",",2),15)
  • Line Location: STNDLN2+1
Function Call: WRITE
  • Prompt: ?36,$J($FN(BARD2,",",2),14)
  • Line Location: STNDLN2+2
Function Call: WRITE
  • Prompt: ?51,$J($FN(BARD3,",",2),14)
  • Line Location: STNDLN2+3
Function Call: WRITE
  • Prompt: "*"
  • Line Location: STNDLN2+4
Function Call: WRITE
  • Prompt: ?66,$J($FN(BARD4,",",2),13)
  • Line Location: STNDLN2+5
Function Call: WRITE
  • Prompt: BAREQUAL,!
  • Line Location: SUMTOT+4
Function Call: WRITE
  • Prompt: "***** REPORT Total"
  • Line Location: SUMTOT+5
Function Call: WRITE
  • Prompt: BARDASH,!
  • Line Location: SUMLTOT+4
Function Call: WRITE
  • Prompt: "*** VISIT Loc Total"
  • Line Location: SUMLTOT+5
Function Call: WRITE
  • Prompt: BARDASH,!
  • Line Location: BEALTOT+5
Function Call: WRITE
  • Prompt: " ** Total"
  • Line Location: BEALTOT+6
Function Call: WRITE
  • Prompt: !,BARDASH,!
  • Line Location: ACCTTOT+5
Function Call: WRITE
  • Prompt: " * A/R Acct Total"
  • Line Location: ACCTTOT+6
Function Call: WRITE
  • Prompt: !
  • Line Location: ACCTTOT+8
Function Call: WRITE
  • Prompt: ?20,$J($FN($P(BARTMP,U),",",2),15)
  • Line Location: BILLLINE+4
Function Call: WRITE
  • Prompt: ?36,$J($FN($P(BARTMP,U,2),",",2),14)
  • Line Location: BILLLINE+5
Function Call: WRITE
  • Prompt: ?51,$J($FN($P(BARTMP,U,3),",",2),14)
  • Line Location: BILLLINE+6
Function Call: WRITE
  • Prompt: ?66,$J($FN($P(BARTMP,U,4),",",2),13)
  • Line Location: BILLLINE+7
Function Call: WRITE
  • Prompt: ?20,$J($FN($P(BARTMP,U),",",2),15)
  • Line Location: STNDLINE+1
Function Call: WRITE
  • Prompt: ?36,$J($FN($P(BARTMP,U,2),",",2),14)
  • Line Location: STNDLINE+2
Function Call: WRITE
  • Prompt: ?51,$J($FN($P(BARTMP,U,3),",",2),14)
  • Line Location: STNDLINE+3
Function Call: WRITE
  • Prompt: ?66,$J($FN($P(BARTMP,U,4),",",2),13)
  • Line Location: STNDLINE+4
Function Call: WRITE
  • Prompt: !,BAR("DASH"),!
  • Line Location: HDB+7
Function Call: WRITE
  • Prompt: !,"Bill",?10,"Pt Payment",?29,"Amount",?43,"Insurance",?58,"Patient"
  • Line Location: HDRBAR+2
Function Call: WRITE
  • Prompt: !,"Number",?9,"Posted Date",?29,"Billed",?43,"Payment",?58,"Payment",?72,"Balance"
  • Line Location: HDRBAR+3
Function Call: WRITE
  • Prompt: !,"Bill",?29,"Amount",?43,"Insurance",?58,"Patient"
  • Line Location: HDRBAR+5
Function Call: WRITE
  • Prompt: !,"Number",?29,"Billed",?43,"Payment",?58,"Payment",?72,"Balance"
  • Line Location: HDRBAR+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J STANDARD+5, STANDARD+9, STANDARD+11, STNDLOC+7, STNDDET+3, STNDLTOT+4, STNDTOT+4, SUMMARY+5, SUMMARY+9, SUMMARY+11
, SUMLOC+7, DETAIL+4, DETAIL+8, DETAIL+10, DETLOC+7, DETBEAL+4, BILL+5, BILL+9, BILL+10, BILLLOC+7
, BILLBEAL+6, BILLACCT+3, BILLDET+3, BILLDET+11, BILLLOOP+5, BILLLOOP+6, BILLLOOP+12, BILLLOOP+13, SUMTOT+3, SUMLTOT+3
, BEALTOT+4, ACCTTOT+4, BILLLINE+3, XIT+1!, XIT+2!

Label References

Name Line Occurrences
$$MDY BILLLOOP+20
ACCTTOT BILLACCT+4
BEALTOT DETBEAL+6, BILLBEAL+7
BILL PRINT+10
BILLACCT BILLBEAL+6
BILLBEAL BILLLOC+7
BILLDET BILLACCT+3
BILLLINE BILLDET+7
BILLLOC BILL+10
BILLLOOP BILLDET+6
DETBEAL DETLOC+7
DETDET DETBEAL+4
DETLOC DETAIL+10
HD STNDLOC+2, STNDDET+2, SUMLOC+2, DETLOC+2, BILLLOC+2, BILLDET+2
HDB STANDARD+4, SUMMARY+4, DETAIL+3, BILL+4
HDRBAR HDB+5
STNDDET STNDLOC+7
STNDLINE STNDDET+6, STNDLTOT+6, STNDTOT+6, BILLDET+13, SUMTOT+6, SUMLTOT+6, BEALTOT+7, ACCTTOT+7
STNDLN2 BILLLOOP+21
STNDLOC STANDARD+11
STNDLTOT STNDLOC+8
STNDTOT STANDARD+12
SUMDET SUMLOC+7
SUMLOC SUMMARY+11
SUMLTOT SUMLOC+9, DETLOC+8, BILLLOC+9
SUMTOT SUMMARY+13, DETAIL+12, BILL+12
XIT PRINT+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BAR( PRINT+4!
>> BAR("DASH" HDB+6*, HDB+7
>> BAR("F1" STANDARD+11, STNDLOC+3, STNDLOC+7, STNDDET+2, STNDLTOT+2, STNDTOT+2, SUMMARY+11, SUMLOC+3, SUMLOC+7, DETAIL+10
, DETLOC+3, DETLOC+7, DETBEAL+4, BILL+10, BILLLOC+3, BILLLOC+7, BILLBEAL+6, BILLACCT+3, BILLDET+2, BILLLOOP+5
, BILLLOOP+12, SUMTOT+2, SUMLTOT+2, BEALTOT+3, ACCTTOT+3, HD+2*
>> BAR("I" HDB+3*
>> BAR("PG" PRINT+6*, HDB+2*
>> BAR("SUB" PRINT+5!
>> BAR("SUB1" STANDARD+10*, STANDARD+11*, STNDLOC+2, STNDLOC+4, STNDLOC+5, STNDLOC+7, STNDDET+3, STNDLTOT+4, SUMMARY+10*, SUMMARY+11*
, SUMLOC+2, SUMLOC+4, SUMLOC+5, SUMLOC+7, DETAIL+9*, DETAIL+10*, DETLOC+2, DETLOC+4, DETLOC+5, DETLOC+7
, DETBEAL+4, BILL+10*, BILLLOC+2, BILLLOC+4, BILLLOC+5, BILLLOC+7, BILLBEAL+6, BILLACCT+3, BILLDET+3, BILLDET+11
, SUMLTOT+3, BEALTOT+4, ACCTTOT+4
>> BAR("SUB2" STNDLOC+6*, STNDLOC+7*, STNDDET+3, STNDDET+4
>> BAR("SUB3" SUMLOC+6*, SUMLOC+7*, DETLOC+6*, DETLOC+7*, DETBEAL+2, DETBEAL+4, BILLLOC+6*, BILLLOC+7*, BILLBEAL+6, BILLACCT+3
, BILLDET+3, BILLDET+11, BEALTOT+4, ACCTTOT+4
>> BAR("SUB4" DETBEAL+3*, DETBEAL+4*, BILLBEAL+5*, BILLBEAL+6*, BILLACCT+3, BILLDET+3, BILLDET+11, ACCTTOT+4
>> BAR("SUB5" BILLACCT+2*, BILLACCT+3*, BILLDET+3, BILLDET+11, BILLDET+12, BILLLOOP+4, BILLLINE+2
>> BAR(133 HDB+6
>> BARAMT BILLLOOP+15*, BILLLOOP+17
BARBILL BILLLOOP+3~, BILLLOOP+4*, BILLLOOP+5, BILLLOOP+6, BILLLOOP+12, BILLLOOP+13, BILLLOOP+28, BILLLINE+1~, BILLLINE+2*, BILLLINE+3
BARBL BILLLOOP+3~, BILLLOOP+5*, BILLLOOP+6, BILLLOOP+12, BILLLOOP+13, BILLLOOP+21, STNDLN2~, B13~, B15~
BARCNT BILLLOOP+3~, BILLLOOP+11*, BILLLOOP+18*, BILLLOOP+22, STNDLN2+1, STNDLN2+5
BARD MDY~, MDY+2, MDY+3, MDY+4
BARD1 BILLLOOP+3~, BILLLOOP+8*, STNDLN2+1
BARD2 BILLLOOP+3~, BILLLOOP+16*, BILLLOOP+17*, STNDLN2+2
BARD3 BILLLOOP+3~, BILLLOOP+16*, BILLLOOP+17*, BILLLOOP+20, STNDLN2+3
BARD4 BILLLOOP+3~, BILLLOOP+9*, STNDLN2+5
>> BARDASH PRINT+7*, STNDLTOT+3, BILLLOOP+26, SUMLTOT+4, BEALTOT+5, ACCTTOT+5
>> BAREQUAL PRINT+8*, STNDTOT+3, SUMTOT+4
>> BARFLG BILLLOOP+15*, BILLLOOP+17, STNDLN2+4
BARFMDD MDY+1~, MDY+3*, MDY+5
BARFMMM MDY+1~, MDY+2*, MDY+5
BARFMYY MDY+1~, MDY+4*, MDY+5
>> BARFULL BILLLOOP+7*, BILLLOOP+10
>> BARHOLD("SUB1" STANDARD+9*, STNDLOC+2, STNDLOC+4*, SUMMARY+9*, SUMLOC+2, SUMLOC+4*, DETAIL+8*, DETLOC+2, DETLOC+4*, BILL+9*
, BILLLOC+2, BILLLOC+4*
BARMODE PRINT+1*, PRINT+2*, BILLDET+5, HDB+5, HDRBAR~, HDRBAR+1, HDRBAR+4
>> BARNAME STNDDET+4*, STNDDET+5
BARTMP STNDDET+3*, STNDLTOT+4*, STNDTOT+4*, BILLDET+3*, BILLDET+11*, SUMTOT+3*, SUMLTOT+3*, BEALTOT+4*, ACCTTOT+4*, BILLLINE+1~
, BILLLINE+3*, BILLLINE+4, BILLLINE+5, BILLLINE+6, BILLLINE+7, STNDLINE+1, STNDLINE+2, STNDLINE+3, STNDLINE+4
BARTMP1 BILLLOOP+3~, BILLLOOP+6*, BILLLOOP+7, BILLLOOP+8, BILLLOOP+9
BARTMP2 BILLLOOP+3~, BILLLOOP+13*, BILLLOOP+15
>> BARTR BILLLOOP+12*, BILLLOOP+13, BILLLOOP+20
>> BARY("LOC" STNDLOC+5, SUMLOC+5, DETLOC+5, BILLLOC+5
>> BARY("RTYP" PRINT+2
>> DIROUT HD+2
>> DTOUT HD+2
>> DUOUT HD+2
>> I PRINT+4*, PRINT+5*
IOSL STNDDET+2, BILLDET+2
U BILLLINE+4, BILLLINE+5, BILLLINE+6, BILLLINE+7, STNDLINE+1, STNDLINE+2, STNDLINE+3, STNDLINE+4
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All