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

Package: IHS Accounts Receivable

Routine: BARRPSRB


Information

BARRPSRB ; IHS/SD/LSL - Period Summary Report Print ; 08/20/2008

Source Information

Source file <BARRPSRB.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
IHS Accounts Receivable 5 PSR^BAREISS  WHD^BARRHD  PAZ^BARRUTL  EOP^BARUTL  $$EN^BARVDF  
Kernel 1 $$CJ^XLFSTR  

Caller Graph

Caller Graph Total: 9

Package Total Caller Graph
IHS Accounts Receivable 9 BARPBEN2  BARRAOI  BARRCXL2  BARRLBL2  BARRLBL3  BARRNEG2  BARRPAY2  BARRPRP2  
BARRPTD2  

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)
STNDLINE ;
HDB ; EP
; Page and column header
PRINT ; EP
; Print reports
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 ;
; For each A/R Account (Detail Format) do...
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...
BILLACCT ;
; For each A/R Account (Bill detail) do ...
BILLDET ;
; For each Bill (Bill Format) do...
SUMMARY ;
; Print report if user selected SORT CRITERIA Billing Entity or
; Allowance Category and Report Type w/o payers
XIT ;
SUMDET ;
; For each Billing Entity/Allowance category (summary) do...
STANDARD ;
; Print report if user selected SORT CRITERIA a/r account, visit, or
; clinic
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...

External References

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

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: !,$E(BAR("SUB3"),1,19)
  • Line Location: SUMDET+4
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: !?3,$E(BAR("SUB4"),1,15)
  • Line Location: DETDET+4
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: BILL+6
Function Call: WRITE
  • Prompt: !
  • Line Location: BILL+12
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: !,$$CJ^XLFSTR(BAR("SUB3"),IOM),!
  • Line Location: BILLBEAL+3
Function Call: WRITE
  • Prompt: $$EN^BARVDF("HIF")
  • Line Location: BILLBEAL+4
Function Call: WRITE
  • Prompt: !?3,BAR("SUB4")
  • Line Location: BILLACCT+2
Function Call: WRITE
  • Prompt: !?6,$E(BAR("SUB5"),1,15)
  • Line Location: BILLDET+4
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+4
Function Call: WRITE
  • Prompt: " ** Allow Cat Total"
  • Line Location: BEALTOT+5
Function Call: WRITE
  • Prompt: " ** Bill Entity Total"
  • Line Location: BEALTOT+6
Function Call: WRITE
  • Prompt: " ** Ins Type Total"
  • Line Location: BEALTOT+7
Function Call: WRITE
  • Prompt: !,BARDASH,!
  • Line Location: ACCTTOT+4
Function Call: WRITE
  • Prompt: " * A/R Acct Total"
  • Line Location: ACCTTOT+5
Function Call: WRITE
  • Prompt: !
  • Line Location: ACCTTOT+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

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, SUMDET+3, DETAIL+4, DETAIL+8, DETAIL+10, DETLOC+7, DETBEAL+4, DETDET+3, BILL+5, BILL+9
, BILL+11, BILLLOC+7, BILLBEAL+6, BILLACCT+4, BILLDET+3, SUMTOT+3, SUMLTOT+3, BEALTOT+3, ACCTTOT+3, XIT+1!
, XIT+2!

Label References

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BAR( PRINT+2!
>> BAR("COL" PRINT+7*, HDB+5
>> BAR("DASH" HDB+6*, HDB+7
>> BAR("F1" PRINT+9, PRINT+11, PRINT+13, PRINT+15, STANDARD+11, STNDLOC+3, STNDLOC+7, STNDDET+2, STNDLTOT+2, STNDTOT+2
, SUMMARY+11, SUMLOC+3, SUMLOC+7, SUMDET+2, DETAIL+10, DETLOC+3, DETLOC+7, DETBEAL+4, DETDET+2, BILL+11
, BILLLOC+3, BILLLOC+7, BILLBEAL+6, BILLACCT+4, BILLDET+2, SUMTOT+2, SUMLTOT+2, BEALTOT+2, ACCTTOT+2, HD+2*
>> BAR("I" HDB+3*
>> BAR("PG" PRINT+4*, HDB+2*
>> BAR("SUB" PRINT+3!
>> 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, SUMDET+3, DETAIL+9*, DETAIL+10*, DETLOC+2, DETLOC+4, DETLOC+5
, DETLOC+7, DETBEAL+4, DETDET+3, BILL+10*, BILL+11*, BILLLOC+2, BILLLOC+4, BILLLOC+5, BILLLOC+7, BILLBEAL+6
, BILLACCT+4, BILLDET+3, SUMLTOT+3, BEALTOT+3, ACCTTOT+3
>> BAR("SUB2" STNDLOC+6*, STNDLOC+7*, STNDDET+3, STNDDET+4
>> BAR("SUB3" SUMLOC+6*, SUMLOC+7*, SUMDET+3, SUMDET+4, DETLOC+6*, DETLOC+7*, DETBEAL+2, DETBEAL+4, DETDET+3, BILLLOC+6*
, BILLLOC+7*, BILLBEAL+3, BILLBEAL+6, BILLACCT+4, BILLDET+3, BEALTOT+3, ACCTTOT+3
>> BAR("SUB4" DETBEAL+3*, DETBEAL+4*, DETDET+3, DETDET+4, BILLBEAL+5*, BILLBEAL+6*, BILLACCT+2, BILLACCT+4, BILLDET+3, ACCTTOT+3
>> BAR("SUB5" BILLACCT+3*, BILLACCT+4*, BILLDET+3, BILLDET+4
>> BAR(133 HDB+6
>> BARDASH PRINT+5*, STNDLTOT+3, SUMLTOT+4, BEALTOT+4, ACCTTOT+4
>> BAREQUAL PRINT+6*, STNDTOT+3, SUMTOT+4
>> 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*
>> BARNAME STNDDET+4*, STNDDET+5
>> BARTMP STNDDET+3*, STNDLTOT+4*, STNDTOT+4*, SUMDET+3*, DETDET+3*, BILLDET+3*, SUMTOT+3*, SUMLTOT+3*, BEALTOT+3*, ACCTTOT+3*
, STNDLINE+1, STNDLINE+2, STNDLINE+3, STNDLINE+4
>> BARY("ALL" SUMMARY+14
>> BARY("LOC" STNDLOC+5, SUMLOC+5, DETLOC+5, BILLLOC+5
>> BARY("RTYP" PRINT+10, PRINT+12, PRINT+14
>> BARY("STCR" PRINT+8, SUMMARY+14, BEALTOT+5, BEALTOT+6, BEALTOT+7
>> DIROUT HD+2
>> DTOUT HD+2
>> DUOUT HD+2
>> I PRINT+2*, PRINT+3*
IOM BILLBEAL+3
IOSL STNDDET+2, SUMDET+2, DETDET+2, BILLDET+2
U STNDLINE+1, STNDLINE+2, STNDLINE+3, STNDLINE+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All