DEV Community

Cover image for EHR Data Migration: Measure Your Data Before You Pay
Nirmitee.io
Nirmitee.io

Posted on Originally published at nirmitee.io

EHR Data Migration: Measure Your Data Before You Pay

Migrations are often priced before anyone measures the data. Seven decisions that set cost and risk, and what to ask a provider.

Originally published on Nirmitee.io: Legacy EHR Data Migration: Size Your Data Before You Pay for a Pipeline

Legacy EHR data migration is often priced before anyone has measured the data. A vendor hears "ten years of records" and quotes a pipeline: staged loads, checkpoints, change capture, a reconciliation service and the infrastructure to run it all.

Sometimes that is right. Often, per the source, the data turns out to be smaller, closed to new writes and stable in structure, and a single well-tested scripted load would have done the job for a fraction of the cost.

If you are replacing an EHR or EMR, or bringing a provider's history into a new platform, this is how to avoid paying for an assumption.

What goes wrong without measuring

Four things go wrong when a migration is designed on assumptions. The budget goes on infrastructure the data never needed. The schedule slips when the design is revised after the first real extract. Clinical risk rises when records are dropped or mismatched without anyone noticing. And compliance questions go unanswered: which records must stay available, for how long, and who can prove that what arrived matches what left.

Seven decisions that set cost and risk

Legacy EHR data migration: a sizing assessment decides between a scripted one-time load and a staged pipeline

Sizing decides between a one-time load and a pipeline. Source: Nirmitee.io

  1. How big is the data, measured rather than estimated? Ask for row counts per major table, patient and encounter counts, the date range, and document size reported separately. Scanned documents often make up most of the storage and move differently from structured data.
  2. Is anyone still writing to the old system? If it becomes read-only at cut-over, you do not need change capture. If old and new systems run in parallel, you need continuous change capture or a planned final catch-up load. Get the answer in writing.
  3. Does the source structure still change? If the old vendor is still shipping updates, you need versioned mappings and checks for changes.
  4. What must move, what can be archived, and what can stay? Active problems, medications, allergies, recent encounters and open care plans usually move. Older history may be better in a searchable, read-only archive. Deciding early can remove large parts of the mapping work.
  5. Who owns the field mapping and signs it off? Your team or the vendor can build it. Leaving it unassigned is what fails.
  6. What happens to a record that fails? A sound default: fail the record, not the run. Set it aside with a reason, and have a named team fix it.
  7. How will you report afterwards? Decide whether you need a warehouse now, or whether reporting in place will serve for the first year.

Match the approach to the answers

Matching the migration approach to sizing results: one scripted load for small closed data, staged batch loads for large closed data, change capture or a catch-up load when the old system is still live, and versioned mappings when the schema is still changing

The approach should follow the measurements. Source: Nirmitee.io

  • Small or medium, closed to new writes, stable: one scripted load, rehearsed on a copy. You avoid paying for pipeline infrastructure and change capture.
  • Large, closed, stable: staged batch loads with checkpoints and restarts.
  • Old system still live during a parallel run: an initial load plus change capture, or a planned final catch-up.
  • Structure still changing: versioned mappings with change checks before each load.

Counts are not enough

Matching counts do not prove the clinical record is complete. The source adds clinical checks: every migrated encounter links to a migrated patient; medications and allergies match on a clinician-reviewed sample; corrected records carry the latest version with history kept; scanned documents open and are attached to the right patient and date. And a named clinical lead signs off the sample in writing.

The eight steps

Inventory, measure, decide scope, map, extract and clean, rehearse, reconcile, then cut over and archive. Skipping the early steps can raise the cost of the later ones. If the old system is certified for ONC's electronic health information export, ask its vendor for that export. The original guide explains each step and the common mistakes, from forgetting documents to building a warehouse too early.

What to ask a migration provider

Ask each provider how they will measure your data before they price the work. A preliminary estimate before measuring is reasonable. A committed price before measuring is pricing an assumption. Good answers look like:

  • How will you size our data? A short measurement exercise on a copy, with counts in writing.
  • Who signs off the mapping? Your clinical owners sign; the provider drafts and tests it.
  • What happens to failed records? A written report with every rejected record and its reason.
  • How do you prove completeness? Count reconciliation plus clinical spot checks by your staff.
  • What do you hand over? Mappings, scripts, reconciliation reports and an archive access plan.

The full guide includes notes for your engineering team on export routes and safe reloads.


Nirmitee.io helps practices, agencies and healthtech teams size and run EHR data migrations, from measurement to clinical sign-off. For the full process and provider checklist, read the original: Legacy EHR Data Migration on Nirmitee.io.

Dinesh Thorat is Healthtech Growth Partner at Nirmitee.io.

Originally published at nirmitee.io.

Top comments (0)