CopyToClaimFields
This business rule is attached to a transaction or requirement to allow one or more MathVariables to be copied from the activity/requirement to one or more Claim fields. If the fields are displayed on the Claim screen, the values will be viewable. The CopyToClaimFields attached business rule supports dynamic fields, fixed fields of a Claim, and optionally support multifields.
Element/Tag | Parent Element | Attribute | Definition |
---|---|---|---|
<CopyToClaimFields> |
|
The required opening and closing elements of this business rule. | |
CLAIMGUID |
Required Element: Math variable containing a CLAIMGUID |
||
<Fields> |
<CopyToClaimFields> |
Required element: Identifies the Field section |
|
<Field> |
<Field> |
Required, repeatable element: Contains the instructions for the specified "To" field. The <Field> tag is used to update a field in AsClaim table by passing the required information from the transaction or requirement.
The fields that will be copied are,
The following fields that does not get copied and are system generated fields:
|
|
<From> |
<Field> |
This element is used to specify the MathVariable or field from which the data should be copied.
FieldName or MathVariable. |
|
<To> |
This element is used to specify the field on the Claim to which the data should be copied.
The value of the <To> tag will be saved in the AsClaim and AsClaimField database table.
FieldName |
||
<Multifields> |
<CopyToClaimFields> |
Repeatable: Defines the multifields to be updated/inserted |
|
NAME |
Required: Specifies the named section of the related entity's Multifield rule.
Literal name |
||
END |
Required: Specifies the total number of instances of multifields for the named section of the related entity's Multifield rule.
Literal Integer or Integer Math Variable |
||
<Field> |
|||
<FromIndexCollection> |
Required: A collection of index/value pairs for the target fields. Indices must be unique integers.
Math variable collection of index/values. |
||
<To> |
Required: The target named field in the entity multifield rule
Literal field name |
XML Schema
<CopyToClaimFields CLAIMGUID="[Math Variable]">
<Fields>
<Field>
<From>[variable]</From>
<To>[literal]</To>
</Field>
<Field>...</Field>
<MultiFields NAME="[name]" END="[variable | integer]">
<Field>
<FromIndexCollection>[variable]</FromIndexCollection>
<To>[field]</To>
</Field>
<Field>...</Field>
</MultiFields>
</Fields>
</CopyToClaimFields>
XML Example
<CopyToClaimFields CLAIMGUID="ClaimGuidMV">
<Tests>
<Test>1=1</Test>
</Tests>
<Fields>
<Field>
<From>AmountMV</From>
<To>ClaimAmount</To>
</Field>
<Field>
<From>DateMV</From>
<To>ClaimEffectiveDate</To>
</Field>
</Fields>
</CopyToClaimFields>