Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 89 Next »

Claim Type represents a claim template - a preconfigured way to validate certain type of claim data from the distributor. As a developer you can set up here the what sheet from the XLS will be used, how the columns will be mapped to the Claim Line Item and which logic should be used for validations of the claims.

Configuration

Claim types are managed on the page Channel Management  Claim Types.

claim type list

Fields

  • uniqueName* - name of the Claim Type

  • label* - human readable name of the Claim Type, displayed to the user, when they select which Claim Type they want to use on the Claim document

  • sheetName - when the claim data comes from XLS file, this denotes the name of the sheet, which will be used. If not selected, the first sheet found in the XLS will be used.

  • formulaName* (Validation Logic) - name of claim logic, which will do the validation of the uploaded claim lines. It is executed for each claim line item. See Claim Validation Logic

  • validationStateElementName - name of element of the validation logic, which calculates and returns the validation status for the data row. For details about this element, see Claim Validation Logic. If not specified, the default validationState value will be used (see Claim Line Item (CLLI)).

  • allocationFormulaName (Allocation Grid Logic) - name of claim logic, which will calculate and return a result matrix with list of details for the selected claim line item. See Claim Allocation Logic

  • configuration (mapping) - configuration of mapping from data row or logic calculation results to Claim Line Item.

Mapping of data row and calculation results to Claim Line Item

When the claim validation logic finishes the validation of the data row, the data from the data row (from the XLS file) and the results of the validation logic are mapped to the claim line item.

The flow of the data is following:

claim data flow.drawio
  • Row with Claim data - represents one claim row either read from XLS file or created by the source logic. It’s provided to the Validation Logic as a Map object.

The mapping can be set up, when you select one particular claim type, and click on Edit

claim mapping

In the mapping configuration, you can decide for each field of Claim Line Item, what data will end up in the field:

  • name - name of source element/column

    • source element - If the claim validation logic has a visible element with such name, the value to be mapped, will be taken from the result of that element.

    • source column - if the claim validation logic does NOT have a visible element with such name, the value will be taken from the claim data row from column with such name

  • attribute* - name of destination field on the Claim Line Item object

  • fieldFormatType - formatting of the destination field. If the name is set, then also the fieldFormatType must be set. The format applies when the user reviews the destination field of claim line item on the screen. If the value of the destination field comes from the validation logic, the format type of the logic element (if it’s set) will override this format type.

  • canEdit - decides, if the destination field will be editable (overridable) by user. All the other fields will appear to the user as read-only.

  • No labels