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

Package: E Claims Management Engine

Routine: BPSRPT7


Information

BPSRPT7 ;BHAM ISC/BEE - ECME REPORTS ;14-FEB-05

Source Information

Source file <BPSRPT7.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
E Claims Management Engine 6 $$DATTIM^BPSRPT1  ($$GETDIVS,HEADLN1,HEADLN2,HEADLN3)^BPSRPT4  ($$CHKP,ULINE,WRPLAN)^BPSRPT5  ($$DRGNAM,$$GETCLR,$$STATUS)^BPSRPT6  HDR^BPSRPT8  $$DIVNAME^BPSSCRDS  
Integrated Billing 1 $$INSNM^IBNCPDPI  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
E Claims Management Engine 3 BPSRPT1  BPSRPT5  BPSRPT8  

Entry Points

Name Comments DBIA/ICR reference
PTBDT(BPDIV,BPSUMDET,BPCLM,GTOT)
PGTOT6(GTOT)
PGTOT(BPRTYPE,BPGBIL,BPGINS,BPGCOLL,BPGCNT,BPGELTM,BPRICE) ;
ITOT(BPRTYPE,BPDIV,BPGRPLAN,BPTBIL,BPTINS,BPTCOLL,BPCNT,BPRICE)
CLRSN(BP59)
RVSRSN(BP59)
BILLED(BP59) ;
TTYPE(BPRX,BPREF,BPSEQ)
RESPONSE(BPRX,BPREF,BPSEQ)
TOTALS(BPRTYPE,BPDIV,BPTBIL,BPTINS,BPTCOLL,BPCNT,BPELTM,BPRICE) ;
HDR(BPRTYPE,BPRPTNAM,BPPAGE) ;
BPDIV(BPDIV)
BPINS(BPINSINF) ;
ELIG(ELIG) ;
; Display multiple eligibilities
; Input:
; ELIG - Array of multiple eligibilities
; Output
; Text of eligibilities
NBSTS(NBSTS) ;
; Display multiple non-billable statuses
; Input:
; NBSTS - Array of multiple non-billable statuses
; Output
; Text of non-billable statuses

External References

Name Field # of Occurrence
$$DATTIM^BPSRPT1 PTBDT+10, PTBDT+27, HDR+61
$$GETDIVS^BPSRPT4 HDR+12, HDR+17
HEADLN1^BPSRPT4 HDR+64
HEADLN2^BPSRPT4 HDR+65
HEADLN3^BPSRPT4 HDR+66
$$CHKP^BPSRPT5 PTBDT+5, PTBDT+43, PGTOT6+1, PGTOT+24, ITOT+20, TOTALS+24
ULINE^BPSRPT5 PTBDT+44, PGTOT6+2, HDR+63, HDR+67, HDR+72
WRPLAN^BPSRPT5 HDR+75
$$DRGNAM^BPSRPT6 HDR+36
$$GETCLR^BPSRPT6 CLRSN+4
$$STATUS^BPSRPT6 TTYPE+2, RESPONSE
HDR^BPSRPT8 HDR+2
$$DIVNAME^BPSSCRDS PTBDT+26, HDR+71, BPDIV
$$INSNM^IBNCPDPI BPINS+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?117,$J(DIFF,15)
  • Line Location: PTBDT+19
Function Call: WRITE
  • Prompt: ?116,$J(DIFF,15,2)
  • Line Location: PTBDT+20
Function Call: WRITE
  • Prompt: !,"TOTALS"
  • Line Location: PTBDT+45
Function Call: WRITE
  • Prompt: ?15,$J(+$P(TOT,U),17)
  • Line Location: PTBDT+46
Function Call: WRITE
  • Prompt: ?33,$J(+$P(TOT,U,2),17,2)
  • Line Location: PTBDT+47
Function Call: WRITE
  • Prompt: ?51,$J(+$P(TOT,U,3),17,2)
  • Line Location: PTBDT+48
Function Call: WRITE
  • Prompt: ?69,$J(+$P(TOT,U,4),17,2)
  • Line Location: PTBDT+49
Function Call: WRITE
  • Prompt: ?87,$J(+$P(TOT,U,5),17,2)
  • Line Location: PTBDT+50
