CER Editor reference

The CombineSuccessionSet element provides a graphical representation of the combineSuccessionSet expression. It is accessed from the Technical Logic pallet.

The steps below describe how to implement the logic described in Example. For brevity, some steps (such as the best practice of creating description rule attributes) are omitted.

Create an Absence rule class for evidence

Create a rule class named Absence to represent a Person 's succession set of Absence evidence, and add the following attributes:

On this Absence rule class, select the "Succession Set" check box, set the "Start Date Attribute" to startDate and the "End Date Attribute" to endDate. Edit the "Extends" to select the "ActiveSuccessionSet" rule class from the PropagatorRuleSet..

See the Cúram Express Rules Reference Manual for more details on general properties for all rule elements.

Write the CombinedAbsence return class

The CombineSuccessionSet expression will combine the details from the Absence rule objects, and you need a new rule class to hold the combined details.

Create a CombinedAbsence rule class with the following attributes:

Write the Person rule class

Each absence pertains to a person, and thus you must create a Person rule class to contain the list of absence details (which will be combined in a single rule object showing the combined absence details for the person).

Add a caseParticipantRoleID (Number) attribute.

Add a Rule Attribute for the Person 's Absence Succession Sets

On the Person rule class, add an absences attribute which retrieves the Absence succession set rule objects for the Person.

Add a Rule Attribute to combine the Person 's Absence Succession Sets

On the Person rule class, add an combinedAbsences attribute which combines the Absence succession set rule objects for the Person (using the CombineSuccessionSets expression).

Add a Rule Attribute to calculate eligibility based on absence reason

On the Person rule class, add an isEligibleTimeline attribute (Boolean, made into a Timeline) which tests the absence reason for the combined absence history for the person.