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

Package: E Claims Management Engine

Routine: BPSOPR2


Information

BPSOPR2 ;ALB/PHH - OPECC Productivity Report Compiler ;9/21/2015

Source Information

Source file <BPSOPR2.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
E Claims Management Engine 4 (ADDCHAR,PRINT,PROCESS)^BPSOPR3  $$DATTIM^BPSRPT1  $$TOTAMNT^BPSSCRLG  $$FORMAT^BPSSCRU2  
Kernel 1 ^%ZISC  

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

Package Total Caller Graph
E Claims Management Engine 1 BPSOPR3  

Entry Points

Name Comments DBIA/ICR reference
COMPILE ; Entry point for the compile to build the scratch global
; This may be a background task if the job is queued.
BUILD ; Build report
PRTSGTOT(BPSIDX,BPSDIV,BPSUSER) ; Print grand/subtotals
PRTUTOT(BPSIDX,BPSDIV,BPSUSER) ; Print user totals
TOTTRN(BPSDIV,BPSUSER) ; Get total transactions for a user
PRTSGHDR(BPSSHDR,BPSIDX,BPSSGHTX) ; Print subtotals/grand header
SUBINIT(BPSSHDR) ; Set up subtotals header
FIND ; Find records
CALCREJ(BPSDIV,BPSUSER,BPRX,BPREF,BPSCOB) ; Calculate reject counts
; Returns 1 if reject found, otherwise returns 0
ECMENUM(BP57) ; ECME number
; Returns ECME number from 9002313.02 as:
; 7 or 12 digits of the prescription IEN file 52
; or 12 spaces
GETRXFCI(BPSDIV,BPRX,BPREF,BPSCOB) ; Get general RXFC info
; Returns: paid amount ^ total transactions ^ IEN of 57 ^ transaction
; type of last matching BP57 found
SORT ; Sort report based on divison or user

External References

