Expert materials

Stay tuned for the latest trends and updates in the IT industry. Learn the best practices and expert opinion on the software development and modernization from our technical specialists.

Latest article

A modernization proposal for a regional health system's scheduling platform lands on your desk. It lists fourteen services, a Kubernetes migration plan, and one sentence in the security section: all components will be compliant with the Health Insurance Portability and Accountability Act (HIPAA).

In the review meeting, nobody can say which of the fourteen services will receive a patient name, a date of birth, or an appointment record. Security wants to freeze the legacy system until someone can. Engineering wants to start on Monday.

Sound familiar? Both sides are missing the same thing: a map of where electronic protected health information (ePHI) travels. What keeps these projects stuck is the fear that touching old code will break compliance.

Read on to discover how to keep PHI risk flat as the architecture improves.

Why is “if it's compliant now, don't touch it” a costly instinct?

The instinct is understandable, because a system that survived its last audit feels proven. It is costly because a legacy healthcare system left unchanged still accumulates risk, as the vendors, identities, integrations, and data copies around it keep changing.

The U.S. Department of Health and Human Services (HHS) Office for Civil Rights (OCR) enforces HIPAA, and its 2026 settlements show where liability lands. In the cases against MMG Fusion, four ransomware victims, and OSF Healthcare System, breaches from 2020 and 2021 led to penalties years later, and each organization lacked an accurate risk analysis when the incident hit.

Breach economics point in the same direction. IBM's Cost of a Data Breach 2026 puts the average healthcare breach at $6.64 million, the highest of any industry for the 15th consecutive year.

                                                                     Source: Verizon 2026 Data Breach Investigations Report

A freeze leaves every one of those entry routes open. Three places deserve a look this week, whatever your modernization plan says:

  • Remote access portal: is multi-factor authentication (MFA) enforced on every path in, including vendor and service accounts?
  • Patch backlog: which open vulnerabilities appear in the Cybersecurity and Infrastructure Security Agency (CISA) Known Exploited Vulnerabilities catalog, and who owns each one?
  • Login pages: do they lock out repeated failures and sit behind current identity tooling, or do they still run on the original authentication code?

None of these checks requires rewriting business logic or touching a patient record.

Not sure what a freeze is leaving exposed?

Most legacy systems have a few open doors nobody has mapped. TYMIQ reviews your remote access, patch backlog, and login paths before anything gets migrated.

See how we approach legacy modernization

What is PHI, and which parts of a system carry compliance risk?

Protected health information (PHI) is individually identifiable health information, such as a name, date of birth, medical record number, diagnosis, or appointment detail, held or transmitted by a covered entity (a provider, health plan, or clearinghouse) or its business associate. ePHI is the electronic form. The PHI boundary is the set of systems, interfaces, logs, backups, and data copies where ePHI is created, received, stored, or transmitted.

Three activities create compliance risk inside that boundary:

  • Storage: databases, file shares, backups, and archives that hold ePHI at rest.
  • Access: authentication, authorization, and session handling that decide who reaches ePHI.
  • Transmission: interfaces, APIs (application programming interfaces), message queues, and exports that move ePHI between systems.

Everything else can be modernized without ever crossing the boundary, provided the data-flow map confirms no ePHI passes through it. That usually includes the user interface (UI, the pages, forms, and scripts people see and click), business logic that works with patient tokens and never full records, and reporting built on de-identified data.

HHS's January 6, 2025 proposal to rewrite the HIPAA Security Rule would make a technology asset inventory and an ePHI flow map explicit requirements. The proposal is not final. HHS has moved its target for final action to July 2027, according to Davis Wright Tremaine.

‍                                                                    Source: PwC's 2026 healthcare cybersecurity outlook

The boundary follows the data, so it helps to know where breached PHI sat.

Which layers of a legacy healthcare system can you modernize first?

Authentication, the user interface (UI), and business logic that handles patient tokens can be modernized first, and PHI storage should change last. The table sorts seven layers by modernization order and the first step for each.

