Switching EHR Software: How to Migrate Patient Records Without Losing History
A practical guide to moving patient records between EHR systems without silently losing history, attachments, or years of notes.
Written by the Onceva teamPublished 2026-08-207 min read
In this article
- Structured, well-defined data fields are the easiest thing to migrate, because both the old and new systems store them in a predictable, tabular way.
- This is the part that rarely comes up until after go-live.
- A migration can complete without errors and still be wrong.
- A hard cutover — shut down the old system on a Friday, run entirely on the new one Monday morning — is tempting because it's simple and it's over quickly.
A clinic in Lahore decides to move off the EHR it has used for four years because the vendor stopped answering support calls. The new system goes live on a Monday. By Wednesday, a doctor is looking at a patient's file and can't find the note from a visit eight months ago about a drug reaction — it's just not there. The demographics moved. The allergy history did not. This is the part of switching EHR software that gets the least attention and causes the most damage.
Migrating patient records sounds like a simple data transfer — export from one system, import into another. In practice it is closer to a translation job between two systems that were never designed to talk to each other, and translations lose things. Knowing what typically survives, what typically doesn't, and how to check before you fully commit is what separates a clean switch from a quiet loss of years of clinical history.
01What Usually Transfers Cleanly
Structured, well-defined data fields are the easiest thing to migrate, because both the old and new systems store them in a predictable, tabular way.
- Patient demographics — name, CNIC, date of birth, contact numbers, address
- Registration and visit dates
- Billing records tied to invoice numbers
- Structured lab values, when both systems use comparable fields (e.g., a numeric blood glucose reading with a date)
- Appointment history, if it's stored as discrete records rather than free text
If your current system exports these as clean CSV or a structured database dump, a competent vendor should be able to map them into the new system with minimal loss. This is the "easy" 70% of a migration, and it's also the part most vendors demo confidently — which can create false confidence about the rest.
02What Often Gets Lost or Degraded
This is the part that rarely comes up until after go-live.
- Free-text clinical notes. Doctor's narrative notes — "patient reports intermittent chest discomfort, advised ECG, will review in 2 weeks" — often get dumped into a single unstructured field, or truncated, or lose their original date stamps and get bundled under one migration date.
- Attachments and scanned documents. Old lab reports, imaging scans, and referral letters stored as files are frequently the first thing left behind, especially if the old system stored them in a proprietary format or didn't allow bulk export at all.
- Historical prescriptions. A prescription written as free text years ago may not map onto a new system's structured drug fields, so it either gets dropped or imported as a note that no longer triggers allergy or interaction checks the way an active prescription would.
- Allergy and problem lists. If these were entered as text rather than coded fields, they can disappear into general notes, meaning a new e-prescribing system's allergy checking has nothing to check against for that patient until someone re-enters it manually.
- Audit trails. Who entered what, and when, is often not preserved — which matters less for day-to-day care but can matter for disputes or record requests later.
The pattern here is consistent: anything that was free text or a scanned file is at risk. Anything that lived in a clean, structured field usually survives.
03Why "It Migrated" Doesn't Mean "It Migrated Correctly"
A migration can complete without errors and still be wrong. A record count that matches — 4,000 patients in, 4,000 patients out — tells you nothing about whether each patient's history is actually intact and readable inside it. A note field that imported as a garbled character string, or a prescription that silently didn't map to a drug in the new formulary, won't throw an error. It will just sit there, wrong, until someone happens to look for it during a consultation.
This is why migration quality varies so much between vendors, and why a vendor telling you "we migrate your data" is not the same as your data actually being usable afterward. You have to check it yourself, not take the claim on faith.
A Basic Sanity Check Before Full Cutover
Before you trust the new system with live patients, pull a sample and check it properly:
- Pick 15-20 patients, including a few with long histories and a few with complicated cases (multiple prescriptions, known allergies, chronic conditions)
- Open each one in the new system and compare it line-by-line against the old record
- Check specifically for: allergy entries, active prescriptions, the most recent 3-5 visit notes, and any attached lab reports or scans
- Ask a doctor who actually uses the record daily to review the sample, not just an admin — they'll notice missing clinical detail an admin might not
If problems show up in the sample, they're almost certainly present across the whole dataset, just in different patients. Fix the mapping and re-run before going further.
04Why a Parallel Run Beats a Hard Cutover
A hard cutover — shut down the old system on a Friday, run entirely on the new one Monday morning — is tempting because it's simple and it's over quickly. It is also the riskiest way to switch, because it gives you no fallback the moment you discover something didn't migrate correctly, and these discoveries tend to happen mid-consultation, with a patient sitting in front of the doctor.
A short parallel run — keeping the old system accessible (even read-only) alongside the new one for a few weeks — costs a bit more admin overhead but gives staff somewhere to check when a record looks incomplete. It also gives you time to catch migration gaps on real patient encounters rather than in a test sample, before the old system is switched off for good. Once you're confident the new system is reliable, you retire the old one on your own schedule rather than being forced to trust it on day one. The general shape of this — running old and new in parallel briefly, verifying before fully switching over — is the same caution worth applying across the first stretch of any new system, which is covered in more detail in the first 90 days of an EHR rollout.
05What to Ask a New Vendor Before You Sign
Before committing to a switch, get specific answers in writing, not general reassurance:
- Exactly which data types they migrate (demographics, notes, prescriptions, attachments) and which they don't
- Whether free-text notes are preserved as searchable, dated entries or dumped into a single field
- Whether scanned documents and lab attachments are included, or whether that's a separate manual process
- How allergy and problem-list data is mapped — this directly affects whether allergy checking works correctly on day one
- Who does the migration — the vendor's team, a third party, or your own staff following a guide — and what support is available if something looks wrong after go-live
- Whether you'll get a chance to review a test migration before the final cutover
A vendor that answers these clearly and specifically is more trustworthy than one that just says "don't worry, we handle it." If you're still comparing vendors at this stage, it's worth revisiting the broader evaluation criteria in this EHR selection checklist, since migration support is one of the areas that's easy to overlook until it's too late to negotiate.
06Don't Skip the Boring Part
None of this is complicated, but it is tedious, and tedious steps are the ones that get skipped under deadline pressure. The clinics that switch EHR systems without losing history aren't the ones with the fanciest new software — they're the ones that treated the migration itself as a real project: sampled the data, checked it against the original records, ran both systems in parallel long enough to catch problems, and didn't fully retire the old system until they were sure. Moving to any connected, structured record system — the kind discussed in digital patient management for Pakistani clinics — is worth doing. It's just worth doing carefully, with your own verification, rather than assuming the migration worked because nobody told you otherwise.
Start your 2-month free trial
Onceva is in early access for clinics and clinicians in Pakistan. Try the full system, arrival to invoice, on one patient record, free for two months, no card and no obligation.
Start Your 2-Month Free Trial