Function Call: WRITE
  • Prompt: ?117,$J(DIFF,15)
  • Line Location: PTBDT+53
Function Call: WRITE
  • Prompt: ?116,$J(DIFF,15,2)
  • Line Location: PTBDT+54
Function Call: WRITE
  • Prompt: !,"GRAND TOTALS"
  • Line Location: PGTOT6+3
Function Call: WRITE
  • Prompt: ?15,$J(+$P(GTOT,U),17)
  • Line Location: PGTOT6+4
Function Call: WRITE
  • Prompt: ?33,$J(+$P(GTOT,U,2),17,2)
  • Line Location: PGTOT6+5
Function Call: WRITE
  • Prompt: ?51,$J(+$P(GTOT,U,3),17,2)
  • Line Location: PGTOT6+6
Function Call: WRITE
  • Prompt: ?69,$J(+$P(GTOT,U,4),17,2)
  • Line Location: PGTOT6+7
Function Call: WRITE
  • Prompt: ?87,$J(+$P(GTOT,U,5),17,2)
  • Line Location: PGTOT6+8
Function Call: WRITE
  • Prompt: ?117,$J(DIFF,15)
  • Line Location: PGTOT6+11
Function Call: WRITE
  • Prompt: ?116,$J(DIFF,15,2)
  • Line Location: PGTOT6+12
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: "ECME "_BPRPTNAM_" "_$S(BPSUMDET=1:"SUMMARY",1:"DETAIL")_" REPORT"
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: ?89,"Print Date: "_$G(BPNOW)_" Page:",$J(BPPAGE,3)
  • Line Location: HDR+11
Function Call: WRITE
  • Prompt: !,"DIVISION(S): ",$$GETDIVS^BPSRPT4(72,.BPPHARM)
  • Line Location: HDR+12
Function Call: WRITE
  • Prompt: ?86,"Fill Locations: "_$S(BPMWC="A":"C,M,W",1:BPMWC)
  • Line Location: HDR+13
Function Call: WRITE
  • Prompt: ?87,"Print Date: "_$G(BPNOW)_" Page:",$J(BPPAGE,3)
  • Line Location: HDR+16
Function Call: WRITE
  • Prompt: !,"DIVISION(S): ",$$GETDIVS^BPSRPT4(72,.BPPHARM)
  • Line Location: HDR+17
Function Call: WRITE
  • Prompt: ?84,"Fill Locations: "_$S(BPMWC="A":"C,M,W",1:BPMWC)
  • Line Location: HDR+18
Function Call: WRITE
  • Prompt: ?110,"Fill Type: "
  • Line Location: HDR+21
Function Call: WRITE
  • Prompt: "RT,BB,P2,RS"
  • Line Location: HDR+22
Function Call: WRITE
  • Prompt: $S(RTBCKX=2:"RT",RTBCKX=3:"BB",RTBCKX=4:"P2",RTBCKX=5:"RS",1:"")
  • Line Location: HDR+23
Function Call: WRITE
  • Prompt: !,"Insurance: "_$S(BPINSINF=0:"ALL",1:"SELECTED")
  • Line Location: HDR+25
Function Call: WRITE
  • Prompt: ?110,"Fill type: "_$S(BPRTBCK=2:"RT",BPRTBCK=3:"BB",BPRTBCK=4:"P2",BPRTBCK=5:"RS",1:"RT,BB,P2,RS")
  • Line Location: HDR+28
Function Call: WRITE
  • Prompt: !,"Insurance: "_$S(BPINSINF=0:"ALL",1:$$BPINS(BPINSINF))
  • Line Location: HDR+29
Function Call: WRITE
  • Prompt: ?44,$J($S(BPAUTREV=0:"ALL",1:"AUTO"),4)," Reversals"
  • Line Location: HDR+33
Function Call: WRITE
  • Prompt: ?60,$J($S(BPACREJ=1:"REJECTED",BPACREJ=2:"ACCEPTED",1:"ALL"),8)," Returned Status"
  • Line Location: HDR+34
Function Call: WRITE
  • Prompt: ?87,"Drugs/Classes: "_$S(BPQSTDRG=2:$$DRGNAM^BPSRPT6(BPDRUG,30),BPQSTDRG=3:$E(BPDRGCL,1,30),1:"ALL")
  • Line Location: HDR+36
