SegmentPrograms
The SegmentPrograms rule defines when Segment level Programs may be added and maintained based on the Policy's status and optionally on true evaluation of custom conditions based on the current Policy and Segment data. This configuration directs the system to populate the Segment Program drop-down for a specific Segment on the Program Screen with eligible Program names.
This rule is contained in the AsSegmentProgramDefinition database table. The records in this table link ProgramDefinitions to Segment definitions and provides a configuration unique to each link. The lack of a link in the database table means the program is not eligible to be added and maintained on a Segment.
| Elements | Attributes | Parent Element | Description | Element / Attribute Values |
|---|---|---|---|---|
| <SegmentPrograms> | This is the root element for the rule. | |||
| <Eligibility> | <SegmentPrograms> |
Required, Repeatable: This structure identifies the operation to add and/or maintain the program conditioned on the Policy's status and custom conditions based on Policy and Segment data. This element is repeated to construct independent conditions for either of the two operations. |
||
| <Tests> | <Eligibility> |
Optional: This element provides one or more conditions that, when all evaluate to true, allows the processing of the remainder of the parent element's configuration. |
||
| <Test> | <Tests> |
Required, Repeatable: This element provides a single condition. It is repeated to provide multiple conditions. |
|
|
| <PolicyStatusCode> | <Eligibility> |
Optional, Repeatable: This element provides a single Policy Status Code that allows the eligibility of the Program's operation. It is repeated to provide multiple status codes indicating eligibility. |
|
|
| <Operation> | <Eligibility> |
Required: This element associates eligibility to program operations. |
|
XML Schema
<SegmentPrograms>
<Eligibility>
<Tests>
<Test>[condition]</Test>
<Test>...</Test>
</Tests>
<PolicyStatusCode>[code]</PolicyStatusCode>
<PolicyStatusCode>...</PolicyStatusCode>
<Operation>[Add | Maintain | Both]</Operation>
</Eligibility>
<Eligibility>...</Eligibility>
</SegmentPrograms>
XML Example
<SegmentPrograms>
<Eligibility>
<Tests>
<Test>Policy:IssueStateCode <> '05'</Test>
</Tests>
<PolicyStatusCode>01</PolicyStatusCode>
<PolicyStatusCode>08</PolicyStatusCode>
<Operation>Both</Operation>
</Eligibility>
</SegmentPrograms>