What Should a Legacy EHR Sunset Plan Include? Read-Only Access, Retention, and Liability After Migration

Author: Jean Jacques Nya Ngatchou, MD | September 21, 2026

A practical framework for IT admins decommissioning a legacy EHR: how long to keep read-only access, state retention rules, and who stays liable for old-system data requests.

TL;DR

What Should a Legacy EHR Sunset Plan Include?

A legacy EHR sunset plan should include a validated data migration audit, a defined read-only access window, a documented retention schedule aligned to state law, a records request procedure that spans both systems, and clear contractual liability language with the outgoing vendor.

Most sunset plans fail not because of any single missing step but because they are treated as an afterthought to the migration project rather than a parallel workstream with its own owner, budget, and timeline. In practice, a sunset plan needs six components:

  1. Data migration validation report. Before anyone talks about decommissioning, someone needs to confirm what actually moved. This means reconciling patient counts, chart note counts, lab result counts, and document counts between old and new systems, not just spot-checking a handful of charts. Discrepancies here become the justification for how long read-only access needs to stay live.
  2. Read-only access period with a defined end date. Not "we'll keep it around for a while." A specific date, tied to a specific business reason (state retention minimums, litigation exposure, payer audit windows), documented in writing and revisited quarterly.
  3. User access deprovisioning schedule. Legacy systems accumulate zombie accounts. A sunset plan should specify who retains access during the read-only period (usually HIM staff, compliance, and a designated clinical lead) and when everyone else is cut off, typically at go-live plus 30 to 90 days.
  4. Retention and destruction schedule tied to actual law. Not a guess. A written schedule referencing the specific state statute or regulation, the specific record type, and the calculated destruction or archive date.
  5. A records request procedure that spans both systems. Staff fielding a records request 14 months post-migration need a clear answer to "where do I look" without escalating to IT every time.
  6. Contractual liability and support terms with the outgoing vendor, executed before the migration is declared complete, not negotiated retroactively after the vendor's support team has moved on to other accounts.

How Long Should a Clinic Keep Read-Only Access to a Legacy EHR After Migration?

Most outpatient practices should plan on 24 to 36 months of read-only legacy access, with longer windows for pediatric, obstetric, or high-litigation-risk specialties.

There is no single federal rule dictating this number, which is exactly why so many practices get it wrong in both directions. Some shut off legacy access within 90 days to save on licensing costs, then get burned when a patient records request or malpractice discovery demand arrives and nobody can produce the original documentation in its native format. Others keep every legacy system running indefinitely "just in case," paying maintenance fees for systems nobody has logged into in two years while quietly increasing their attack surface with an unpatched, rarely monitored application.

A more defensible approach ties the read-only window to actual risk exposure:

The honest operational tradeoff here is cost versus risk. Keeping a legacy EHR live and licensed for three years is not free, vendors often charge maintenance fees disproportionate to actual usage once a practice is no longer their active customer. The alternative, converting to a static archive (validated PDF exports, CCDs, or a read-only data warehouse) after an initial live read-only period of 6 to 12 months, is usually cheaper and still legally defensible if done correctly.

What Are the Medical Record Retention Requirements After Switching EHR Systems?

Medical record retention requirements do not change because you switched EHR systems. The same state law that governed retention in the old system still applies to every record now sitting in the new one or archived from the old one.

This is a point of genuine confusion for IT admins managing a migration: switching systems does not reset the retention clock, and it does not create a new, shorter obligation. The record's retention requirement is tied to the record's creation date and content type, not to which software currently stores it.

A few grounding facts:

Because these requirements vary by state and record type, a sunset plan should never rely on a single retention number applied uniformly. The retention schedule should be built as a table: record type, applicable law or guideline, calculated retention date, and current storage location (live legacy system, static archive, or new EHR).

Get early access to Thyra

Built by a practicing endocrinologist. JJ personally reviews every application.

Or apply for the founding cohort →

Who Is Liable for Old Patient Records After an EHR Migration Is Complete?

The covered entity, meaning the practice itself, remains liable for old patient records after migration, and that liability does not transfer to the new EHR vendor or automatically terminate with the old vendor's contract.

This is the piece of the sunset plan most frequently mishandled, because IT teams sometimes assume that once data has moved to Thyra or any new EHR, responsibility for the old records moves with it, or that the outgoing vendor absorbs liability once the contract ends. Neither assumption is safe without explicit contract language.

Here's how liability actually breaks down in most scenarios:

The practical takeaway for IT admins: get the outgoing vendor's data custody, BAA survival terms, and post-termination support commitments in writing during the migration contract negotiation, not after go-live. Once the vendor relationship has cooled and their implementation team has moved to other accounts, negotiating leverage disappears.

