Class Rule Variable
OIPA provides case implementation/customer setup users with the capability to create and edit the logic rules that define criteria for membership within a Class
Authorized users can define and save values in the Class Rule Variables business rule for use by Class membership logic rules. These variables may be shared across Group Customers whose Classes have similar characteristics, or created exclusively for a specific Group Customer and/or any of its Class Groups. Access to the Class Rule Variables business rule is available at several levels within the OIPA system to support reuse of common attributes with ability to override as required to support the detail level necessary.
The objects and the respective data fields use the membership object hierarchy
.Object Hierarchy
<Person>
<GroupCustomerRelationships />
<IndividualRelationships>
<PrimaryPerson/>
<SecondaryPerson/>
<Addresses>
<AddressRole />
</Addresses>
<Policies>
<PolicyRoles>
<Person/>
</PolicyRoles>
<Segments>
<SegmentName/>
<SegmentRoles>
<Person />
</SegmentRoles>
</Segments>
</Policies>
</Person>
<GroupCustomer>
<Agreements>
<Plans>
<PlanSegmentNames>
<SegmentName>
<SegmentNameClasses/>
</SegmentName>
</PlanSegmentNames>
</Plans>
</Agreements>
</GroupCustomer>
Access Path for data fields
The data field values can be retrieved by specifying path in the domain object hierarchy. The syntax is same as XPath
Some examples –
Fixed and dynamic data for Group customer can be accessed as:
GroupCustomer/CustomerNumber
GroupCustomer/TaxID
Filters can be specified to access data ( Fields Table)
GroupCustomer/Agreements[StatusCode=’A’]/AgreementName
GroupCustomer/Agreements[AgreementName=’FinancialAgreement’]/DynamicFieldName
GroupCustomer/Agreements[AgreementName=’FinancialAgreement’]/Plans[EffectiveDate >= $SystemDate]
Address examples -
get city for a specific address type:
Person/Addresses[AddressRole/AddressRoleCode=’02’]/City
get city for the default address
Person/Addresses[AddressRole/DefaultFlag=’1’]/City
‘$’ is used to specify a filter that uses the value of a variable. ‘$’ is also used to reference a previously defined math variable to get a DATAFIELD
GroupCustomer Relationship examples
Person/GroupCustomerRelationships[ActiveDate=$SystemDate]/Union
Person/IndividualRelationships[PrimaryRelationshipType=’01’]/PrimaryPerson/DateofBirth
More Examples
Person/Policies/PolicyRoles[RoleCode='01']/Person
GroupCustomer/Agreements[AgreementName=’FinancialAgreement’]/Plans[EffectiveDate >= $SystemDate]/PlanSegmentNames/SegmentName/SegmentNameClasses[TypeCode=$TypeCode]
MathVariable Type
AGGREGATEFUNCTION
COLLECTION
COLLECTIONVALUE
DATEARRAY
EXPRESSION
FUNCTION
INTEGERARRAY
NUMERICARRAY
STRINGARRAY
SYSTEMDATE
TEXTARRAY
VALUE
DATAFIELD
DATATYPE
DATE
DATEARRAY
DECIMAL
DECIMAL
DECIMALARRAY
INTEGER
INTEGERARRAY
OBJECT
OBJECTARRAY
STRINGARRAY
ARRAYLIST BOOLEAN
TEXT
TEXTARRAY