Full name cleanser
The full name cleanser generates full names as defined and adds an attribute to the ReltioCleanser crosswalk.
Cleanser Name - FullNameBuilder
Description - This cleanser generates full names as defined and adds an attribute to the ReltioCleanser crosswalk, as per the output mapping.
- Except for the
Nameattribute, you can define your own names for all these attributes.FirstNameMiddleNameLastNameInitial
- By default,
FirstNameandLastNameare marked as mandatory. However, you can choose the mandatory attributes as per your requirement.
| Key | Allowed | Subattribute Name |
|---|---|---|
isForce | Boolean (true/false) |
|
pattern | This is the only pattern to generate the full name. |
|
isForce parameter works correctly, the Name attribute must be present in both the inputMapping and the outputMapping sections of your cleanse configuration. While input attribute names like FirstName or LastName can be customized, the output must always map to an attribute named Name.
L3 Configuration - Map the FullNameBuilder for any entity in your L3 configuration. Here’s an example of a sample configuration:
{
"uri": "configuration/entityTypes/HCP",
"cleanseConfig": {
"infos": [
{
"uri": "configuration/entityTypes/HCP/cleanse/infos/FullNameBuilder",
"useInCleansing": true,
"sequence": [
{
"chain": [
{
"cleanseFunction": "FullNameBuilder",
"resultingValuesSourceTypeUri": "configuration/sources/ReltioCleanser",
"proceedOnSuccess": true,
"proceedOnFailure": true,
"mapping": {
"inputMapping": [
{
"attribute": "configuration/entityTypes/HCP/attributes/FirstName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "FirstName"
},
{
"attribute": "configuration/entityTypes/HCP/attributes/MiddleName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "MiddleName"
},
{
"attribute": "configuration/entityTypes/HCP/attributes/LastName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "LastName"
},
{
"attribute": "configuration/entityTypes/HCP/attributes/Initial",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "Initial"
},
{
"attribute": "configuration/entityTypes/HCP/attributes/Name",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "Name"
}
],
"outputMapping": [
{
"attribute": "configuration/entityTypes/HCP/attributes/Name",
"mandatory": true,
"allValues": false,
"cleanseAttribute": "Name"
}
]
},
"params": {
"isForce": true,
"pattern": "{FirstName} {MiddleName} {LastName}"
}
}
]
}
]
}
]
},
"attributes": [
{
"uri": "configuration/entityTypes/HCP/attributes/ID",
"label": "ID",
"name": "ID",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/MiddleInitial",
"label": "Middle Initial",
"name": "MiddleInitial",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/FirstName",
"label": "First Name",
"name": "FirstName",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/MiddleName",
"label": "Middle Name",
"name": "MiddleName",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/LastName",
"label": "Last Name",
"name": "LastName",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/Initial",
"label": "Initial",
"name": "Initial",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
},
{
"uri": "configuration/entityTypes/HCP/attributes/Name",
"label": "Name",
"name": "Name",
"description": "",
"type": "String",
"hidden": false,
"important": false,
"attributeOrdering": {
"orderingStrategy": "LUD"
}
}
]
}Example
| Options | Inputs (Input) | Output (Name) |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|