RolesExist

This business rule, when attached to a transaction, allows for configuration of multiple validations. Specifically, the ability to identify which roles cannot be assigned to the same person (i.e.Client) age validations, and identification of role fields that must be populated. This rule must be listed in TransactionBusinessRulePacket.

RolesExist Element/Attribute Table
Element/Tag Definition Attribute Element/Attribute Value and Description

<RolesExist>

The opening and closing tag for the business rule.

 

 

<Role>

Required, repeatable:

Opening tag of the role section.

 

 

<RoleCode>

Required :
Defines the role codes that must exist on the policy.

 

Required value:
Code: RoleCode (As defined in AsCode table=>AsCodeRole).

<FieldsExist>

Optional:
The element tag listsfields that must exist on the role and have a value other than null.

 

 

<Field>

Required, repeatable:

<FieldsExist> tag is used to ensure that certain required fields are filled in, at the time of running the transaction.

 

Required value:
String: Field name from the GROUP attribute.

 

GROUP

Required attribute:
String: Client, Role, Person, Organization  

Indicates the table/screen that stores the field being referenced.

 

DISPLAY

Required attribute:
String: Provides a user friendly name that is inserted into the error message when the field does not pass validation.

<FieldsDoNotExist>

Optional:
<FieldsDoNotExist> tag is used to ensure that certain required fields are empty, at the time of running the transaction.

 

 

<Field>

Required, repeatable:
Defines the field to verify if the field value does not exist on the Client screen of the client which is assigned to the specified role code

 

Required value:
String: Field name from the GROUP attribute.

 

GROUP

Required attribute:
String: Client, Role. Indicates the table/screen that stores the field being referenced. Available groups are limited to CLIENT and ROLE.

 

DISPLAY

Required attribute:
String: Provides a user friendly name that is inserted into the error message when the field does not pass validation.

<InterRoleRules>

Optional:

<InterRoleRules> applies dependencies between roles.

   

<MustBeDifferent>

Required, Repeatable::


This element lists the roles whose clients must not be the same.

   



ROLE1

Required:

Code:

RoleCode(As defined in AsCodetable=> AsCodeRole)



ROLE2

Required:

Code:

RoleCode(As defined in AsCodetable=> AsCodeRole)

<Validations>

Optional:

This element defines age related validations.

   

<AgeValidation>

Required, repeatable:

Defines the age validation for each role.

   

 

ROLE

Required:

Code:

RoleCode (As defined in AsCode table=>AsCodeRole)


DISPLAY

Required:

Provides a user friendly name that is inserted into the error message when the age does not pass validation.

MINIMUM

Required:

Minimum age.

Defines the minimum age for the role.

 

MAXIMUM

Required:

Maximum age.

Defines the maximum age for the role.

<Events>

See Actions/Events.

   

<ScreenMath>

See ScreenMath Element.

   

<Actions>

See Actions/Events.

   

<Segments>

Optional:

   

<Segment>

 

Required, repeatable:

Identifies the segment by its name on which roles are validated. Although the element is repeatable, the segment name cannot be repeated.

   

 

SEGMENTNAME

Required:

SegmentName

<Role>

Required, Repeatable:

Opening tag for the role section.

   

<RoleCode>

Required:

Defines the role codes that must exist on the segment.

   

<FieldsExist>

Optional:

The element lists fields that must exist on the role and have a value other than null.

   

<Field>

Required, repeatable:

Defines a field name that must exist.

   

 

GROUP

Required:

String: Client, Role

Indicates the table/screen that stores the field being referenced.

 

DISPLAY

Required:

String: Provides a user friendly name that is inserted into the error message when the field does not pass validation.

<FieldsDoNotExist>

Optional:
<FieldsDoNotExist> tag is used to ensure that certain required fields are empty, at the time of running the transaction.

 

 

<Field>

Required, repeatable:
Defines the field to verify if the field value does not exist on the Client screen of the client which is assigned to the specified role code

 

Required value:
String: Field name from the GROUP attribute.

 

GROUP

Required attribute:
String: Client, Role. Indicates the table/screen that stores the field being referenced. Available groups are limited to CLIENT and ROLE.

 

DISPLAY

Required attribute:
String: Provides a user friendly name that is inserted into the error message when the field does not pass validation.

<InterRoleRules>

Optional:   

Applies dependencies between roles.

   

<MustBeDifferent>

Required, Repeatable:

This element lists the roles whose clients must not be the same.

   

 

ROLE1

Code:

RoleCode(As defined in AsCodetable=> AsCodeRole)

 

ROLE2

