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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: IBCRCI

Package: Integrated Billing

Routine: IBCRCI


Information

IBCRCI ;ALB/ARH - RATES: CALCULATION ITEM/EVENT COST FNCTNS ; 22-MAY-96

Source Information

Source file <IBCRCI.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Integrated Billing 5 $$CHGICU^IBCRBC2  ($$RATECHG,ITMCHG)^IBCRCC  ($$CPTUNITS,$$CSITMS,CSALL)^IBCRCU1  $$ITBICHK^IBCRU2  ($$CSDV,RT)^IBCRU3  

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

Package Total Caller Graph
Integrated Billing 13 IBATCM  IBATEI  IBAUTL2  IBCOPV2  IBCRBEI  IBCRER  IBJDB21  IBNCPDP1  
IBRSUTL  IBTOSUM1  IBTUBO1  IBTUBO2  IBTUTL5  

Entry Points

Name Comments DBIA/ICR reference
ITCHG(CS,ITEM,EVDT,MOD) ; returns total base unit charge for a specific charge set, item/event and date
; works for both types of Charge Set (Item and Event) and all Charge Methods
; does not factor in division, units or rate schedule adjustment
; if charges for the Set are based on event rather than item, will get active events, ITEM is not required/used
; Input: CS = Charge Set ifn, ITEM = billable item pointer, MOD = cpt modifier
; Output: total item charge on EVDT ^ effective date of charge ^ total base charge
ITCHGQ
ITCOST(RS,CS,ITEM,EVDT,MOD,DIV,UNIT) ; returns total adjusted unit cost/charge for a specific schedule/set, item/event, date
; this is the actual cost of one item/event, does factor in division, units and rate schedule adjustment
; units should be 1 or undefined unless the Charge Method of the rate is Quantity/Miles/Minutes/Hours
; if the Charge Set is region specific, Division passed must be within that region or no charge
; Input: CS = Charge Set ifn, ITEM = billable item pointer, MOD = cpt modifier, UNIT = 1 unless Quantity
; Output: total adjusted item charge/cost on EVDT ^ effective date of charge
ITCOSTQ
BICOST(RT,BT,EVDT,BE,ITEM,MOD,DIV,UNIT,CT,BLBS) ; returns the total unit cost of a particular item/event for a specific Rate Type and Bill Type, i.e. payer
; this includes all cost for the item and payer, which may include more than one charge set or rate schedule
; ITEM is not required if it is an Event CS, BE is required only as a screen for a specific event, if desired
BILLCOST(IBIFN,EVDT,BE,ITEM,MOD,UNIT) ; returns total cost of a particular item or event for a specific bill
; cost may include more than one set or schedule charge if the item/event is defined for more than one set
; or schedule assigned to the rate type/event type of the bill

External References

Name Field # of Occurrence
$$CHGICU^IBCRBC2 BICOST+9
$$RATECHG^IBCRCC ITCOST+15
ITMCHG^IBCRCC ITCHG+16
$$CPTUNITS^IBCRCU1 ITCOST+10
$$CSITMS^IBCRCU1 ITCHG+11
CSALL^IBCRCU1 ITCHG+11
$$ITBICHK^IBCRU2 ITCHG+9
$$CSDV^IBCRU3 ITCOST+9
RT^IBCRU3 BICOST+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGCR(399 - [#399] BILLCOST+4
^IBA(363.2 - [#363.2] ITCHG+20
^IBE(363.1 - [#363.1] ITCHG+8, ITCOST+8

Label References

Name Line Occurrences
$$BICOST BILLCOST+5
$$ITCHG ITCOST+12
$$ITCOST BICOST+10
ITCHGQ ITCHG+8, ITCHG+9, ITCHG+13
ITCOSTQ ITCOST+8, ITCOST+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BE BICOST~, BICOST+5, BICOST+9, BILLCOST~, BILLCOST+5
BLBS BICOST~, BICOST+9
BT BICOST~, BICOST+5
CS ITCHG~, ITCHG+8, ITCHG+9, ITCHG+11, ITCHG+16, ITCOST~, ITCOST+8, ITCOST+9, ITCOST+10, ITCOST+12
CT BICOST~, BICOST+5
DIV ITCOST~, ITCOST+9, BICOST~, BICOST+10
EVDT ITCHG~, ITCHG+7*, ITCHG+8, ITCHG+11, ITCHG+12, ITCHG+16, ITCOST~, ITCOST+7*, ITCOST+8, ITCOST+12
, ITCOST+15, BICOST~, BICOST+5, BICOST+10, BILLCOST~, BILLCOST+5
IB0 BILLCOST+4~*, BILLCOST+5
IBARR BICOST+4~, BICOST+5
IBARR( BICOST+7, BICOST+8
IBBCOST ITCOST+7~, ITCOST+12*, ITCOST+14
IBBT BILLCOST+4~*, BILLCOST+5
IBCHG ITCHG+7~, ITCHG+15*, ITCHG+18*, ITCHG+21
IBCHGARR ITCHG+7~, ITCHG+16
IBCHGARR( ITCHG+17, ITCHG+18
IBCHGB ITCHG+7~, ITCHG+15*, ITCHG+18*, ITCHG+21
IBCI ITCHG+7~, ITCHG+15*, ITCHG+18*, ITCHG+20
IBCOST ITCOST+7~*, ITCOST+12*, ITCOST+13*, ITCOST+14*, ITCOST+15*, ITCOST+16*, ITCOSTQ, BICOST+4~*, BICOST+11*, BICOST+12
IBCS BICOST+4~, BICOST+8*, BICOST+9, BICOST+10
IBDT ITCOST+7~, ITCOST+12*, ITCOST+16, BICOST+4~*, BICOST+10*, BICOST+12
IBEFDT ITCHG+7~, ITCHG+20*, ITCHG+21
IBI ITCHG+7~, ITCHG+17*, ITCHG+18
IBIFN BILLCOST~, BILLCOST+4
IBITEM ITCHG+7~, ITCHG+15*, ITCHG+16
IBITMARR ITCHG+7~, ITCHG+11, ITCHG+12*, ITCHG+13
IBITMARR( ITCHG+12*, ITCHG+15
IBLN ITCHG+7~, ITCHG+18*
IBRS BICOST+4~, BICOST+7*, BICOST+8, BICOST+10
IBRT BILLCOST+4~*, BILLCOST+5
IBX ITCHG+7~*, ITCHG+21*, ITCHGQ, BICOST+4~*, BICOST+12*, BICOST+13, BILLCOST+4~*, BILLCOST+5*, BILLCOST+6
IBY BICOST+4~, BICOST+10*, BICOST+11
ITEM ITCHG~, ITCHG+9, ITCHG+12, ITCOST~, ITCOST+12, BICOST~, BICOST+5, BICOST+10, BILLCOST~, BILLCOST+5
MOD ITCHG~, ITCHG+16, ITCOST~, ITCOST+12, BICOST~, BICOST+10, BILLCOST~, BILLCOST+5
RS ITCOST~, ITCOST+15
RT BICOST~, BICOST+5
U ITCHG+18, ITCHG+20, ITCHG+21, ITCOST+12, ITCOST+16, BICOST+10, BICOST+12, BILLCOST+4, BILLCOST+5
UNIT ITCOST~, ITCOST+7*, ITCOST+10*, ITCOST+13, BICOST~, BICOST+10, BILLCOST~, BILLCOST+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All