DEV Community

Cover image for Patient Matching Is Not Just an Algorithm Problem
Nirmitee.io
Nirmitee.io

Posted on Originally published at nirmitee.io

Patient Matching Is Not Just an Algorithm Problem

Why patient records still get mismatched, how matching works, and the merges, owners and controls that decide whether an MPI succeeds.

Originally published on Nirmitee.io: Healthcare Master Data Management: Patient Identity, MPI and Governance

Every health system and multi-site healthtech product eventually faces the same question: are these two records the same patient?

Getting it wrong is not just a data quality issue. A wrong answer can put one patient's allergies in another's chart. A missed answer splits one patient's history across records.

The source's view is clear: patient matching is the part everyone funds, and the operating work around it is the part that decides success. A strong algorithm with no steward, no unmerge and no way to tell downstream systems will still leave you with wrong charts.

Why matching still breaks

Matching depends on demographic data that is incomplete, inconsistently entered and changes over time. The US has no national patient identifier to fall back on. A 2019 GAO report found that inaccurate, incomplete or inconsistently formatted data hinders matching, and that no single effort would solve it. The everyday causes:

  • Names change and vary. Marriage, nicknames, hyphens, transliteration and typos split records. Common names add false matches.
  • Addresses are unstable. People move, and some have no fixed address.
  • Identifiers are local. Each facility issues its own record number, and collection of Social Security numbers is limited for good reasons.

Better data at the front desk may be your cheapest gain. GAO reports that 23 Texas providers adopted standards for recording demographics in 2017, and three hospitals reported better automatic matching. The source notes this is self-reported evidence from a few sites, so test it on your own records.

How matching works

Patient matching workflow: standardize, block, compare and score, tier, then measure

How patient matching works, step by step. Source: Nirmitee.io

Matching standardizes records, narrows them to likely pairs, scores each pair and sorts the results into link, review or new. Three methods exist, and mature programs combine them:

  • Deterministic: exact rules on chosen fields. Fast and easy to audit, but one typo breaks it.
  • Probabilistic: weights each field and produces a score. Handles messy data, but needs tuning on your own population.
  • Referential: compares against an outside identity reference. Can bridge old addresses and name changes, but adds vendor cost and a data sharing review.

Set thresholds with evidence, not guesses. Have trained reviewers label a sample of pairs, then set limits from the error rates you can accept. A vendor's headline accuracy figure means little without a population and a definition of error. Report false links and missed links separately: the first harms safety, the second harms completeness.

FHIR offers a standard way to ask an MPI for candidates ($match), but it leaves the algorithm to each server. Treat a returned candidate as a lead until your rules accept it.

Merges and unmerges

Patient merge, unmerge and overlay workflow carried to EHRs, warehouse, HIE and machine learning features

Merges and unmerges must reach every system holding a copy. Source: Nirmitee.io

A merge should add an alias and repoint history while keeping every original record, so an unmerge can restore both people. Build unmerge before go-live, because wrong links are a matter of when, not if. The harder part is carrying each change to every system that holds a copy.

Some cases need special rules:

  • Two people in one chart should be treated as a safety event: stop use, split with health information and clinical review, and tell recipients.
  • Newborns and twins share an address, last name and close dates. Do not auto-link them.
  • Sensitive care: linking can expose data the patient expected to stay separate. Keep consent rules with the master data.

Build or buy an MPI?

The source's recommendation: buy or extend an established MPI for clinical operations unless identity is your product, and build the surrounding data and operating layers either way.

  • One EHR, one enterprise: use the EHR's own index and fix registration.
  • Several EHRs after a merger: an enterprise MPI, so source systems keep working while identity is unified.
  • Analytics across claims and clinical data: linkage in the data platform.
  • A health tech product across customers: matching per customer, never shared between them.

Who should own it

Health information management (HIM) should own patient identity decisions, operations should own their own lists, and engineering should run the service. Programs run purely by IT tend to end up with a good engine and a growing, unworked review queue.

The original guide covers provider, location and payer data too, plus the governance model. It also lists six questions to ask whoever builds your program.


Nirmitee.io builds patient identity and master data programs, from matching and merges to the data platform around them. For architecture, thresholds and governance in detail, read the original: Healthcare Master Data Management on Nirmitee.io.

Dinesh Thorat is Healthtech Growth Partner at Nirmitee.io.

Originally published at nirmitee.io.

Top comments (0)