Name Field # of Occurrence
^%ZISC COMPILE+8
ADDCHAR^BPSOPR3 BUILD+42, BUILD+54, BUILD+56, BUILD+57, BUILD+59, BUILD+61, BUILD+63, BUILD+65, BUILD+68, BUILD+70
BUILD+72, BUILD+75, BUILD+84, BUILD+87, BUILD+90, BUILD+95, PRTUTOT+22, PRTUTOT+24, PRTUTOT+26, PRTUTOT+27
, PRTUTOT+29, PRTUTOT+31
PRINT^BPSOPR3 COMPILE+7
PROCESS^BPSOPR3 FIND+15
$$DATTIM^BPSRPT1 BUILD+31, BUILD+73
$$TOTAMNT^BPSSCRLG GETRXFCI+17
$$FORMAT^BPSSCRU2 ECMENUM+9, ECMENUM+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Compiling OPECC Productivity Report. Please wait ... ",!
  • Line Location: FIND+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BPS(9002313.56 - [#9002313.56] CALCREJ+7, GETRXFCI+8
^BPSC - [#9002313.02] ECMENUM+10
^BPSTL - [#9002313.57] CALCREJ+6, CALCREJ+7, CALCREJ+8, CALCREJ+9, CALCREJ+10, ECMENUM+6, ECMENUM+7, GETRXFCI+8, GETRXFCI+9, GETRXFCI+10
, GETRXFCI+11, GETRXFCI+12, GETRXFCI+13, GETRXFCI+14, GETRXFCI+17, GETRXFCI+19
^BPSTL("AEC" CALCREJ+5, GETRXFCI+7
^BPSTL("AH" FIND+13, FIND+15
^VA(200 - [#200] CALCREJ+6

Label References

Name Line Occurrences
$$TOTTRN PRTUTOT+19
BUILD COMPILE+5
FIND COMPILE+3
PRTSGHDR BUILD+80, BUILD+102
PRTSGTOT BUILD+81, BUILD+82, BUILD+103
PRTUTOT PRTSGTOT+13, PRTSGTOT+24, PRTSGTOT+27
SORT COMPILE+4
SUBINIT BUILD+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BP57 FIND+1~, FIND+14*, FIND+15*, CALCREJ+2~, CALCREJ+4*, CALCREJ+5*, CALCREJ+6, CALCREJ+7, CALCREJ+8, CALCREJ+9
, CALCREJ+10, ECMENUM~, ECMENUM+6, ECMENUM+7, GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+7*, GETRXFCI+8, GETRXFCI+9, GETRXFCI+10
, GETRXFCI+11, GETRXFCI+12, GETRXFCI+13, GETRXFCI+14, GETRXFCI+17, GETRXFCI+19, GETRXFCI+20
>> BPBEGDT FIND+7*, FIND+12
>> BPELIG GETRXFCI+16
>> BPELIG( GETRXFCI+16
>> BPENDDT FIND+8*, FIND+9*, FIND+13
>> BPEXCEL BUILD+8, BUILD+36, FIND+4
>> BPGLTMP COMPILE+9, BUILD+13, BUILD+15, BUILD+17, BUILD+18, BUILD+23, BUILD+24, BUILD+34, BUILD+38, BUILD+40
BUILD+43, BUILD+45, BUILD+47, BUILD+48, BUILD+57, BUILD+58, BUILD+59, BUILD+60, BUILD+77, BUILD+85
BUILD+88, BUILD+91, BUILD+93, BUILD+96, BUILD+97, BUILD+98, BUILD+99, BUILD+105, BUILD+106, PRTSGTOT+17
, PRTSGTOT+19, PRTUTOT+9, PRTUTOT+10, PRTUTOT+11, PRTUTOT+14, PRTUTOT+15, PRTUTOT+16, PRTUTOT+17, PRTUTOT+18, PRTUTOT+34
, PRTUTOT+35, TOTTRN+9, TOTTRN+10, TOTTRN+13, TOTTRN+15, TOTTRN+16, TOTTRN+17, PRTSGHDR+8, FIND+2, SORT+4
SORT+6, SORT+8, SORT+9, SORT+13
BPLDT57 FIND+1~, FIND+12*, FIND+13*, FIND+15
BPREF CALCREJ~, CALCREJ+8, GETRXFCI~, GETRXFCI+9
BPRETVAL GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+20*, GETRXFCI+21
BPRX CALCREJ~, CALCREJ+5, GETRXFCI~, GETRXFCI+7
BPSCNT TOTTRN+1~, TOTTRN+6*, TOTTRN+10*, TOTTRN+17*, TOTTRN+18, PRTSGHDR+1~, PRTSGHDR+6*, PRTSGHDR+7
BPSCOB CALCREJ~, CALCREJ+9, GETRXFCI~, GETRXFCI+10
BPSDIV BUILD+1~, BUILD+19*, BUILD+20, BUILD+23, BUILD+24, BUILD+49*, BUILD+57, BUILD+58, BUILD+59, BUILD+60
, PRTSGTOT~, PRTSGTOT+4*, PRTSGTOT+13, PRTSGTOT+24, PRTSGTOT+27, PRTUTOT~, PRTUTOT+4*, PRTUTOT+8, PRTUTOT+9, PRTUTOT+10
, PRTUTOT+11, PRTUTOT+12, PRTUTOT+19, PRTUTOT+34, TOTTRN~, TOTTRN+3*, TOTTRN+7, TOTTRN+10, TOTTRN+11, CALCREJ~
, CALCREJ+7, GETRXFCI~, GETRXFCI+8, SORT+1~, SORT+5*, SORT+6*, SORT+8, SORT+9
BPSDIV1 PRTSGTOT+1~, PRTSGTOT+16*, PRTSGTOT+17*, PRTSGTOT+19, PRTUTOT+1~, PRTUTOT+13*, PRTUTOT+14*, PRTUTOT+15, PRTUTOT+16, PRTUTOT+17
, PRTUTOT+18, TOTTRN+1~, TOTTRN+14*, TOTTRN+15*, TOTTRN+16, TOTTRN+17
BPSEC GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+14*, GETRXFCI+15, GETRXFCI+16
BPSIDX BUILD+1~, BUILD+5*, BUILD+34*, BUILD+40*, BUILD+43*, BUILD+77*, BUILD+80, BUILD+81, BUILD+82, BUILD+85*
BUILD+88*, BUILD+91*, BUILD+93, BUILD+96, BUILD+97*, BUILD+98*, BUILD+99*, BUILD+102, BUILD+103, BUILD+105
BUILD+106, PRTSGTOT~, PRTSGTOT+3, PRTSGTOT+13, PRTSGTOT+24, PRTSGTOT+27, PRTUTOT~, PRTUTOT+3, PRTUTOT+35*, PRTSGHDR~
, PRTSGHDR+8*
BPSLINE BUILD+1~, BUILD+20*, BUILD+21*, BUILD+22*, BUILD+23*, BUILD+24*, BUILD+25*, BUILD+26*, BUILD+27*, BUILD+28*
BUILD+29*, BUILD+30*, BUILD+31*, BUILD+33*, BUILD+34, BUILD+39*, BUILD+40, BUILD+41*, BUILD+42, BUILD+43
BUILD+53*, BUILD+54, BUILD+55*, BUILD+56, BUILD+57, BUILD+58*, BUILD+59, BUILD+60*, BUILD+61, BUILD+62*
BUILD+63, BUILD+64*, BUILD+65, BUILD+66*, BUILD+67*, BUILD+68, BUILD+69*, BUILD+70, BUILD+71*, BUILD+72
BUILD+73*, BUILD+75, BUILD+76*, BUILD+77, PRTUTOT+1~, PRTUTOT+21*, PRTUTOT+22, PRTUTOT+23*, PRTUTOT+24, PRTUTOT+25*
, PRTUTOT+26, PRTUTOT+27, PRTUTOT+28*, PRTUTOT+29, PRTUTOT+31, PRTUTOT+32*, PRTUTOT+35, PRTSGHDR+1~, PRTSGHDR+7*, PRTSGHDR+8
BPSPAMT GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+17*, GETRXFCI+20
BPSPYNR PRTUTOT+1~, PRTUTOT+7*, PRTUTOT+9*, PRTUTOT+16*, PRTUTOT+25
BPSPYREJ PRTUTOT+1~, PRTUTOT+7*, PRTUTOT+10*, PRTUTOT+17*, PRTUTOT+23
BPSRCNT CALCREJ+2~, CALCREJ+4*, CALCREJ+5, CALCREJ+11*, CALCREJ+12
BPSRXFC BUILD+1~, BUILD+16*, BUILD+17*, BUILD+18, BUILD+23, BUILD+24, BUILD+46*, BUILD+47*, BUILD+48, BUILD+57
BUILD+58, BUILD+59, BUILD+60, TOTTRN+1~, TOTTRN+8*, TOTTRN+9*, TOTTRN+10, TOTTRN+12*, TOTTRN+13*, TOTTRN+15
, TOTTRN+16, TOTTRN+17, SORT+1~, SORT+3*, SORT+4*, SORT+6, SORT+8, SORT+9, SORT+12
BPSSGHTX PRTSGHDR~, PRTSGHDR+3*, PRTSGHDR+4
BPSSHDR BUILD+1~, BUILD+3, BUILD+80, BUILD+102, PRTSGHDR~, SUBINIT~
BPSSHDR( PRTSGHDR+7
BPSSHDR(1 SUBINIT+1*
BPSSHDR(2 PRTSGHDR+4*
BPSSHDR(3 SUBINIT+2*
BPSSHDR(4 SUBINIT+3*
>> BPSSORD BUILD+39, BUILD+81, BUILD+82, SORT+10
BPST0 ECMENUM+4~, ECMENUM+6*
BPST4 ECMENUM+4~, ECMENUM+7*
BPSTAMT PRTUTOT+1~, PRTUTOT+7*, PRTUTOT+11*, PRTUTOT+18*, PRTUTOT+30*, PRTUTOT+31, PRTUTOT+32
BPSTOTTN GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+18*, GETRXFCI+20
BPSTRDT BUILD+1~, BUILD+19*, BUILD+31, BUILD+49*, BUILD+73, TOTTRN+1~
BPSTRTYP GETRXFCI+4~, GETRXFCI+6*, GETRXFCI+19*, GETRXFCI+20
BPSTTRN PRTUTOT+1~, PRTUTOT+7*, PRTUTOT+19*, PRTUTOT+27, PRTUTOT+28
>> BPSUMDET BUILD+52
BPSUSER BUILD+1~, BUILD+19*, BUILD+21, BUILD+23, BUILD+49*, BUILD+53, BUILD+57, BUILD+58, PRTSGTOT~, PRTSGTOT+5*
, PRTSGTOT+7, PRTSGTOT+11*, PRTSGTOT+12*, PRTSGTOT+13, PRTSGTOT+15, PRTSGTOT+18*, PRTSGTOT+19*, PRTSGTOT+20, PRTSGTOT+22*, PRTSGTOT+23*
, PRTSGTOT+24, PRTSGTOT+26, PRTSGTOT+27, PRTUTOT~, PRTUTOT+5, PRTUTOT+9, PRTUTOT+10, PRTUTOT+11, PRTUTOT+15, PRTUTOT+16
, PRTUTOT+17, PRTUTOT+18, PRTUTOT+19, PRTUTOT+21, PRTUTOT+34, TOTTRN~, TOTTRN+4, TOTTRN+10, TOTTRN+16, TOTTRN+17
, CALCREJ~, CALCREJ+6, SORT+1~, SORT+7*, SORT+8*, SORT+9
BPSUSRNM PRTSGTOT+1~
BPSUSRNM( PRTSGTOT+9*, PRTSGTOT+12, PRTSGTOT+20*, PRTSGTOT+23
>> BPUSER PRTSGTOT+7, PRTSGTOT+15
>> BPUSER( PRTSGTOT+9
DATA BUILD+1~, BUILD+18*, BUILD+19, BUILD+22, BUILD+25, BUILD+26, BUILD+27, BUILD+28, BUILD+29, BUILD+30
BUILD+32, BUILD+33, BUILD+48*, BUILD+49, BUILD+55, BUILD+62, BUILD+64, BUILD+66, BUILD+67, BUILD+68
BUILD+69, BUILD+71, BUILD+72, BUILD+74, BUILD+75, BUILD+76, BUILD+83*, BUILD+84, BUILD+85, BUILD+86*
BUILD+87, BUILD+88, BUILD+89*, BUILD+90, BUILD+91, BUILD+94*, BUILD+95, BUILD+96, SORT+1~, SORT+9*
SORT+10, SORT+11, SORT+13
IO FIND+4
PC ECMENUM+4~, ECMENUM+6*, ECMENUM+8*, ECMENUM+9, ECMENUM+10
PF ECMENUM+4~, ECMENUM+6*, ECMENUM+9, ECMENUM+10
PR ECMENUM+4~, ECMENUM+7*, ECMENUM+8
S1 BUILD+1~, BUILD+12*, BUILD+13*, BUILD+15, BUILD+17, BUILD+18, BUILD+37*, BUILD+38*, BUILD+39, BUILD+45
BUILD+47, BUILD+48, BUILD+80, BUILD+81, BUILD+82, SORT+1~, SORT+10*, SORT+13
S2 BUILD+1~, BUILD+14*, BUILD+15*, BUILD+17, BUILD+18, BUILD+44*, BUILD+45*, BUILD+47, BUILD+48, SORT+1~
SORT+11*, SORT+13
S3 SORT+1~, SORT+12*, SORT+13
U BUILD+19, BUILD+22, BUILD+25, BUILD+26, BUILD+27, BUILD+28, BUILD+29, BUILD+30, BUILD+32, BUILD+33
BUILD+49, BUILD+55, BUILD+62, BUILD+64, BUILD+66, BUILD+67, BUILD+68, BUILD+69, BUILD+71, BUILD+72
BUILD+74, BUILD+75, BUILD+76, PRTSGTOT+9, CALCREJ+6, CALCREJ+7, CALCREJ+8, CALCREJ+9, ECMENUM+6, ECMENUM+7
, ECMENUM+10, GETRXFCI+8, GETRXFCI+9, GETRXFCI+10, GETRXFCI+11, GETRXFCI+12, GETRXFCI+13, GETRXFCI+14, GETRXFCI+17, GETRXFCI+19
X PRTSGTOT+1~, PRTSGTOT+8*, PRTSGTOT+9*, ECMENUM+4~, ECMENUM+10*, ECMENUM+11, ECMENUM+12
>> ZTQUEUED COMPILE+10, FIND+4
>> ZTREQ COMPILE+10*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All