IBCEMU4 ;ALB/ESG - MRA UTILITIES ;25-OCT-2004
Source file <IBCEMU4.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
DENDUP(IBEOB,IBMRANOT) | ; Denied for Duplicate Function ;WCJ IB*2.0*432
; Function returns true if MRA is Denied AND Reason code 18 is present (Duplicate claim/service) |
|
DENDUPX | ;
|
|
MSPRE(IBIFN,IBEXF,IBTYPLAN) | ; Medicare supplemental PR and Excess calculations
; determine PR amount in order to calculate balance due after medicare for secondary/tertiary ; if type of plan is a Medicare supplemental or EGHP plan secondary to Medicare, PR ; calculations are determined based on the effective date multiple in the TYPE OF PLAN file ; and may or may not included Excess charges (CO-45), based on Plan Type. ; need to pass in: ; IBIFN (REQUIRED) = claim ien ; IBEXF = Excess Flag, set to 1 if NOT to include excess charges in calculation but to ; return "e" (IBE) for excess indicator if plan allows excess and there are ; excess charges. Used by PR column of MRW screen to show PR without excess ; amounts included in calculation. ; IBTYPLAN = ien in TYPE OF PLAN file (355.1) ; returns "" if no effective date for type of plan to calculate on |
|
CALC(EOBADJ,IBTYPLAN,IBPCE,IBEDT,IBEXF) | ; FUNCTION - Calculate Medicare Supplemental Balance due
; Sums up Amounts on ALL Reason Codes under ALL Group Codes = 'PR' and CO/Reason code=45. ; If those reason codes have an entry in the effective date mutliple, multiples that ; reason amount by the % the Type of plan will pay. If no entry, assume 100% payment for PR. ; any other Group and reason codes would be 0%. ; Adds up all those sums and returns that value as the total PR&CO the Medicare ; Supplemental plan will pay. |
|
MSEDT(IBIFN,IBTYPLAN) | ; does this claim's TYPE OF PLAN have an effective date multiple on or before the
; claim 'statement covers from' date ; IBIFN = claim ien - REQUIRED ; IBTYPLAN = Type of Plan ien ; returns eff.date calculation multiple to use or null ; called from SKIP^IBCCCB, BLD^IBCECOB1, TOT^IBCECOB2, CRIT^IBCEMQC, & SECOND^IBCEMSR |
|
TYPLN(IBIFN) | ; find type of plan for claim
; IBIFN = claim ien - REQUIRED ; returns ien from file 355.1 or null if none found |