Recent Posts
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
Key takeaways
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.
| §164.312 standard | Specification | Status | Engineering translation |
|---|---|---|---|
| Access control | Unique user identification | Required | Distinct identity per human and workload; no shared accounts |
| Access control | Emergency access procedure | Required | Time-bounded, logged break-glass flow |
| Access control | Automatic logoff | Addressable | Idle session timeouts, short token lifetimes |
| Access control | Encryption and decryption | Addressable | Encryption at rest with managed keys |
| Audit controls | Standard itself | Required | Application-level audit events, centralized and protected |
| Integrity | Mechanism to authenticate ePHI | Addressable | Constraints, checksums, version history |
| Authentication | Standard itself | Required | Strong authentication, MFA for high-risk access |
| Transmission security | Integrity controls, encryption | Addressable | TLS on every hop, message authentication |
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.
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:
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.

Every actor gets a distinct identity, every request gets an authorization check on the server, and emergency access leaves a prominent, reviewable trail.
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.
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:
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.
| Area | Cloud provider | Your team |
|---|---|---|
| Data centers, hardware, managed-service patching | Owns, within BAA scope | Uses only eligible services and regions |
| IAM, key policies, network exposure | Supplies the tools | Configures and reviews |
| Application authorization, tenant isolation | None | Owns |
| Breach assessment and notification | Notifies you per BAA | Decides and notifies, or informs the covered entity |
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.
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.

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.
| Method | Reversible? | Still PHI? | Paperwork |
|---|---|---|---|
| Safe Harbor | No | No | Documented process and tests |
| Expert Determination | No, per expert analysis | No | Expert’s written determination |
| Limited data set | Keeps some dates and geography | Yes | Data use agreement |
| Tokenization, pseudonyms, keyed hashes | Often | Usually yes | Treat as PHI; govern the vault |
A token vault or re-identification key is itself a high-value target and needs its own access governance.
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:
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.

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.
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.
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.
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.
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.