Similar to the Processing Rule Set, the Data Rule Set will also contain Attributes to navigate Parent/Child Relationships. However, this differs from the Processing Rule Set in two ways:
- The data type of the parent navigation Attributes will be set to the Data Rule Class for the Parent Evidence Type, rather than a list of Parent Data Rule Class Objects. This is because the Parent Data Rule Class represents a Succession Set and not a single record, and there can only be one Succession Set for each Parent Evidence Type.
- The data type of the child navigation Attribute will be a java.util.List of Data Rule Class objects for the Child Evidence Type, as multiple Succession Sets of Child Evidence Types can be related to one Parent Succession Set.
- As discussed above in 'Processing Rule Sets', When parent and child relationship is established and both parent and child Evidence Type Versions are activated the system generates a relationship attribute in the parent processing rule class. This attribute is named 'related_<child Evidence Type logical name>' and may be used in customized rulesets (e.g. eligibility and entitlement ruleset) to navigate from a parent evidence record to its children. This attribute should not be referenced in customized rulesets before both parent and child Evidence Type Versions are activated. If used earlier it will cause a CER validation error when activating the parent or child version. This is not a defect but a recommended approach to developing rulesets for parent child Dynamic Evidence Types.