Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Hipaa compliant software development an architecture checklist
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

HIPAA-Compliant Software Development: An Architecture Checklist

Source: Artezio•December 2, 2026 at 04:27 PM

HIPAA-Compliant Software Development: An Architecture Checklist

An engineering checklist for HIPAA-compliant architecture: ePHI mapping, safeguards, BAAs, audit logs, de-identification and breach deadlines.

45 CFR §164.312, the technical-safeguards section of the HIPAA Security Rule, names five standards: access control, audit controls, integrity, person or entity authentication, and transmission security. If your product touches patient data for a provider, health plan or their vendors, those five decide whether you pass a hospital security review or an OCR investigation. This checklist turns HIPAA-compliant software development into engineering decisions you can prove.

The short answer

  • HIPAA-compliant software development means mapping ePHI flows, documenting a risk analysis, and operating access control, encryption, audit logging, vendor BAAs and breach response with evidence behind them.
  • There is no official HIPAA certification for software. Encryption, a cloud BAA or a clean penetration test: none of these alone makes an application compliant.
  • Addressable safeguards are not optional: you implement them or document why not and adopt an equivalent.
  • Breach notification runs on a 60-calendar-day outer limit from discovery, and business associates often face shorter contractual deadlines.

Key takeaways

  • Start with an ePHI data-flow inventory per feature, including logs, backups, support tools, SDKs and AI services, then build the §164.308 risk analysis from it.
  • No software is HIPAA certified; SOC 2, HITRUST, a cloud BAA or a pen test are inputs to compliance, not proof of it.
  • Addressable specifications such as encryption and automatic logoff must be implemented or replaced by a documented equivalent.
  • A cloud provider storing only encrypted ePHI is still a business associate and needs a BAA covering the exact services you use.
  • Audit logs must attribute every access without containing PHI; retention is set by risk analysis, contracts and state law.
  • Breach notification has a 60-calendar-day outer limit from discovery, and BAAs often impose shorter deadlines on vendors.

What does HIPAA-compliant software development actually require?

HIPAA-compliant software development means you know where every copy of ePHI lives, you made documented risk decisions about it, every vendor on the path is under contract, and you can show that access control, logging, recovery and breach response actually ran. It is an operating model that produces evidence, not a feature list.

No product is “HIPAA certified.” HHS and its Office for Civil Rights (OCR) enforce the rules against organizations; they do not certify software. SOC 2, ISO 27001 and HITRUST reports help in due diligence, but none of them proves HIPAA compliance by itself, and neither does a clean penetration test.

Scope comes first. HIPAA applies to covered entities (health plans, clearinghouses and providers that conduct covered electronic transactions) and to business associates that create, receive, maintain or transmit PHI for them, subcontractors included. A symptom tracker consumers download on their own may sit outside HIPAA. Sell the same codebase to a hospital system and it instantly becomes business-associate software.

Outside HIPAA is not unregulated. The FTC Health Breach Notification Rule, state health-privacy laws and, for EU users, GDPR can all apply. Settle applicability with counsel before design, because it decides which contracts you sign and which notification clocks you run on.

Inside HIPAA, the Security Rule is technology-neutral. Each implementation specification is either required or addressable, and addressable never means optional: implement the control if it is reasonable and appropriate, or document why not and adopt an equivalent alternative.

The addressable label buys flexibility, not an exemption. Wherever you choose an alternative, the rationale belongs in the risk analysis. And no code replaces the administrative (§164.308) and physical (§164.310) safeguards: workforce training, device controls and vendor management.

Where does ePHI flow, and what goes into the risk analysis?

ePHI ends up in more places than the architecture diagram shows, and HIPAA scope covers every copy, not just the clinical database. A realistic inventory includes:

  • Primary databases, read replicas, snapshots and backups
  • Object storage, file-transfer drop zones and analytics exports
  • Queues, event streams, caches and search indexes
  • Application, web server and database logs
  • Support tooling, ticket attachments and screen-share sessions
  • Crash reporting, observability and product analytics SDKs
  • Email, SMS and push notification gateways
  • AI APIs, embedding stores and evaluation datasets

