PolicyPrograms

The PolicyPrograms rule defines when Policy 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 data. This configuration directs the system to populate the Policy Programs drop-down on the Program Screen with eligible Program names.

This rule is contained in the AsPlanProgramDefinition database table. The records in this table link ProgramDefinitions to Plans and provides the 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 the Policies of the Plan.

PolicyPrograms: Elements and Attributes
Element Attributes Parent Element Description Element / Attribute Values
<PolicyPrograms>     This is the root element for the rule.  
<Eligibility>   <PolicyPrograms>

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 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.

  • condition

    • Policy and Segment data are available to construct a condition

<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.

  • code

    • valid code value comes from AsCodeStatus

<Operation>   <Eligibility>

Required:

This element associates eligibility to program operations.

  • Add

    • this value pertains to the ability to add a specific program

  • Maintain

    • this value pertains to existing Programs and an ability to update and continue the program

  • Both

    • this value allows eligibility for both Add and Maintain operations in one structure

XML Schema

<PolicyPrograms>
    <Eligibility>
        <Tests>
            <Test>[condition]</Test>
            <Test>...</Test>
        </Tests>
        <PolicyStatusCode>[code]</PolicyStatusCode>
        <PolicyStatusCode>...</PolicyStatusCode>
        <Operation>[Add | Maintain | Both]</Operation>
    </Eligibility>
    <Eligibility>...</Eligibility>
</PolicyPrograms>

XML Example

<PolicyPrograms>
    <Eligibility>
        <PolicyStatusCode>01</PolicyStatusCode>
        <PolicyStatusCode>08</PolicyStatusCode>
        <PolicyStatusCode>09</PolicyStatusCode>
        <PolicyStatusCode>39</PolicyStatusCode>
        <Operation>Both</Operation>
    </Eligibility>
</PolicyPrograms>
OR
<PolicyPrograms>
    <Eligibility>
        <Tests>
            <Test>Policy:IssueStateCode &lt;&gt; '03'</Test>
        </Tests>
        <PolicyStatusCode>08</PolicyStatusCode>
        <PolicyStatusCode>05</PolicyStatusCode>
        <PolicyStatusCode>01</PolicyStatusCode>
        <Operation>Add</Operation>
    </Eligibility>
    <Eligibility>
        <PolicyStatusCode>08</PolicyStatusCode>
        <PolicyStatusCode>05</PolicyStatusCode>
        <PolicyStatusCode>01</PolicyStatusCode>
        <Operation>Maintain</Operation>
    </Eligibility>
</PolicyPrograms>