IBCRCI ;ALB/ARH - RATES: CALCULATION ITEM/EVENT COST FNCTNS ; 22-MAY-96
Source file <IBCRCI.m>
| action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
| 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 |
| 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 |
| >> | 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 |