Engineering · 10 min read
Enterprise Master Patient Index (EMPI) on FHIR: identity resolution without data duplication.

How to resolve duplicate medical charts and link fragmented records across disparate hospital systems using deterministic identifiers, Fellegi-Sunter probabilistic matching, and FHIR R4 Patient/$match.
The identity fragmentation crisis in multi-system hospitals
A typical multi-facility hospital network runs between 10 and 40 distinct clinical and administrative software systems: disparate EMRs across hospital branches, separate Laboratory Information Systems (LIS), PACS for imaging, dedicated pharmacy databases, and legacy billing servers. In many institutions, between 8% and 22% of all patient records are duplicates or fractured across variations in name spelling, transposed mobile numbers, missing national identifiers, and outdated addresses. Without accurate patient matching, doctors review incomplete clinical histories, duplicate diagnostic tests are repeatedly ordered, and automated clinical AI models make predictions based on partial charts.
Deterministic vs. probabilistic matching: Fellegi-Sunter on FHIR
Traditional master patient indices rely either on rigid deterministic matching (which fails when a digit is mistyped in an Aadhaar or ABHA number) or opaque proprietary algorithms that are impossible to audit. Healytix Fabric pairs deterministic matching for high-confidence universal identifiers (ABHA, National Health ID, MRN) with calibrated Fellegi-Sunter probabilistic record linkage for demographic fields (phonetic Soundex/Metaphone name matching, Jaro-Winkler string distance for addresses, and Levenshtein distance for date of birth). Each matching candidate receives a transparent weight score calculated from hospital-specific field frequencies.
Standard FHIR R4 Patient/$match semantics and non-destructive linking
Instead of proprietary APIs, Fabric exposes identity resolution directly through the HL7 FHIR R4 Patient/$match operation. When an upstream system submits a Patient resource with partial demographics, Fabric returns candidate matches ranked by match confidence grade (certain, probable, possible). Crucially, Fabric never performs destructive database merges that overwrite historical records. Instead, it creates standard FHIR `Patient.link` entries with explicit semantics (`replaces`, `refer`, `seealso`), preserving the exact provenance and legal record of every underlying encounter.
The Golden Record without duplicate data replication
Legacy Enterprise Data Warehouses (EDWs) attempt to solve patient identity by replicating millions of clinical rows into a centralised secondary data lake, creating massive data sovereignty and compliance headaches under the DPDP Act and HIPAA. Fabric's EMPI operates as a virtual identity graph. Demographic links are resolved in real-time, pointing back to the authoritative underlying sources via Relay. Clinicians and downstream AI models view a unified, longitudinal Golden Record on demand, without copying sensitive diagnostic data across databases.
Human-in-the-loop manual review queue for borderline cases
Borderline matches—such as twins sharing birth dates and addresses, or familial name variations with confidence scores between 0.70 and 0.88—are automatically routed to a secure Health Information Management (HIM) manual review queue in CareOps. HIM specialists review side-by-side demographic diffs, encounter timelines, and family relationships before confirming or rejecting the link. Every manual confirmation trains the probabilistic weight tables and is permanently recorded in the tamper-evident audit log.
Key takeaways
- 01EMPI on FHIR resolves patient identity across fragmented EHRs without creating duplicate data lakes.
- 02Fellegi-Sunter probabilistic matching accurately reconciles typographical errors in names and phone numbers.
- 03Non-destructive `Patient.link` references maintain full legal provenance and medical chart history.
- 04A dedicated HIM review queue provides human oversight for ambiguous borderline matches.
Where this lives in the platform
Share this note