ruleBlock element

The <ruleBlock> element provides the way to group related rules and organize rules in a hierarchy.

Attributes

<ruleBlock> has the following attribute:

Table 1. Attributes of the <ruleBlock> element
Name Description Data type Required?
name Identifies the rule block. This identifier must be unique within the rule set or rule block that contains this rule block. It cannot contain a period. xsd:NMTOKEN Yes

Contained within

<ruleBlock> is contained within the following elements:

Contains

<ruleBlock> contains the following elements.

If they are coded, the <comment>, <import>, and <variable> elements must be coded in the order that is shown. The remaining elements can be coded in any order.

Table 2. Elements contained within the <ruleBlock> element
Element Required or optional?
<comment> Optional. 0 or 1 occurrence is allowed.
<import> Optional. 0 or more occurrences are allowed.
<variable> Optional. 0 or more occurrences are allowed.
<ruleBlock> Optional. 0 or more occurrences are allowed.
<collectionRule> Optional. 0 or more occurrences are allowed.
<computationRule> Optional. 0 or more occurrences are allowed.
<duplicateRule> Optional. 0 or more occurrences are allowed.
<filterRule> Optional. 0 or more occurrences are allowed.
<sequenceRule> Optional. 0 or more occurrences are allowed.
<thresholdRule> Optional. 0 or more occurrences are allowed.
<timerRule> Optional. 0 or more occurrences are allowed.