Draw the flow per feature, not per system. “Patient uploads a lab PDF” touches the mobile client, an API gateway, a malware scanner, object storage, an OCR job, a queue, a notification service and a log pipeline. Each hop needs a control, and each third party on the path may need a BAA.

The inventory feeds the security risk analysis required by 45 CFR §164.308(a)(1)(ii)(A). Record systems and data flows, reasonably anticipated threats and vulnerabilities, existing controls, likelihood and impact, residual risk, and remediation owners with target dates. NIST SP 800-66 Rev. 2 is the most practical public guide to running one.

Keep it current. A new subprocessor, an AI feature or a move to multi-tenant hosting should trigger an update rather than wait for the annual review. OCR investigators usually ask for the risk analysis first, and a stale one reads as no risk management at all.

How should identity, least privilege and emergency access work?

Every actor gets a distinct identity, every request gets an authorization check on the server, and emergency access leaves a prominent, reviewable trail.

  • Unique identities. Administrators, service accounts and CI pipelines each get their own credentials. A shared database login makes audit attribution impossible.
  • Deny by default, server-side. Hiding a record in the UI is not authorization. Enforce object-level checks on every read and write; broken object-level authorization (BOLA, or IDOR) leads the OWASP API Security Top 10.
  • RBAC plus context. RBAC maps job functions cleanly. ABAC adds patient relationship, purpose, tenant or location. Most clinical systems use RBAC for coarse grants and ABAC rules for questions like “is this clinician on this patient’s care team.”
  • MFA. The current Security Rule does not mandate a specific MFA technology, but MFA is a sensible baseline for admins, remote access and bulk operations. Prefer phishing-resistant FIDO2/WebAuthn for high-risk users and harden account recovery, which is where attackers go next. HHS proposed Security Rule amendments in January 2025 that would tighten this area; check their final status before treating them as binding.
  • Break-glass. Time-limited, justified, scoped to the records needed, alerted on use and reviewed by someone other than the user. If emergency access turns into a standing admin role, the break-glass process has failed.

For multi-tenant SaaS, carry the tenant ID in the token and enforce it at the data layer through row-level security, per-tenant schemas or per-tenant keys. Then write automated tests that try to read across tenants. Single-tenant deployments shrink the blast radius and simplify evidence but cost more to run, which is why many vendors sell both tiers.

Does HIPAA require encryption, and is a cloud BAA enough?

Encryption is addressable, not a named requirement, but you would need a documented, defensible reason not to encrypt ePHI in transit and at rest, and almost nobody has one. HIPAA names no ciphers. A defensible baseline:

  • Current, supported TLS on every hop, including internal service-to-service traffic
  • Authenticated encryption at rest, such as AES-GCM, with FIPS 140 validated modules where customers expect them
  • Keys in a KMS or HSM, with rotation, revocation and separation between key administrators and data administrators
  • The same protection on replicas, snapshots, exports and backups

Provider-managed keys are cheap and simple; customer-managed keys let you revoke access and separate duties; HSM-backed keys add hardware assurance at higher operational cost. All three depend on IAM. If an over-privileged service role can call decrypt, the key model barely matters. Encryption also does nothing for plaintext in memory, crash dumps, screenshots or browser storage.

A BAA does not configure anything either. It is a contract that assigns responsibilities. AWS, Microsoft Azure and Google Cloud all sign BAAs, but each covers a specific list of eligible services, and your side of the shared responsibility model stays yours.

HHS guidance also closes a popular loophole: a cloud provider that stores ePHI is a business associate even if it holds only encrypted data and never has the key. Encryption without a BAA is not an exemption.

Apply the same scrutiny to every subprocessor: managed databases, observability, email and SMS gateways, support desks, crash reporting, AI APIs and off-site backup. 45 CFR §164.314 sets BAA content requirements, and safeguards must flow down to subcontractors. Confirm services, regions and support-access terms are in scope before the first record leaves your environment.