Code:

RoleCode(As defined in AsCodetable=> AsCodeRole)

<Validations>

<Validations> is used to perform certain age related validations.

   

<AgeValidation>

Required, repeatable:

Defines the age validation for each role.

   



ROLE

Required:

Code:

RoleCode (As defined in AsCode table=>AsCodeRole)



DISPLAY

Required:

Provides a user friendly name that is inserted into the error message when the age does not pass validation.

<Minimum>

Required  

 

Minimum age for the specified role.

<Maximum>

Required  

 

Maximum age for the specified role.

XML Example

<RolesExist>
<Role>
<RoleCode>01</RoleCode>
<FieldsExist>
<Field GROUP="Client" DISPLAY="SSN/TIN">TaxID</Field>
<Field GROUP="Client" DISPLAY="DOB">DateOfBirth</Field>
<Field GROUP="Organization" DISPLAY="Organization Name">OrganizationName</Field>
<Field GROUP="Person" DISPLAY="FirstName">FirstName</Field>
</FieldsExist>
</Role>
<Role>
<RoleCode>23</RoleCode>
</Role>
<Role>
<RoleCode>37</RoleCode>
</Role>
<Role>
<RoleCode>82</RoleCode>
</Role>
<Segments>
<Segment SEGMENTNAME="RiderWithRoles">
<Role>
<RoleCode>37</RoleCode>
<FieldsExist>
<Field GROUP="RoleField" DISPLAY="Common Role Field">CommonRoleField</Field>
</FieldsExist>
<FieldsDoNotExist>
<Field GROUP="Client" DISPLAY="Date Of Death">DateOfDeath</Field>
</FieldsDoNotExist>
</Role>
<Role>
<RoleCode>49</RoleCode>
<FieldsExist>
<Field GROUP="RoleField" DISPLAY="Common Role
Field">CommonRoleField</Field>
</FieldsExist>
</Role>
<InterRoleRules>
<MustBeDifferent ROLE1="37"
ROLE2="49"></MustBeDifferent>
</InterRoleRules>
<Validations>
<AgeValidation ROLE="49" DISPLAY="Payer age less than 20 or
greater than 60">
<Minimum>20</Minimum>
<Maximum>60</Maximum>
</AgeValidation>
</Validations>
</Segment>
<Segment SEGMENTNAME="RiderWithClientAssignmentII">
<Role>
<RoleCode>37</RoleCode>
<FieldsExist>
<Field GROUP="RoleField" DISPLAY="Common Role
Field">CommonRoleField</Field>
</FieldsExist>
<FieldsDoNotExist>
<Field GROUP="Client" DISPLAY="Date Of Death">DateOfDeath</Field>
</FieldsDoNotExist>
</Role>
</Segment>
<Segment SEGMENTNAME="RiderWithoutClientAssignmentII">
<Role>
<RoleCode>37</RoleCode>
</Role>
</Segment>
</Segments>
</RolesExist>

 XML Schema

<RolesExist>
<Role>
<RoleCode>role code</RoleCode>
<FieldsExist>
<Field GROUP="object name" DISPLAY="string">FieldName</Field>
<Field GROUP="Client"|"Organization"|"Person" DISPLAY="string">FieldName</Field>
</FieldsExist>
<FieldsDoNotExist>
<Field GROUP="object name" DISPLAY="string">FieldName</Field>
</FieldsDoNotExist>
</Role>
<Role>
<RoleCode>role code</RoleCode>
</Role>
<InterRoleRules>
<MustBeDifferent ROLE1="" ROLE2=""/>
</InterRoleRules>
<Validations>
<AgeValidation ROLE="" DISPLAY="" MINIMUM="" MAXIMUM="">
<Minimim></Minimum>
<Maximum></Maximum>
</AgeValidation>
</Validations>
<Segments>
<Segment SEGMENTNAME="">
<Role>
<RoleCode>role code</RoleCode>
<FieldsExist>
<Field GROUP="object name"
DISPLAY="string">FieldName</Field>
</FieldsExist>
<FieldsDoNotExist>
<Field GROUP="object name" DISPLAY="string">FieldName</Field>
</FieldsDoNotExist>
</Role>
<InterRoleRules>
<MustBeDifferent ROLE1="" ROLE2=""/>
</InterRoleRules>
<Validations>
<AgeValidation ROLE="" DISPLAY="">
<Minimum></Minimum>
<Maximum></Maximum
</AgeValidation>
</Validations>
</Segment>
</Segments>
</RolesExist>

 

 

 

 

 

Oracle Insurance Logo Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us