IBCRBC2 ;ALB/ARH - RATES: BILL CALCULATION OF ITEM CHARGE ; 22-MAY-1996
Source file <IBCRBC2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| BITMCHG(RS,CS,ITEM,EVDT,UNITS,MOD,INSRC,IDFRC,SAVE) | ; get bill charges for a specific item, rate schedule and charge set and date set into temp array
 | 
|
| COMMENT(LINE,COMM) | ; set comment into charge array for a particular line item
 | 
|
| COMMUB(CS,UNITS,BASE) | ; return comment for special units and base
 | 
|
| ALLBEDS(RS,CS,EVDT,RC,DFRC,SAVE) | ; get charges for all bedsections active on date of visit
 ; each effective date supercedes all previous effective date, regardless of the item ; used for per diem rates where the charges are associated with a bedsection, but the item being billed is not ; a bedsection, so the count of the item on the bill is found and applied as the units to all bedsections active ; on the event date (the 3 opt visit dates on a bill are the units for the Outpatient Visit bedsection charge)  | 
|
| CPTUNITS(CS,CHGMTH,ITLINE) | ; return CPT units based on Charge Method and CPT data
 ; Input: CS is the related Charge Set ; CHGMTH is the Rate Schedule Charge Method (363.3, .05) ; ITLINE is item data from CPT^IBCRBG1 ; Output: calculated units for CPT, 1 or calculated for miles/minutes/hours  | 
|
| CHGOTH(IBIFN,RS,EVDT) | ; check if the Rate Schedule charges are applicable to the event date for the bill
 ; this is relevent to RC v2.0 and type of care of Other ; both Rate Schedule is SNF and event date is SNF care or neither can be otherwise no charge ; SNF charges can't be used for non-SNF care and non-SNF charges can't be used for SNF care ; Output: returns true if charges and bill date are of same type, SNF or non-SNF  | 
|
| CHGOTHQ | ||
| CHGICU(CS,BS) | ; check if charge and bedsection match relative to ICU RC 2.0+, compares Charge Set Name and Bedsection
 ; both the charge set and the bedsection have to be ICU or neither of them can be ICU otherwise no charge ; ICU charges can't be used with non-ICU bedsections and non-ICU charges can't be used with ICU bedsection ; Output: returns true if charges and bedsection are of same type, ICU or non-ICU  |