C1_MEDIPREM
This algorithm is to be configured on Pricing Rule Type for Benefits. It builds the membership timeline considering the membership dates and the effective dates for the repricing request raised for the membership. For each valid timeline, it computes the membership premium based on the applicable base fee as per the Benefit Sub Type admin setup.
The following negotiation logic will be applied to calculate premium amount for Group and individual membership:
-
If the processing is for benefit sub type having Value Type = Flat and Price = N , get the respective effective pre-calculated amounts from the Benefit table.
-
If 'Negate' = Y for this benefit sub type and 'RECON_SW' = N then multiply the amount by -1.
-
If 'Negate' = Y for this benefit sub type and 'RECON_SW' = Y then DO NOT multiply.
-
If 'Negate' = N for this benefit sub type and 'RECON_SW' = N then DO NOT multiply by -1.
-
If 'Negate' = N for this benefit sub type and 'RECON_SW' = Y then multiply the amount by -1.