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

Package: IHS Accounts Receivable

Routine: BARRCXL2


Information

BARRCXL2 ; IHS/SD/LSL - Cancelled Bills Report - Print ;08/20/2008

Source Information

Source file <BARRCXL2.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS Accounts Receivable 2 (HD,HDB)^BARRPSRB  EOP^BARUTL  
VA Fileman 1 DD^%DT  

Entry Points

Name Comments DBIA/ICR reference
TOTALS
DETLOC ;
; For each visit location (detail)
SUBHD
SUMLTOT ;
; Visit location total (Summary) Report
DETCANC
DETBILL ;
; For each bill w/in Patient w/in AR Account w/in
CASHIER ;
DETAIL ;
; BAR*1.8*19 IHS/SD/PKD 5/12/10
SUBCSH
SUMMARY ;
; Print Summary Report
DETPAT ;
; For each patient w/in AR Account w/in Visit location (detail) do...
DETLINE ; BAR*1.8*19 IHS/SD/PKD 5/12/10
; Report mainline for detail report
SUMTOT ;
; Report Total (Summary)
; BAR*1.8*19 IHS/SD/PKD 5/12/10 remove Amt & Bal from totals
PRINT ; EP
; Print
; BAR*1.8*19 IHS/SD/PKD 5/12/10
SUMLOC ;
; For Each Visit Location (Summary) do..
SUMACCT ;
; For each AR Account w/in Visit Location (Summary) do...

External References

Name Field # of Occurrence
DD^%DT DETBILL+7
HD^BARRPSRB DETLINE+3, SUMACCT+3
HDB^BARRPSRB DETAIL+5, SUMMARY+6
EOP^BARUTL DETAIL+8, SUMMARY+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: DETAIL+7
Function Call: WRITE
  • Prompt: !,"Cancelling Official: "
  • Line Location: DETCANC+1
Function Call: WRITE
  • Prompt: "Cancelling Official Subtotal: "
  • Line Location: DETCANC+7
Function Call: WRITE
  • Prompt: !?5,"VISIT Location: ",BARLOC
  • Line Location: DETLOC+3
Function Call: WRITE
  • Prompt: !?10,"Visit Type: ",$P(^ABMDVTYP(BAR3SORT,0),U)
  • Line Location: DETPAT+2
Function Call: WRITE
  • Prompt: !,?10,"Clinic: ",$P(^DIC(40.7,BAR3SORT,0),U)
  • Line Location: DETPAT+3
Function Call: WRITE
  • Prompt: !,?16
  • Line Location: DETPAT+7
Function Call: WRITE
  • Prompt: !,$E(BARPAT,1,17)
  • Line Location: DETLINE+5
Function Call: WRITE
  • Prompt: ?18,HRN
  • Line Location: DETLINE+6
Function Call: WRITE
  • Prompt: ?25,$E(BARACCT,1,14)
  • Line Location: DETLINE+7
Function Call: WRITE
  • Prompt: ?41,$P(BARBILL,"-",1,2)
  • Line Location: DETLINE+8
Function Call: WRITE
  • Prompt: ?52,DOS
  • Line Location: DETLINE+9
Function Call: WRITE
  • Prompt: ?65,$E(^ABMCBILR(BARBREAS,0),1,15)
  • Line Location: DETLINE+10
Function Call: WRITE
  • Prompt: ?65,$E(BARBREAS,1,15)
  • Line Location: DETLINE+11
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: SUMMARY+8
Function Call: WRITE
  • Prompt: "Cancelling Official Subtotal: "
  • Line Location: SUBCSH+7
Function Call: WRITE
  • Prompt: !?5,"VISIT Location: ",BARLOC,!
  • Line Location: SUMLOC+3
Function Call: WRITE
  • Prompt: !,"Visit Type: "
  • Line Location: SUMACCT+9
Function Call: WRITE
  • Prompt: !,"Clinic: "
  • Line Location: SUMACCT+11
Function Call: WRITE
  • Prompt: ?40,BARDSH,?50,BARDSH,BARDSH,?64,BARDSH,BARDSH,!
  • Line Location: SUMACCT+16
Function Call: WRITE
  • Prompt: !,?2," ** VISIT Location Subtotal"
  • Line Location: SUMLTOT+4
Function Call: WRITE
  • Prompt: !,"*** REPORT TOTAL"
  • Line Location: SUMTOT+5
Function Call: WRITE
  • Prompt: ?39,$J($FN($P(BARTMP,U),","),7)
  • Line Location: TOTALS+2
Function Call: WRITE
  • Prompt: ?49,$J($FN($P(BARTMP,U,2),",",2),13)
  • Line Location: TOTALS+3
Function Call: WRITE
  • Prompt: ?63,$J($FN($P(BARTMP,U,3),",",2),13),!
  • Line Location: TOTALS+4