Layer
When
First step
Authentication
First
Add multi-factor authentication (MFA) to every remote access path
UI
Early
Audit third-party scripts and test with synthetic data
Business logic
Early
Pass patient tokens, not full records
Logging
Early
Redact identifiers at the logger
Reporting
Middle
List every export path and trim the data
Integration
Middle
Put a façade in front, add Transport Layer Security (TLS) and request logging
PHI storage
Last
Encrypt, review access, and test backup and recovery

The order holds only where the data-flow map shows what ePHI passes through each layer. Labels like legacy, UI, or API settle nothing on their own.

Why does authentication go first?

Authentication goes first because compromised credentials and missing MFA opened the 2024 Change Healthcare breach, which affected 192.7 million individuals. UnitedHealth Group's CEO told the Senate Finance Committee in written testimony that criminals used compromised credentials to reach a Citrix remote access portal with no MFA. Ransomware was deployed nine days later. Cybersecurity Dive's summary of the testimony adds that some Change systems dated back about 40 years and that the primary and backup environments were not isolated.

Enforcing MFA closes that entry route without touching a database schema. A few things are worth checking in your own environment:

  • Service accounts and vendor logins, which are the paths most often left out of MFA rollouts.
  • Credential revocation, meaning how fast a departed employee or contractor loses access everywhere.
  • Backup environments, which should not share credentials with production.

When does the UI stay outside the PHI boundary?

A UI stays outside the PHI boundary only when its pages, scripts, and browser storage never receive ePHI. Website tracking tools show how easily that condition fails.

Before you rebuild a front end, it pays to check:
  • Which third-party scripts and tags run on authenticated pages, and why each one is there.
  • Whether a content security policy lists the approved destinations for browser requests.
  • Whether test environments use synthetic patients and not copies of production data.

Why do logs and reports hide PHI?

Logs and reports can expose PHI when identifiers slip into debug lines or exports. 

Here’s what that can look like in practice: the first line exposes more than needed; the second keeps the operational detail without the sensitive identifiers.

A filter like this works as a backstop. The durable fix is logging a tokenized patient reference at the call site, so the log store holds no identifiers at all. Reports need the same treatment. Nightly comma-separated values (CSV) exports to shared drives create the secondary ePHI copies PwC describes, so each export path belongs in your register with an owner and a retention rule.

How do you modernize around the PHI boundary, step by step?

Modernizing around the PHI boundary takes four steps: map where ePHI lives, stabilize what exists, modernize outside the boundary and secure the interfaces, and move PHI-bearing paths one at a time. Each step proves the approach on lower-risk components before anything compliance-sensitive changes.

1. Map where ePHI lives

Start with a PHI data-flow register, a maintained list of every place ePHI enters, rests, and leaves a system. Every system, interface, log, backup, and export gets an entry and an owner. Here is one entry, as an illustration of how little it takes to start.

The step is done when nobody has to guess whether a service touches ePHI.

2. Stabilize what you have

Stabilizing means documenting current behavior before changing it: access paths, dependencies, failure modes, and what the system does with real inputs. Characterization tests that pin down existing behavior, working builds from source, and basic observability give you a baseline. Without it, nobody can prove a later release preserved the safeguards the old system provided.

3. Modernize outside the boundary and secure the interfaces

Replace the UI shell, deployment tooling, and observability first, using tests that run on synthetic data. Then, put an API layer in front of the legacy backend.

Microsoft's Strangler Fig guidance describes the approach. A façade intercepts requests and routes each one to the legacy application or a new service, so functionality moves over incrementally, and the old system retires once nothing depends on it.

For ePHI traffic, the layer becomes the single place to apply authentication, TLS, and request logging. Microsoft's guidance also flags data stores shared by old and new systems as a design decision to settle early, which makes those stores a priority entry in the register.

4. Move PHI-bearing paths one at a time

