The right-record check: it stops on look-alike records

Before typing into a record, OpenAdapt confirms it matches the one it was asked for, and stops when it can't tell. On look-alike test records with the same name and birth date and near-identical record numbers, it stopped 5 of 5. It let the right patient through and stopped a plainly different one, though it also stops some right patients.

Updated 2026-11-19

The test cases

Two rows with the same name and birth date and record numbers MG4408 and MG44O8.
Real recording, still frame from our look-alike test set, 2026. The patients are synthetic.
The first 5 rows are look-alikes. The last 2 are control cases: the right patient was let through and the plainly different patient was stopped.
CaseRecord numbersResult
A letter O for a zeroMG4408 and MG44O8Stopped
A lowercase l for a oneMG4118 and MG41l8Stopped
All digits, with letter O's100512 and 1OO512Stopped
A dash-formatted numberLook-alike characters with dashesStopped
Same name and birthday, a different clear numberMG5439 and MG7263Stopped
The right patientA clear, matching numberLet through
A plainly different patientDifferent name and numberStopped

The limits

  • On screens it can read only as pixels, it stops whenever the right patient's own record number has look-alike characters. Those are extra stops, and they don't cause wrong entries. In our record-list test, a confirmed list of the system's record numbers removed most of them. The measured rates are in the details at the end of this section.
  • It checks only the steps that carry a patient's identity, so other clicks run without this check.
  • These results come from test cases on rendered rows, and we haven't measured them on a real EMR.

Related: How it works: the right record · filing reports to the right chart

Technical details

The check is verify_target_identity in openadapt-flow. Look-alike identifiers make the OCR tier abstain (halt) rather than verify; a clear mismatch returns a mismatch verdict. The OCR runs locally and makes no network calls. On our test corpora, the extra stops came to 47 to 61 in 100 correct-patient checks. That range is the current matcher on the v1 and v2 string corpora, re-measured 17 Oct 2026 (docs/validation/IDENTITY_EVIDENCE.md in packages/flow). With a confirmed list of the system's record numbers, stops in a rendered record-list test fell from 176 to 3 in 280 clicks whose neighboring row wasn't a look-alike twin. The known-ID list (runtime.known_ids, openadapt-flow 2.2.0) lifts a look-alike stop only when exactly one listed record number fits both reads (benchmark/known_ids/KNOWN_IDS.md).

Sources & cryptographic provenance (1 citation)
  1. OpenAdapt look-alike test set (synthetic rows), 2026: 5 of 5 look-alike patients stopped; of the 2 control cases, the right patient was let through and a plainly different patient was stopped. On pixel-only screens the check stops whenever the right patient's own record number has look-alike characters (O and 0, l and 1); on our test corpora that was 47 to 61 in 100 correct-patient checks, re-measured 17 Oct 2026 (IDENTITY_EVIDENCE.md). With a confirmed list of the system's record numbers (openadapt-flow 2.2.0), those stops on a rendered record list fell from 176 to 3 in 280 clicks whose neighboring row wasn't a look-alike twin (KNOWN_IDS.md).

See it on your process

Bring a task your team types every day. We'll tell you whether it fits and what a test on your own system would cover.