C1-DETTERMDT
This algorithm is used to calculate the termination date for the policies or individual memberships. This date is sent to the enrollment system through the termination outbound message. This algorithm is invoked when the event is triggered manually from the user interface or automatically through the C1-DPMON batch.
You must use this algorithm in a delinquency process type using which you want to create a delinquency process to initiate termination request for a policy or individual membership through an outbound message. It should be attached to the delinquency event type which requests to terminate the following:
-
Policies billed to the delinquent person or account
-
Individual memberships billed to the delinquent account
It calculates the termination date based on the termination date rule. The system derives the termination date rule using an algorithm which is attached to the Termination Date Rule Derivation system event of the delinquency process type.
In addition, this algorithm retrieves the business rules of the Delinquency Miscellaneous Options Business Rule category which are effective on the trigger date. Note that the system considers only those effective business rules which are in the Active status. Once the effective business rules are identified, the system executes these business rules in the order of their priority.
Once a policy or individual membership meets the criteria defined in the business rule, the system refers the value of either the following parameter depending on the termination date rule (as listed in the below table) for the policy or individual membership from the business rule:
-
Add Days to Coverage End Date
-
Add Days to Paid Through Date
-
Add Months to Paid Through Date
-
Add Days to Grace End Date
-
Add Days to Date of Processing of Termination Request
The system derives the policies using an algorithm which is attached to the Policies Derivation system event of the delinquency process type.
The system derives the individual memberships using an algorithm which is attached to the Memberships Derivation system event of the delinquency process type.
While deriving an active individual membership, the system considers the status code which is specified in the Membership Active Status option type of the C1-ASOBLLNG feature configuration. Similarly, while deriving an active policy, the system considers the status code which is specified in the Policy Active Status option type of the C1-ASOBLLNG feature configuration.
Once the system derives the termination date rule and the required parameter from the delinquency miscellaneous options business rule, the system calculates the termination date for each policy or individual membership in the following manner:
Termination Date Rule is set to… | Parameter which is used from the business rule… | Termination date is set to… |
---|---|---|
Latest Billed Coverage End Date | Add Days to Coverage End Date | Latest Billed Coverage End Date (i.e. coverage end date that falls on or prior to the grace end date) + Add Days to Coverage End Date |
Latest Due Coverage End Date | Add Days to Coverage End Date | Latest Due Coverage End Date (i.e. coverage end date that falls prior to the latest due date) + Add Days to Coverage End Date |
X days After Paid Through Date | Add Days to Paid Through Date | Paid Through Date + Add Days to Paid Through Date |
X Months After Paid Through Date | Add Months to Paid Through Date | Paid Through Date + Add Months to Paid Through Date |
Month End of Grace Period Start | - | Last Day of Grace Period Start Month |
Month End of Termination Letter Creation | - | Last Day of Termination Letter Creation Event Trigger Month |
Month End of Termination Request Event | - | Last Day of Send Termination Request Event Trigger Month |
X days After Grace End Date | Add Days to Grace End Date | Grace End Date + Add Days to Grace End Date |
X days After Termination Request Event | Add Days to Date of Processing of Termination Request | Send Termination Request Event Trigger Date + Add Days to Date of Processing of Termination Request |
Once the termination date is calculated for each policy or individual membership, the system checks whether the termination date is earlier than the respective policy or individual membership start date. If the termination date is earlier than the respective policy or individual membership start date, the system sets the termination date to the respective policy or individual membership start date. In addition, if the delinquency category of the delinquency process is set to GRUP, this algorithm derives the status reason from the Policy Termination Reason for Delinquency Process attribute of the delinquency process preference.
It validates whether the status reason is defined for the Terminated status of the C1-POLICY business object. Similarly, if the delinquency category of the delinquency process is set to INDV, this algorithm derives the status reason from the Membership Termination Reason for Delinquency attribute of the delinquency process preference. It validates whether the status reason is defined for the Active status of the C1-IndMembership business object.
Finally, it stores the terminate date rule, termination date, and the termination reason of each delinquency process corresponding to the record in the C1_DELIN_PROC table.