Indexed

No longer used. Included for backward compatibility only.

Label

Provides a localized description of a rule set element:

The label contains an identifier (set by the CER Editor) and a description (entered by the user).

When a CER rule set is saved or published, the values of the label annotations in a rule are used to write a property resource (in the locale of the user) to the application resource store. Conversely, when a rule set is displayed in the CER Editor, the property resource for the user's locale is retrieved from the resource store and used to populate the value of the label annotations in the rule set XML.

<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_Label"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">

  <Annotations>
    <!-- Rule-set level description -->
    <Label name="Example rule set for labels"
 label-id="annotation1"/>
  </Annotations>
  <Class name="Person">
    <Annotations>
      <!-- Rule-class level description -->
      <Label name="A Person" label-id="annotation2"/>
    </Annotations>
    <Attribute name="age">
      <Annotations>
        <!-- Attribute-class level description -->
        <Label name="The current age of the person, in years"
 label-id="annotation3"/>
      </Annotations>
      <type>
        <javaclass name="Number"/>
      </type>
      <derivation>
        <specified>
          <Annotations>
            <!-- Expression-level description -->
            <Label name="This value comes directly from evidence"
 label-id="annotation4"/>
          </Annotations>
        </specified>
      </derivation>
    </Attribute>

    <Attribute name="ageNextBirthday">
      <Annotations>
        <!-- Attribute-class level description -->
        <Label name="The age of the person at the person's next
 birthday, in years"
          label-id="annotation5"/>
      </Annotations>
      <type>
        <javaclass name="Number"/>
      </type>
      <derivation>
        <arithmetic operation="+">
          <Annotations>
            <!-- Expression-level description -->
            <Label name="Compute the person's age at next birthday"
 label-id="annotation6"/>
          </Annotations>
          <reference attribute="age">
            <Annotations>
              <!-- Expression-level description -->
              <Label name="Get the person's current age"
 label-id="annotation7"/>
            </Annotations>
          </reference>
          <Number value="1">
            <Annotations>
              <!-- Expression-level description -->
              <Label name="The number to add to get the age next
 birthday" label-id="annotation8"/>
            </Annotations>
          </Number>
        </arithmetic>
      </derivation>
    </Attribute>


  </Class>

</RuleSet>

Legislation

See the Inside Cúram Eligibility and Entitlement Using Cúram Express Rules guide.

SuccessionSetPopulation

See the Inside Cúram Eligibility and Entitlement Using Cúram Express Rules guide.

primary

Identifies the primary attribute on a rule class, as designated in the CER Editor.

This annotation may be specified on a rule class (see Rule Class) only. The named attribute must be the exact name of an attribute declared on the rule class (it cannot be used to name an attribute which is inherited but not overridden).

<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_primary"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">


  <Class name="Person">
    <Annotations>
      <!-- Declaration of the "primary" rule attribute for this rule
 class, as shown in the CER Editor -->
      <primary attribute="age"/>
    </Annotations>
    <Attribute name="age">
      <type>
        <javaclass name="Number"/>
      </type>
      <derivation>
        <specified/>
      </derivation>
    </Attribute>

  </Class>

</RuleSet>

relatedActiveInEditSuccessionSet

See the Cúram Advisor Configuration Guide.

relatedEvidence

See the Inside Cúram Eligibility and Entitlement Using Cúram Express Rules guide.

relatedSuccessionSet

See the Inside Cúram Eligibility and Entitlement Using Cúram Express Rules guide.

tags

Associates arbitrary string tags with:

<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_tags"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">

  <Annotations>
    <!-- Rule-set level tags -->
    <tags>
      <tag value="A rule-set tag"/>
      <tag value="Another tag"/>
    </tags>
  </Annotations>
  <Class name="Person">
    <Annotations>
      <!-- Rule-class level tags-->
      <tags>
        <tag value="A rule-class tag"/>
        <tag value="Another tag"/>
      </tags>
    </Annotations>
    <Attribute name="age">
      <Annotations>
        <!-- Attribute-class level tags -->
        <tags>
          <tag value="A rule-attribute tag"/>
          <tag value="Another tag"/>
        </tags>
      </Annotations>
      <type>
        <javaclass name="Number"/>
      </type>
      <derivation>
        <specified>
          <Annotations>
            <!-- Expression-level tags -->
            <tags>
              <tag value="An expression tag"/>
              <tag value="Another tag"/>
            </tags>
          </Annotations>
        </specified>
      </derivation>
    </Attribute>

  </Class>

</RuleSet>