Multi-Repo Data Blend
The Data Blend feature leverages the Master Data Management (MDM) module to link patient records from multiple sources that are segregated into separate repositories using Enterprise Identifiers (EIDs). Once linked, Smile CDR FHIR Gateway provides a unified front door to these distributed patient records, enabling provider systems to retrieve a complete view of patient information during a data export — even if only a single identifier is listed in a FHIR Group resource — without querying multiple repositories directly. The Auto-Expansion feature of MDM ensures that all records linked via an EID are automatically included in the export.
$davinci-data-export operation uses the PDex Provider Group to determine attributed members. The Data Blend feature ensures that all patient records linked through an EID are included in the export, even if only the primary patient is explicitly listed in the Group.Since patient data can come from different sources, a payer may choose to segregate member data into separate repositories: one storing the payer’s own information and another storing data collected from other payers. The Data Blend feature links all related patient records across these repositories, allowing the Provider Access API to export a complete set of patient data.
Patient Context:
A payer maintains two separate repositories for member data:
$davinci-data-export includes only Patient/123 (the internal record from Repo-1).
{
"resourceType": "Group",
"id": "provider-group-1",
"member": [
{ "entity": { "reference": "Patient/123" } }
]
}
The MDM module identifies that:
When a $davinci-data-export request is initiated for a Group that lists only Patient/123, the system:
The resulting export bundle contains a comprehensive view of the patient’s data, aggregated across all repositories.
| Repository | Patient ID | Linked EID | Included in Export | Notes |
|---|---|---|---|---|
| Repo-1 | Patient/123 | EID-001 | ✅ | . |
| Repo-2 | Patient/123 | EID-001 | ✅ | Stub record in Repo 2. To be removed |
| Repo-2 | Patient/ABC | EID-001 | ✅ | . |
| Repo-2 | Patient/XYZ | EID-001 | ✅ | . |
To leverage the Data Blend feature, the payer must complete the following:
MATCH_ONLY to link related patient records across sources.For step-by-step instructions on enabling the feature, see How to Enable Data Blend.
The FHIR Gateway handles Data Blend operations by routing and aggregating patient records across multiple repositories:
Patient/$everything) is initiated via the Gateway using a Patient ID from Repo 1, the Gateway recognizes that this Patient ID is also present in Repo 2 due to replication (via Patient Stub record).Coverage, ExplanationOfBenefit, Condition, Encounter, MedicationRequest).You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.