What should audit logs, integrity and recovery controls cover?

Audit controls under §164.312(b) are required. Log who did what to which record, when, from where and with what result, while keeping PHI itself out of the log. Capture authentication successes and failures, authorization denials, record views and searches, creates, updates and deletes, exports and prints, role changes, break-glass use, admin actions and service-to-service access.

Each event needs an actor or workload ID, tenant, action, resource ID, a timestamp from synchronized clocks, outcome and a correlation ID. Skip request bodies, tokens and clinical payloads, or your log platform becomes an unmanaged ePHI store that probably lacks a BAA.

Layer the sources: application logs give record-level attribution, database and infrastructure logs catch whatever bypasses the app, and a SIEM correlates them. Ship to write-once (WORM) storage that production administrators cannot delete. Then alert on bulk reads, unusual access, privilege escalation, disabled logging and break-glass use, and give each alert an owner.

HIPAA sets no universal audit-log retention period; choose one through risk analysis, contracts and state law. The six-year rule in §164.316(b) covers required Security Rule documentation such as policies and risk analyses, not every log line.

Integrity and availability are explicit Security Rule goals that encryption does not solve. For integrity, use input validation, database constraints, version history on clinical records, checksums or MACs on stored objects and signed build artifacts. For availability, §164.308 calls for a data backup plan, a disaster recovery plan and an emergency-mode operation plan.

Set RTO and RPO per system based on clinical impact, test restores on a schedule, and keep backups out of reach of production credentials so ransomware cannot encrypt them too. Document the paper fallback: if scheduling is down for six hours, someone has to know how intake works.

Can production PHI be used in development, analytics or AI?

Not by default. Use synthetic data for development and testing. If production data is genuinely needed, say for a migration rehearsal, document the justification and give that environment production-grade access, logging, retention and vendor controls. Data stops being PHI only after proper de-identification.

AI features follow the same rules. Prompts, retrieved documents, embeddings, fine-tuning and evaluation sets, and model outputs can all contain PHI. Get a BAA from the model provider where required, switch off any provider training or data retention you have not approved, and filter retrieval by the requesting user’s permissions so a RAG pipeline cannot surface a record the user could not open directly.

We cover the wider control set in our guide to governance and security for AI features, and teams building clinical models can see how we approach healthcare AI solutions.

De-identification has a legal meaning under §164.514(a)-(b), with two routes. Safe Harbor removes 18 identifier categories (names, geography smaller than a state, date elements other than year, contact details, record and account numbers, device identifiers, IP addresses, biometrics, full-face photos and others) with no actual knowledge that the rest could identify someone. Expert Determination has a qualified expert document that re-identification risk is very small, which can preserve fields analysts need.

Safe Harbor’s edge cases deserve unit tests. The first three ZIP digits survive only if the area they define contains more than 20,000 people per Census data; otherwise they become 000. Ages over 89 collapse into a single 90-or-older category.

A token vault or re-identification key is itself a high-value target and needs its own access governance.

How does breach response work, and what evidence should you keep?

An impermissible use or disclosure of unsecured PHI is presumed to be a breach unless a documented risk assessment shows a low probability of compromise. That assessment weighs four factors: the nature and extent of the PHI, who received it, whether it was actually acquired or viewed, and how far the risk was mitigated.

Covered entities must notify affected individuals without unreasonable delay and no later than 60 calendar days after discovery. Breaches affecting more than 500 residents of a state also require media notice, and HHS must hear within the same window; smaller breaches go to HHS annually. Business associates must tell the covered entity within 60 days, and BAAs often set much shorter deadlines.

Engineering decides how fast you can answer. Rehearse the playbook: preserve logs and snapshots before cleanup, run pre-built queries that show which records and patients an actor touched, and know which BAA clocks start on discovery. Data encrypted to HHS guidance can fall outside “unsecured PHI” entirely, which is encryption’s biggest payoff.