What Happens to Data That Wasn't Migrated?

Data that wasn't migrated doesn't stop being a legal record just because it stayed behind, and it needs its own line item in the sunset plan rather than being treated as acceptable loss.

No migration moves everything cleanly. Free-text notes in nonstandard formats, scanned documents buried in unusual file structures, old fax logs, and legacy lab interface data that predates the migration's data mapping scope are common casualties. The sunset plan should explicitly document what categories of data were excluded from migration and why, along with where that data will live and for how long. "We didn't migrate it" is not the same as "it no longer needs to be retained." If a state audit or malpractice discovery request touches a record type that wasn't migrated, the practice still needs to produce it, which means the legacy system (or a validated archive of it) needs to remain accessible for the full retention period regardless of migration completeness.

How Should You Budget and Contract for Legacy System Access?

Budget for legacy system access as a distinct, time-bound line item with a hard end date, not as an open-ended maintenance cost folded into general IT overhead.

Practices frequently underestimate the cost of keeping a legacy EHR minimally operational for read-only access: hosting fees, a reduced but nonzero support contract, security patching obligations, and staff time to manage access requests all add up. Negotiate a read-only support tier with the outgoing vendor at the time of migration, ideally at a meaningfully reduced rate compared to the full active license, since you're no longer using scheduling, billing, or e-prescribing functionality. Vendors are generally willing to offer this, but only if it's negotiated as part of the exit terms rather than requested as a favor after the relationship has ended.

Access ModelTypical DurationBest For
Live read-only legacy system6 to 24 monthsPractices with complex charts, imaging, or workflows that don't translate well to static export
Static archive (validated PDF/CCD exports)3 to 10+ yearsLong-term retention after the live system is decommissioned, especially for pediatric or high-risk records
Vendor-hosted archive serviceDuration of retention requirementPractices without in-house infrastructure to manage a data warehouse securely
Internal data warehouse/records lockerDuration of retention requirementHealth systems or larger groups with existing IT infrastructure and compliance staff

None of these models is universally correct. A live read-only system preserves the most clinical fidelity, including original formatting, embedded images, and click-through history, but it's the most expensive to maintain and carries the most residual security risk if patching lapses. A static archive is cheaper and lower-risk from a security standpoint but can lose some clinical context if the export process wasn't validated carefully before decommissioning. The right answer is usually a phased approach: live read-only for the first 12 to 24 months while records requests are most frequent, transitioning to a validated static archive for the remainder of the retention period.

Frequently Asked Questions

Does HIPAA require a specific EHR data retention period?

No. HIPAA requires 6 years of retention for HIPAA-related documentation such as policies, BAAs, and authorizations, but it does not set a retention period for the clinical record itself. Actual medical record retention is governed by state law, which varies and is often longer than 6 years, particularly for minors.

Can we just export everything to PDF and shut down the legacy EHR immediately?

You can, but it carries risk if the export wasn't independently validated against the source system first. PDF exports can lose structured data, embedded images, or interactive elements like flowsheets, and if a records request later reveals gaps, the practice bears the liability. A validated export, confirmed against a sample audit of the original system, is safer than an unvalidated bulk export followed by immediate shutdown.

Who pays for maintaining read-only access to the legacy EHR?

The practice does, typically through a reduced-rate support agreement negotiated with the outgoing vendor. This should be scoped and priced during the migration contract negotiation, not requested informally afterward when the vendor has less incentive to offer favorable terms.

What happens if the legacy vendor goes out of business before the retention period ends?

This is exactly why data escrow or a validated local/warehouse export matters. If retention depends entirely on the outgoing vendor staying in business and hosting your data, you have a single point of failure. Practices should have their own validated copy of critical legacy data independent of the outgoing vendor's continued operation.

Should the sunset plan be part of the EHR migration contract with the new vendor?

The sunset plan itself involves the outgoing vendor, not the new one, but the new vendor's migration services agreement should clearly define what was migrated, how it was validated, and what wasn't included in scope. That documentation becomes evidence supporting your legacy retention decisions.

About the Author

This post was prepared by the clinical and product team at Thyra, an EHR built for endocrinology and primary care by Dr. Jean Jacques Nya Ngatchou. Thyra supports practices through EHR transitions, including running alongside legacy systems before go-live, and works with implementation teams to plan data validation and legacy decommissioning as part of every migration engagement.

References

Get early access to Thyra

Built by a practicing endocrinologist. JJ personally reviews every application.

Or apply for the founding cohort →