Move one service or data store per release, with a tested rollback plan and a recorded security review. Each release changes just one flow in the register, keeping the blast radius small. After each release, update the register and revisit the risk analysis, since a new service, vendor, or export path can change the picture.

A single large cutover carries much more risk. 

GAO’s September 2026 testimony reports that the Department of Veterans Affairs (VA) began its fourth electronic health record modernization attempt in 2017 after three unsuccessful attempts, paused deployments in 2023, and, as of August 2026, had not fully implemented 14 of 18 GAO recommendations. Replacement can still be the right choice for your system, but the migration itself needs to be part of the business case.

Before deciding, price the migration, training, and parallel-running period alongside the license cost.

What evidence should a modernization project produce?

A PHI-sensitive modernization project needs an evidence trail alongside the technical work. The documentation should record what changed, which risks were assessed, how ePHI is handled, how the new version was tested, and whether recovery still works after the change.

A practical evidence set can follow the same order as the modernization work:

  1. Risk analysis and risk-management plan
    Document the threats, vulnerabilities, affected components, and mitigation decisions before the release.
  2. PHI data-flow register
    Record where ePHI enters, moves, is stored, logged, backed up, and exported. Assign an owner and review date to each flow.
  3. Access and authentication records
    Document roles, authentication controls, MFA coverage, and credential removal procedures for people and services reaching ePHI.
  4. Encryption decisions
    Record how ePHI is protected in transit and at rest, along with any exceptions and the reasoning behind them.
  5. Audit and monitoring records
    Document what activity is logged, which systems generate the logs, who reviews them, and how often reviews occur.
  6. Testing and recovery evidence
    Keep results from security testing, synthetic-data testing, rollback tests, and restore tests. Record failures and the corrective actions taken before release.

Together, these records let security and compliance teams trace a release from the initial risk assessment through deployment and recovery. 

HHS requires regulated entities to document certain Security Rule policies, procedures, actions, activities, and assessments, and retain the required documentation for six years from creation or the date the documentation was last in effect, whichever is later.

NIST SP 800-66 Rev. 2 can serve as a useful reference for connecting HIPAA Security Rule requirements with technical security practices. NIST published the current revision in February 2024 and maps Security Rule standards and implementation specifications to the NIST Cybersecurity Framework and SP 800-53 controls. NIST SP 800-66 Rev. 2 csrc.nist.gov

When does the PHI boundary itself have to move?

The PHI boundary has to move when a PHI-bearing component can no longer meet its security, audit, or recovery requirements. 

Check out (and save) the signals below, what to investigate, and a sensible first move for each.

Whichever signals apply to your system, give each one a named owner and a dated plan. A dated plan keeps the work moving and gives your compliance officer a record to review.

What changes when AI enters the migration?

AI adds new data flows to a modernization project. Any tool that reads, summarizes, retrieves, generates, or trains on ePHI can receive patient information, so the tool becomes part of the PHI environment. The same applies whether AI appears in migration tooling, a clinical workflow, a coding assistant, or an internal support application.

A safer approach is to treat every AI use case as an architectural change with its own data path, access rules, logging, and ownership.

Start with the AI data flow

Before connecting an AI service to a healthcare system, document what data reaches the service and why.

  • Register every AI tool as a data destination, with a named owner and defined data types.
  • Confirm a business associate agreement is in place before sending ePHI to an external vendor.
  • Verify whether vendor systems retain prompts, responses, or customer data for training.
  • Route AI traffic through a controlled gateway so teams can log requests, apply rate limits, and disable access centrally.

Keep ePHI out of prompts where possible

Prompt design becomes a security control during modernization.

  • Remove or tokenize identifiers before sending data to a model.
  • Use the same patient reference across logs and internal systems where practical.
  • Keep real ePHI out of code-generation prompts, migration experiments, and development tools.
  • Use synthetic or de-identified data for testing whenever the task does not require real patient information.