For customer due diligence or an assessment, keep this evidence current:

  • ePHI data-flow inventory and the latest risk analysis with remediation status
  • Signed BAAs and a subprocessor list with in-scope services
  • Access review records and break-glass reviews
  • Audit-log samples and alert-handling tickets
  • Restore test results and incident-response exercise reports
  • Penetration test findings with remediation evidence

Most leaks happen at the edges: mobile caches, push notification text, crash reports, query parameters that land in server logs, and third-party scripts or analytics SDKs that ship a diagnosis code in an event payload. Threat-model each ePHI flow, scan dependencies and containers, detect secrets, lock down CI/CD credentials and use OWASP ASVS as acceptance criteria, the same discipline we apply in EHR software development. For FHIR APIs, SMART on FHIR scopes are coarse; the backend still validates patient context and writes audit events.

FAQ

Is multifactor authentication required by HIPAA?

The current Security Rule requires person or entity authentication but does not mandate a specific MFA technology. MFA is a sensible baseline for administrators, remote access and bulk operations. HHS proposed amendments in January 2025 that would tighten this; check their final status.

Do we need a BAA with a cloud provider if all PHI is encrypted?

Yes. HHS guidance treats a cloud provider that stores ePHI as a business associate even when it holds only encrypted data and has no key.

How long must HIPAA audit logs be kept?

HIPAA sets no universal audit-log period. The six-year rule in §164.316(b) applies to required Security Rule documentation such as policies and risk analyses. Set log retention through risk analysis, contracts and state law.

Does a direct-to-consumer health app fall under HIPAA?

Not automatically. HIPAA applies to covered entities and their business associates. A consumer app outside HIPAA may still face the FTC Health Breach Notification Rule, state laws or GDPR.

Is tokenized data still PHI?

Usually yes. Tokenization and pseudonymization are reversible techniques, not HIPAA de-identification. Only Safe Harbor or Expert Determination under §164.514 removes data from PHI status.

Artezio builds compliance-ready health platforms with these controls designed in from the first sprint, from ePHI mapping to audit pipelines and BAA-scoped cloud architecture. See how our healthcare software development team can help with your next build or review.

← All articles

What this article says

More in Software Development

All →
10 Ecommerce Holiday Shopping Strategies For Mom and Pop Shops
Salesforce

10 Ecommerce Holiday Shopping Strategies For Mom and Pop Shops

Boxing in the LLM: REST Assured to Postman with Claude Code
Postman

Boxing in the LLM: REST Assured to Postman with Claude Code

Pools, spas, and cabanas are now bookable on Airbnb with ResortPass
Airbnb

Pools, spas, and cabanas are now bookable on Airbnb with ResortPass

deepset | Sovereign AI in production: deepset CEO Milos Rusic in Materna MONITOR
deepset

deepset | Sovereign AI in production: deepset CEO Milos Rusic in Materna MONITOR

deepset | deepset joins govdigital's framework contract for AI development
deepset

deepset | deepset joins govdigital's framework contract for AI development

What Are Enterprises Actually Paying For When the Model Is Nearly Free?
DataArt

What Are Enterprises Actually Paying For When the Model Is Nearly Free?

More from Artezio

HL7 v2 vs FHIR vs C-CDA: Healthcare Interoperability Standards
Artezio

HL7 v2 vs FHIR vs C-CDA: Healthcare Interoperability Standards

Pharma LIMS, QMS and MES Integration: Buy, Build or Connect?
Artezio

Pharma LIMS, QMS and MES Integration: Buy, Build or Connect?

AI Validation in GxP: How to Keep Models Under Control
Artezio

AI Validation in GxP: How to Keep Models Under Control

ALCOA+ Data Integrity by Design for Pharma Software
Artezio

ALCOA+ Data Integrity by Design for Pharma Software

21 CFR Part 11 Compliance Checklist for Custom Software Teams
Artezio

21 CFR Part 11 Compliance Checklist for Custom Software Teams

Computer Software Assurance vs CSV: Cut Here, Script There
Artezio

Computer Software Assurance vs CSV: Cut Here, Script There