IntakeProfileDefinition
The IntakeProfileDefinition rule is used to display the fields on the Intake Profile Screen and also to perform the pre-processing validations on the received file.
IntakeProfileDefinition Elements/Attributes
Element/Tag | Attribute | Definition | Element/Attribute Value and Description |
---|---|---|---|
< IntakeProfileDefinition> |
|
|
|
<Fields> |
|
See Fields Elements. |
|
<RecordProcessing> |
|
Required element: Opening tag for the record analysis section. |
|
<Fields> |
|
See Fields Elements. |
|
<PreProcessing> |
|
Required element:
Opening tag for the configuration used to analyze and validate a record during Pre-Processing. |
|
<CalculateChanges> |
|
Required element:
Opening tag for the change calculation section used to identify the changes. |
|
<RecordComparison>
|
|
Optional attribute: Supports the data comparison between the previous record and the newly received record in the intake pre-processing phase. |
|
COMPARATOR |
Required attribute: Comparator that will be executed to perform the tasks associated with the comparison of records. |
The comparator supports 'groupMemberIntakeRecordComparator' value |
|
<FileProcessing> |
|
Required element:
Opening tag for the file analysis section. |
|
<PreProcessing> |
|
Required element: Opening tag for the configuration used to analyze and validate a file during Pre-Processing. |
|
<CalculateChanges> |
|
Required element: Opening tag for the change calculation section used to identify the changes. |
|
<FileComparison>
|
|
Supports file comparison for employee/member/participant type intake files |
|
COMPARATOR |
Required attribute: Comparator that will be executed to perform the tasks associated with the file comparison. |
Prior record or system date is the value to be considered for record comparison | |
<FileValidation> |
|
Specifies the validations performed during pre-processing on intake files. |
|
<Math> |
|
See Math element. |
|
<MathVariables> |
|
|
|
<MathVariable> |
|
See MathVariable Element. |
|
<Validations> |
|
Optional element: Validation configuration is used to validate the pre-processing results on the file. |
|
<Expression>
|
|
Optional, Repeatable element: Used to evaluate and validate data values.Expressions configured within the Validations section will not have access to the variables configured within the Screen Math section. |
|
TYPE |
Required attribute: Used to differentiate the type of validation expression. |
ErrorOnTrue, ErrorOnFalse |
|
OVERRIDABLE |
Required attribute: Used to signify if the error is overridable. |
Yes|No |
|
MESSAGE |
Required attribute: The configured business error message when validation fails. |
User defined text. |
|
<Processing> |
|
Required element: Used to define the execution details. |
|
<TransactionName> |
|
Required element: The name of the execution transaction used to perform the tasks associated with record execution. |
|
XML Examples
<IntakeProfileDefinition>
<Fields>
<Field>
<Name>GCID</Name>
<Display>Group Customer ID</Display>
<DataType>TEXT</DataType>
</Field>
<Field>
<Name>FileID</Name>
<Display>File ID</Display>
<DataType>TEXT</DataType>
</Field>
</Fields>
<RecordProcessing>
<PreProcessing>
<CalculateChanges>
<RecordComparison COMPARATOR="PriorRecord/SystemState"/>
</CalculateChanges>
</PreProcessing>
</RecordProcessing>
<FileProcessing>
<PreProcessing>
<CalculateChanges>
<FileComparison COMPARATOR="PriorRecord/SystemState"/>
</CalculateChanges>
<FileValidation>
<Math>
<MathVariables>
<MathVariable VARIABLENAME="GCIDMV" TYPE="EXPRESSION" DATATYPE="TEXT">GCID</MathVariable>
<MathVariable VARIABLENAME="FileIDMV" TYPE="EXPRESSION" DATATYPE="TEXT">FileID</MathVariable>
<MathIF IF="IsEmpty(GCIDMV)">
<MathVariable VARIABLENAME="MissingGCID" TYPE="VALUE" DATATYPE="TEXT">Yes</MathVariable>
</MathIF>
<MathIF IF="IsEmpty(FileIDMV)">
<MathVariable VARIABLENAME=" MissingFileID" TYPE="VALUE" DATATYPE="TEXT">Yes</MathVariable>
</MathIF>
</MathVariables>
</Math>
<Validations>
<Expression TYPE="ErrorOnTrue" OVERRIDABLE="No" MESSAGE="Group Customer ID is missing">MissingGCID = Yes</Expression>
<Expression TYPE="ErrorOnTrue" OVERRIDABLE="No" MESSAGE="File ID is missing">MissingFileID = Yes</Expression>
</Validations>
</FileValidation>
</PreProcessing>
<Processing>
<Transaction>RecordExecutionTransaction</Transaction>
</Processing>
</FileProcessing>
</IntakeProfileDefinition>