Function Call: WRITE
  • Prompt: !,"Cancelling Official: "
  • Line Location: SUBHD+2
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: SUBHD+27
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: SUBHD+121

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ABMCBILR - [#9002274.47] DETLINE+10
^ABMDVTYP - [#9002274.8] DETPAT+2
^DIC(40.7 - [#40.7] DETPAT+3
^TMP($J DETAIL+6, CASHIER+2, DETCANC+4, DETCANC+6, DETLOC+5, DETPAT+5, DETBILL+4, DETBILL+5, DETLINE+4, SUMMARY+7
, SUBCSH+2, SUBCSH+5, SUBCSH+6, SUMLOC+5, SUMACCT+5, SUMLTOT+3, SUMTOT+4
^VA(200 - [#200] DETCANC+2, SUBHD+3

Label References

Name Line Occurrences
DETAIL PRINT+6
DETBILL DETPAT+5
DETCANC CASHIER+2
DETLINE DETBILL+8
DETLOC DETCANC+4
DETPAT DETLOC+5
SUBHD SUBCSH+3
SUMACCT DETPAT+7, SUMLOC+5
SUMLOC SUBCSH+5
SUMLTOT DETLOC+7, SUMLOC+7
SUMMARY PRINT+7
SUMTOT CASHIER+4, SUBCSH+10
TOTALS DETCANC+8, SUBCSH+8, SUMACCT+17, SUMLTOT+5, SUMTOT+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BAR("COL" DETAIL+2*, DETAIL+3*, DETAIL+4*, SUMMARY+5*
>> BAR("D" PRINT+4!
>> BAR("F1" CASHIER+2, CASHIER+3, DETCANC+4, DETCANC+5, DETLOC+2, DETLOC+5, DETLOC+6, DETPAT+5, DETPAT+6, DETBILL+4
, DETLINE+2, DETLINE+3, SUMMARY+2, SUBCSH+1, SUBCSH+2, SUBCSH+5, SUBCSH+8, SUBCSH+9, SUMLOC+2, SUMLOC+5
, SUMLOC+6, SUMACCT+2, SUMACCT+3, SUMACCT+4, SUMLTOT+2, SUMTOT+3, TOTALS+1, SUBHD+1
>> BAR("PG" PRINT+5*
BAR3SORT DETLOC+4~*, DETLOC+5*, DETPAT+2, DETPAT+3, DETPAT+5, DETBILL+4, DETBILL+5, DETLINE+4, SUMLOC+4*, SUMLOC+5*
, SUMACCT+5
BARACCT PRINT+3~, DETBILL+6*, DETLINE+7
BARBAL PRINT+3~
BARBAMT PRINT+3~
BARBCANC PRINT+3~, CASHIER+1*, CASHIER+2*, DETCANC+2, DETCANC+4, DETCANC+6, DETLOC+5, DETPAT+5, DETBILL+4, DETBILL+5
, DETLINE+4, SUBCSH+2*, SUBCSH+5, SUBCSH+6, SUMLOC+5, SUMACCT+5, SUMLTOT+3, SUBHD+3
BARBILL PRINT+3~, DETBILL+3*, DETBILL+4*, DETBILL+5, DETLINE+4, DETLINE+8
BARBREAS DETBILL+2~, DETBILL+6*, DETLINE+10, DETLINE+11
>> BARDASH SUMMARY+3*
BARDSH SUMACCT+15~*, SUMACCT+16
>> BAREQUAL SUMMARY+4*
BARLOC PRINT+3~, DETCANC+3*, DETCANC+4*, DETLOC+3, DETLOC+5, DETPAT+5, DETBILL+4, DETBILL+5, DETLINE+4, SUBCSH+4*
, SUBCSH+5*, SUMLOC+3, SUMLOC+5, SUMACCT+5, SUMLTOT+3
BARPAT PRINT+3~, DETPAT+4*, DETPAT+5*, DETBILL+4, DETBILL+5, DETLINE+4, DETLINE+5
>> BARTMP DETCANC+6*, DETLINE+4*, SUBCSH+6*, SUMACCT+5*, SUMLTOT+3*, SUMTOT+4*, TOTALS+2, TOTALS+3, TOTALS+4
>> BARY("RTYP" PRINT+6
>> BARY("SORT" DETPAT+2, DETPAT+3
DOS DETBILL+2~, DETBILL+3*, DETBILL+6*, DETBILL+7*, DETLINE+9
HRN DETBILL+2~, DETBILL+3*, DETBILL+6*, DETLINE+6
IOSL DETLINE+3, SUMACCT+3
>> MORE DETBILL+5*, DETBILL+6
U DETPAT+2, DETPAT+3, DETBILL+6, TOTALS+2, TOTALS+3, TOTALS+4
>> Y DETBILL+7*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All