Make AI follow existing access rules

An AI assistant should not become a shortcut around application permissions. Retrieval should use the same authorization logic as the source system, so a user receives only records already available through the user's existing access rights.

Personal AI accounts also create a separate control problem. Block unapproved AI services on managed devices and offer an approved internal option, so staff have a controlled path for legitimate work.

Treat AI output as a governed system output

AI-generated code, extracted data, summaries, and recommendations still need review.

  • Scan generated code for hard-coded credentials, secrets, and sample patient data.
  • Require human review for outputs affecting care, coding, or billing.
  • Set explicit review thresholds for higher-risk workflows.
  • Record enough provenance to identify the model, source data, and processing step behind an output.

Keep AI logs inside the PHI boundary

Prompt and response logs can contain the same patient information sent to the model. Define retention periods, access permissions, and deletion rules for those logs before production use. The audit trail for an AI-enabled workflow should cover both the source transaction and the AI interaction.

The database can stay. The architecture doesn’t have to.

TYMIQ helps isolate PHI-heavy parts of a legacy system, identify where AI introduces new data flows, and address the knock-on risks across integrations, logs, access, and third-party tools.

Explore AI modernization options
The safer route: how to modernize legacy healthcare systems without increasing PHI risk
October 15, 2026

The safer route: how to modernize legacy healthcare systems without increasing PHI risk

