CreateClaim
The business rule provides the ability to configure an activity-based creation of a new claim, based on events occurring on an existing policy. This rule can be used when a claim should be created at a policy or client level. One or more claims may be generated from a single source policy, but only one new claim per activity is supported. Multiple claims are allowed in a single policy based on the events. This business rule must be attached to a non-reversible activity and must be listed in the TransactionBusinessRulePacket business rule. The CreateClaim attached business rule supports dynamic fields, fixed fields of a Claim, and optionally support multifields.
| Element/Tag | Attributes | Parent Element | Description | Element/Attribute Values |
|---|---|---|---|---|
|
<CreateClaim> |
|
The required opening and closing elements of this business rule. |
||
|
<Claims> |
<CreateClaim> |
Required element: Required when creating multiple claims. |
||
|
<Claim> |
<Claims> |
Required & Repeatable element: Required when creating a claim. |
||
|
ENTITYGUID |
Required attribute: Identifies the ENTITYGUID for the Claim. MathVariable or field containing a ClaimEntityGUID (Client, Policy, Segment). The Mathvariable can be passed as a value. |
|||
|
ENTITYTYPE |
Required attribute: Identifies the ENTITYTYPE for the Claim. |
|||
|
STATUSCODE |
Required attribute: Identifies the STATUSCODE for the Claim. The following status codes can be used for the Claim. Mathvariable can be passed as a value for this. Claim status code from AsCode => AsCode/AsCodeClaimStatus table INTIMATED PENDINGDOC PENADDLDOC REGISTERED PROCSGPEND APPROVED REJECTED SETTLED CLOSED |
|||
| <Tests> | <Claim> |
Optional element: Defines the section holding the tests that will determine if the Claim record is to be created. |
||
| <Test> | <Tests> |
Repeatable element: Standard expressions comparing fields or math variables. |
||
| <Fields> | <Claim> |
Required element: Identifies the Field section |
||
| <Field> | <Fields> |
Required, repeatable element: Contains the instructions for the specified "To" field. This element (and sub elements) may be omitted if the default field values are desired. The <Field> tag is used to update a field in AsClaim table by passing the required information from the transaction or requirement.
ClaimAmount CurrencyCode ClaimEffectiveDate ClaimReferenceNumber ClientGUID ClaimGUID ClaimEntityGUID ClaimEntityType StatusCode OriginatingActivityGUID ClaimTypeCode Note: Currently, the fields are fixed fields in this scope. |
||
|
<From> |
<Field> |
This element is used to specify the MathVariable or field from which the data should be copied.
The name of the activity field or MathVariable that data is being copied from. |
||
|
<To> |
<Field> |
This element is used to specify the field on the Claim screen to which the data should be copied.
The name of the Claim that data is being copied to. The value of the <To> tag will be saved in the AsClaim database table. |
||
|
<Fields> |
<Claim> |
Required element: Identifies the Field section |
||
|
<Field> |
<Fields> |
Required, repeatable element: |
||
|
<From> |
<Field> |
Required element: Defines the source value, math variable or field.
FieldName or MathVariable |
||
|
<To> |
<Field> |
Required element: Defines the target field name to which the source value is copied. |
||
|
<Multifields> |
<Claim> |
Optional, repeatable element: Defines the multifields to be updated/inserted |
||
|
NAME |
Required: Specifies the named section of the related entity's Multifield rule. |
|||
|
END |
Required: Specifies the total number of instances of multifields for the named section of the related entity's Multifield rule. |
|||
| <Multifields> |
|
<Claim> |
Repeatable: Contains the instructions for the specified "To" field. |
|
| <Field> |
|
<Multifields> |
Required: A collection of index/value pairs for the target fields. Indices must be unique integers. |
|
| <To> |
|
Required: The target named field in the entity multifield rule |
XML Schema
<CreateClaim>
<Claims>
<Claim>
<Tests>
<Test>[condition]</Test>
<Test>...</Test>
</Tests>
<Fields>
<Field>
<From>[variable | field]</From>
<To>[field name]</To>
</Field>
<Field>...</Field>
</Fields>
<MultiFields NAME="[name]" END="[variable | integer]">
<Field>
<FromIndexCollection>[variable]</FromIndexCollection>
<To>[field]</To>
</Field>
<Field>...</Field>
</MultiFields>
</Claim>
</Claims>
</CreateClaim>
XML Example
<CreateClaim>
<Claims>
<Claim ENTITYGUID="EntityGUIDMV" ENTITYTYPE="EntityTypeMV" STATUSCODE="StatusCodeMV">
<Tests>
<Test>1=1</Test>
</Tests>
<Fields>
<Field>
<From>ClaimAmountMV</From>
<To>ClaimAmount</To>
</Field>
<Field>
<From>ClaimEffectiveDateMV</From>
<To>ClaimEffectiveDate</To>
</Field>
<Field>
<From>ClaimReferenceNumberMV</From>
<To>ClaimReferenceNumber</To>
</Field>
<Field>
<From>CurrencyCodeMV</From>
<To>CurrencyCode</To>
</Field>
<Field>
<From>ClientGUIDMV</From>
<To>ClientGUID</To>
</Field>
<Field>
<From>ClaimTypeCodeMV</From>
<To>ClaimTypeCode</To>
</Field>
</Fields>
</Claim>
</Claims>
</CreateClaim>