Function Call: WRITE
  • Prompt: ?87,"Eligibility: "
  • Line Location: HDR+40
Function Call: WRITE
  • Prompt: "CVA,TRI,VET"
  • Line Location: HDR+41
Function Call: WRITE
  • Prompt: $E(LIST,1,$L(LIST)-1)
  • Line Location: HDR+44
Function Call: WRITE
  • Prompt: ?113,"Open/Closed: ",$S(BPOPCL=1:"CLOSED",BPOPCL=2:"OPEN",1:"ALL")
  • Line Location: HDR+45
Function Call: WRITE
  • Prompt: !,"Eligibility: "
  • Line Location: HDR+50
Function Call: WRITE
  • Prompt: "CVA,TRI,VET"
  • Line Location: HDR+51
Function Call: WRITE
  • Prompt: $E(LIST,1,$L(LIST)-1)
  • Line Location: HDR+54
Function Call: WRITE
  • Prompt: !,"NON-BILLABLE STATUS: "_$S(BPNBSTS=0:"ALL",1:$$NBSTS(.BPNBSTS))
  • Line Location: HDR+57
Function Call: WRITE
  • Prompt: !,$S(BPRTYPE=5:"PRESCRIPTIONS",BPRLNRL=2:"RELEASED PRESCRIPTIONS",BPRLNRL=3:"PRESCRIPTIONS (NOT RELEASED)",1:"ALL PRESCRIPTIONS")
  • Line Location: HDR+59
Function Call: WRITE
  • Prompt: " BY "_$S(BPRTYPE=7:"CLOSE",1:"TRANSACTION")_" DATE: "
  • Line Location: HDR+60