All articles 0
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
The safer route: how to modernize legacy healthcare systems without increasing PHI risk
Can AI middleware fix legacy EHR interoperability? 6 problems it handles and where it stop
The insurance core AI modernization map: what to change first, second, and later
Compliance-first AI transition for insurers: what changes in the migration plan?
From pilot to program: what scaling AI-Driven Development actually takes
The missing link in AI underwriting: Connecting risk scores to legacy core systems
What to expect from an AI development partner: A practical buyer’s guide
AI-driven development workflow: an 8-step verification loop
The AI engineering scorecard: 10 metrics CTOs should track in 2026
The discovery tax: why AI's biggest win in software engineering isn't writing code
What is AI-driven software development? A complete 2026 enterprise guide
Does AI replace traditional legacy modernization or simply improve the way it's done?
Enterprise AI readiness framework: Evaluate your business in 5 dimensions
10 legacy modernization tasks AI can already automate, and 7 it still can't
The shift from AI pilots to AI-ready infrastructure: why early success doesn't guarantee scale
Why legacy systems become an AI bottleneck: 7 reasons businesses struggle to scale AI
What is AI modernization? Strategy, benefits and roadmap for 2026
Hybris vs Broadleaf vs Custom: which Java e-commerce architecture fits your growth stage?
What we learned building high-availability Spring Boot microservices: 5 valuable lessons
How much does Java software development cost? A realistic guide for 2026
If you’re choosing between Java and .NET, answer these 7 questions first
The ultimate toolchain for accelerating .NET migration (What actually works – and what doesn’t)
How to assess the ROI and risks of migrating .NET applications
30 Days to cloud-ready: Post-migration steps for .NET applications that actually matter
The cloud exit toolkit: what you need before things go wrong
The 80/20 rule of cloud costs: Fix these 5 things first to cut waste fast
The phased roadmap: How to modernize a Delphi application without breaking what works
Ask the architects: When should you choose .NET, Java, or a web stack for your migration?
Bus factor in Delphi – what happens if a key developer leaves?
How to migrate WCF, WinForms, and WebForms to modern .NET
Delphi migration in 2026: How to know it’s worth it (and when it isn’t)
Hybrid migration: A safe transition strategy for large .NET projects without stopping the business
10 common mistakes when migrating to .NET Core (and .NET 8) — and how to fix them
Should you continue supporting your Delphi application in 2026?
Continuous integration and deployment (CI/CD) in the cloud: a strategic enabler for digital transformation
Migrating legacy systems to the cloud: A step-by-step guide
Top 7 cloud migration challenges in 2026: what actually trips teams up and how to deal with it
Custom IAM doesn’t have to be expensive: A practical guide to comparing managed Keycloak service providers
A Step-by-step Blueprint: building a multi-channel onboarding flow with Keycloak
Cloud-native ETL: leveraging serverless and big data for modern workloads
Reducing technical debt in ETL systems: a guide for legacy integrations
When maintenance is no longer enough: The vendor’s role in software modernization
AI modernization: Developing clinical systems with artificial intelligence
5 ways to modernize legacy applications in healthcare: From rehosting to full rebuild
Why healthcare companies can’t afford to delay system upgrades
How to audit a legacy system before planning a migration
A manager’s roadmap to successful software modernization project
14 signs it’s time to modernize your legacy software — and what it will cost
The cost of doing nothing: What legacy systems are quietly costing you each year
Seamless SSO for Desktop Applications: How Keycloak and Entra ID Improve Enterprise SaaS Access
What you need before you hire developers: The pre-development readiness checklist
12 Mistakes companies make when scaling development with external teams
Scaling software teams without scaling overhead: smart team augmentation
The CTO’s ultimate vendor red flags - 22 hard signals to kill bad deals early
Vendor vetting checklist for CTOs: what to look for in a development partner (with real data and hard lessons)
The hidden costs of choosing the wrong tech vendor (and how to avoid them)
Internal hiring vs outsourcing: A strategic software guide
What is a Discovery phase in software projects — and why skipping it costs you more
ERP software development with Java: When and why it works best
Is it time to modernize your Java healthcare application into microservices? Here’s how to know.
How to manage technical debt in your Java applications: Early development practices
Modernizing monolithic Java applications to microservices: When microservices make sense
Legacy systems: The hidden time bomb of key-person dependency and other risks
C# vs. Java: Which language is right for your project?
What is Java used for? Applications where it excels
Migrating Delphi VCL applications to ASP.NET: Act now or be trapped in obsolescence
Migrating legacy Excel VBA macros to ASP.NET
When to migrate from VB.NET to C#
Which industries benefit most from .NET development? Types of applications you can build with .NET
Modernizing legacy .NET applications: Key concepts
Your complete handbook for .NET application modernization on Azure
A software migration plan: useful tips and necessary steps
Outsourcing software development for healthcare providers
The role of EMR in healthcare development
Shaping healthcare with programming technologies: Insights from TYMIQ
How .NET powers innovative solutions in the healthcare industry
Simplified guide to Keycloak SSO: When consulting an expert IT provider is essential
Excel reengineering part 2: A strategic approach for seamless modernization
Excel reengineering part 1: Legacy challenges in modern business
AngularJS to Angular migration guide
Dedicated development team all-in-one guide: How to hire and manage
Migration from Delphi to .NET with TYMIQ: The reasons and process
Custom enterprise software development: Process, typical scenarios, and benefits
Modernizing legacy applications: Empowering small and medium businesses
Upgrade ASP.NET Web Forms to ASP.NET MVC. Migration guide
Upholding your legacy: 4 practical tips for effective maintenance
How to move from .NET Framework to .NET (Core): Migration guide
Cracking the code: Refactoring tips and tricks
Software dependency management: Maximizing efficiency, enforcing security
All-in-one guide to software reengineering
Legacy app modernization for enterprises: Priorities, challenges, advice
Legacy system modernization guide
Best practices for legacy application maintenance
4 reasons for legacy system lock-in: Can your business relate?
Is your software ready for upgrade? 6 approaches to legacy system modernization
Legacy database migration: A 10-step strategy to succeed
Tailored software migration with case-specific strategies by TYMIQ
The key challenges of legacy system assessment
How to choose the right IAM solution?
5 hands-on principles of software architecture design

Get a Migration Cost Estimate for your project.
Talk to our legacy software modernization experts.

Rely on TYMIQ to deal with your extraordinary IT matters.

Get  in touch