Lookups for attribute code values
In the Reltio model, a simple attribute with a set of values can be defined by a lookup collection.
To use lookups for a list of values:
- Provide lookup values
- Specify the lookup in your attribute configuration
To support business cases when data is driven by other data (for example, the list of states depends on the country), Reltio Data Cloud provides dependent lookups when one attribute value drives the values of another attribute.
Special features of dependent lookups:
-
One dependent lookup value can belong to multiple dependent values - for example, MD (specialty, Medical Doctor) exists in multiple countries. Some specialties can be in multiple countries, while other specialties can belong only to one country.
-
There can be multiple level dependent lookups over a sequence of dependent lookups when one lookup drives another one, then another - for example, Continent > Country > State > County > City.
Lookups in Reltio platform have the following tree-like structure:
{
"SPECIALTY_GROUPS":{
"OTHER":{
"displayName":"OTHER"
},
"PEDIATRICS":{
"displayName":"PEDIATRICS"
},
"PSYCHIATRY":{
"displayName":"PSYCHIATRY"
}
},
"SPECIALTIES":{
"AS":{
"displayName":"ABDOMINAL SURGERY",
"parent":"SPECIALTY_GROUPS.OTHER"
},
"ADM":{
"displayName":"ADDICTION MEDICINE",
"parent":"SPECIALTY_GROUPS.PSYCHIATRY"
},
"ADP":{
"displayName":"ADDICTION PSYCHIATRY",
"parent":"SPECIALTY_GROUPS.PSYCHIATRY"
},
"ADL":{
"displayName":"ADOLESCENT MEDICINE",
"parent":"SPECIALTY_GROUPS.OTHER"
}
}
}
Per-tenant lookups structure looks like a JSON object where each attribute is a lookup code, for example: SPECIALTY_GROUPS and SPECIALTIES. For each lookup code, there is a JSON object with possible code values and resolutions. In the above example, the ADL attribute values would resolve to ADOLESCENT MEDICINE.
To configure an attribute type to obtain a value through a lookup, an additional field
lookupCode
needs to be added to the attribute configuration. You
can configure the attributes within: Entity Types, Group Types, Relation Types, Graph
Types, and Interaction Types.
Lookup Structure
{
"URI":"configuration/entityTypes/HCP/attributes/Specialty",
"label":"Specialty",
"name":"Specialty",
"lookupCode":"SPECIALTY"
}