Function Call: WRITE
  • Prompt: "From "_$$DATTIM^BPSRPT1(BPBEGDT)_" through "_$$DATTIM^BPSRPT1($P(BPENDDT,"."))
  • Line Location: HDR+61

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BPSC - [#9002313.02] CLRSN+3
^BPST - [#9002313.59] CLRSN+2, RVSRSN, BILLED+1

Label References

Name Line Occurrences
$$BPDIV TOTALS+3, TOTALS+8, TOTALS+13, TOTALS+17, TOTALS+21, TOTALS+31, TOTALS+40
$$BPINS HDR+29
$$NBSTS HDR+57

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ABVELIG HDR+42*, HDR+43*, HDR+52*, HDR+53*
BP02 CLRSN~, CLRSN+2*, CLRSN+3
BP59 CLRSN~, CLRSN+2, RVSRSN~, BILLED~, BILLED+1
>> BPACREJ HDR+34
>> BPAUTREV HDR+33
>> BPBEGDT HDR+61
BPBILR PGTOT+22~, PGTOT+23*, PGTOT+25, ITOT+18~, ITOT+19*, ITOT+21, TOTALS+22~, TOTALS+23*, TOTALS+25
>> BPBLINE HDR+6*
>> BPCCRSN HDR+31
BPCLM PTBDT~
BPCLM( PTBDT+4, PTBDT+6
BPCNT ITOT~, ITOT+4, ITOT+5, ITOT+9, ITOT+10, ITOT+14, ITOT+15, ITOT+24, ITOT+29, ITOT+30
, ITOT+31, ITOT+32, ITOT+37, ITOT+38, TOTALS~, TOTALS+4, TOTALS+5, TOTALS+9, TOTALS+10, TOTALS+14
, TOTALS+15, TOTALS+18, TOTALS+19, TOTALS+28, TOTALS+33, TOTALS+34, TOTALS+35, TOTALS+36, TOTALS+41, TOTALS+42
BPCNT( ITOT+19, ITOT+21, TOTALS+23, TOTALS+25
BPDIV PTBDT~, PTBDT+26, PGTOT+22~*, ITOT~, TOTALS~, TOTALS+3, TOTALS+8, TOTALS+13, TOTALS+17, TOTALS+21
, TOTALS+31, TOTALS+40, HDR+70, HDR+71, BPDIV~
>> BPDRGCL HDR+36
>> BPDRUG HDR+36
>> BPELIG1 HDR+41, HDR+51
>> BPELIG1( HDR+42, HDR+52
BPELTM TOTALS~, TOTALS+19
>> BPENDDT HDR+61
>> BPEXCEL PTBDT+9, PTBDT+23, PTBDT+42, HDR+2
BPGBIL PGTOT~, PGTOT+3, PGTOT+5, PGTOT+8, PGTOT+10, PGTOT+13, PGTOT+15, PGTOT+31, PGTOT+35, PGTOT+41
, PGTOT+43
BPGCNT PGTOT~, PGTOT+4, PGTOT+5, PGTOT+9, PGTOT+10, PGTOT+14, PGTOT+15, PGTOT+18, PGTOT+19, PGTOT+28
, PGTOT+33, PGTOT+34, PGTOT+35, PGTOT+36, PGTOT+37, PGTOT+42, PGTOT+43
BPGCNT( PGTOT+23, PGTOT+25
BPGCOLL PGTOT~, PGTOT+3, PGTOT+5, PGTOT+31, PGTOT+35
BPGELTM PGTOT~, PGTOT+19
BPGINS PGTOT~, PGTOT+3, PGTOT+5, PGTOT+8, PGTOT+10, PGTOT+31, PGTOT+35
BPGRPLAN ITOT~, ITOT+3, ITOT+8, ITOT+13, ITOT+17, ITOT+27, ITOT+36, HDR+72, HDR+75
BPINAME BPINS+1~, BPINS+4*, BPINS+5, BPINS+6
BPINS BPINS+1~, BPINS+3*, BPINS+4
BPINSINF HDR+25, HDR+29, BPINS~, BPINS+3
>> BPMWC HDR+13, HDR+18
>> BPNBSTS HDR+57
>> BPNOW HDR+11, HDR+16
BPNP ITOT~, ITOT+20*
>> BPOPCL HDR+45
BPPAGE HDR~, HDR+7*, HDR+11, HDR+16
>> BPPHARM HDR+12, HDR+17
>> BPQ PTBDT+4, PTBDT+5, PTBDT+43, PGTOT6+1, PGTOT+23, PGTOT+24, PGTOT+26, ITOT+19, ITOT+20, ITOT+22
, TOTALS+23, TOTALS+24, TOTALS+26, HDR+63
>> BPQSTDRG HDR+36, HDR+37
>> BPQSTPAT HDR+47, HDR+55
BPREF TTYPE~, TTYPE+2, RESPONSE~
>> BPREJCD HDR+39
>> BPRESC HDR+46
BPRICE PGTOT~, PGTOT+32, PGTOT+36, PGTOT+37, ITOT~, ITOT+28, ITOT+32, TOTALS~, TOTALS+32, TOTALS+36
>> BPRLNRL HDR+59
BPRPTNAM HDR~, HDR+9
>> BPRTBCK HDR+22, HDR+23, HDR+28
BPRTYPE PGTOT~, PGTOT+1, PGTOT+6, PGTOT+11, PGTOT+16, PGTOT+20, PGTOT+29, PGTOT+39, ITOT~, ITOT+1
, ITOT+6, ITOT+11, ITOT+16, ITOT+25, ITOT+34, TOTALS~, TOTALS+1, TOTALS+6, TOTALS+11, TOTALS+16
, TOTALS+20, TOTALS+29, TOTALS+38, HDR~, HDR+2, HDR+10, HDR+15, HDR+20, HDR+25, HDR+27
, HDR+31, HDR+32, HDR+36, HDR+37, HDR+38, HDR+49, HDR+57, HDR+59, HDR+60, HDR+64
, HDR+65, HDR+66, HDR+72
BPRX TTYPE~, TTYPE+2, RESPONSE~
>> BPSDATA HDR+5*
BPSEQ TTYPE~, TTYPE+2, RESPONSE~
BPSTATUS TTYPE~, TTYPE+2*, TTYPE+3
BPSUMDET PTBDT~, PTBDT+9, PTBDT+23, HDR+9, HDR+72, HDR+75
BPTBIL ITOT~, ITOT+3, ITOT+5, ITOT+8, ITOT+10, ITOT+13, ITOT+15, ITOT+27, ITOT+31, ITOT+36
, ITOT+38, TOTALS~, TOTALS+3, TOTALS+5, TOTALS+8, TOTALS+10, TOTALS+13, TOTALS+15, TOTALS+31, TOTALS+35
, TOTALS+40, TOTALS+42
BPTCOLL ITOT~, ITOT+3, ITOT+5, ITOT+27, ITOT+31, TOTALS~, TOTALS+3, TOTALS+5, TOTALS+31, TOTALS+35
BPTINS ITOT~, ITOT+3, ITOT+5, ITOT+8, ITOT+10, ITOT+27, ITOT+31, TOTALS~, TOTALS+3, TOTALS+5
, TOTALS+8, TOTALS+10, TOTALS+31, TOTALS+35
CIEN CLRSN~, CLRSN+3*, CLRSN+4, CLRSN+5
CL CLRSN~, CLRSN+1*, CLRSN+4*, CLRSN+5
DIFF PTBDT~, PTBDT+18*, PTBDT+19*, PTBDT+20, PTBDT+35*, PTBDT+36, PTBDT+52*, PTBDT+53*, PTBDT+54, PGTOT6~
, PGTOT6+10*, PGTOT6+11*, PGTOT6+12
ELIG ELIG~, ELIG+7
ELIG( ELIG+10, ELIG+11
GTOT PTBDT~, PTBDT+39*, PGTOT6~, PGTOT6+4, PGTOT6+5, PGTOT6+6, PGTOT6+7, PGTOT6+8, PGTOT6+9, PGTOT6+10
I PTBDT~, PTBDT+39*, HDR+23*, BPINS+3*
IOF HDR+8
LIST HDR+42*, HDR+43*, HDR+44, HDR+52*, HDR+53*, HDR+54, ELIG+8~, ELIG+9*, ELIG+11*, ELIG+12
, NBSTS+8~, NBSTS+9*, NBSTS+11*, NBSTS+12
N HDR+42*, HDR+43, HDR+52*, HDR+53, ELIG+8~, ELIG+10*, ELIG+11, NBSTS+8~, NBSTS+10*, NBSTS+11
NBSTS NBSTS~, NBSTS+7
NBSTS( NBSTS+10, NBSTS+11
NP PTBDT~, PTBDT+5*, PTBDT+43*, PGTOT6~, PGTOT6+1*, PGTOT+24*, TOTALS+24*
RDT PTBDT~, PTBDT+4*, PTBDT+6, PTBDT+10, PTBDT+27
RETV BPINS+1~, BPINS+2*, BPINS+5*, BPINS+6*, BPINS+7*, BPINS+8
>> RTBCKX HDR+23*
TOT PTBDT~, PTBDT+3*, PTBDT+39*, PTBDT+46, PTBDT+47, PTBDT+48, PTBDT+49, PTBDT+50, PTBDT+51, PTBDT+52
TTYPE TTYPE~, TTYPE+1*, TTYPE+3*, TTYPE+4
U PTBDT+11, PTBDT+12, PTBDT+13, PTBDT+14, PTBDT+15, PTBDT+18, PTBDT+26, PTBDT+27, PTBDT+28, PTBDT+29
, PTBDT+30, PTBDT+31, PTBDT+32, PTBDT+35, PTBDT+39, PTBDT+46, PTBDT+47, PTBDT+48, PTBDT+49, PTBDT+50
, PTBDT+51, PTBDT+52, PGTOT6+4, PGTOT6+5, PGTOT6+6, PGTOT6+7, PGTOT6+8, PGTOT6+9, PGTOT6+10, PGTOT+32
, PGTOT+36, PGTOT+37, ITOT+28, ITOT+32, CLRSN+2, CLRSN+3, RVSRSN, BILLED+1, RESPONSE, TOTALS+32
, TOTALS+36
X PTBDT~, PTBDT+6*, PTBDT+11, PTBDT+12, PTBDT+13, PTBDT+14, PTBDT+15, PTBDT+18, PTBDT+28, PTBDT+29
, PTBDT+30, PTBDT+31, PTBDT+32, PTBDT+35, PTBDT+39, PTBDT+51*, PGTOT6~, PGTOT6+9*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All