
HIPAA Security Rule safeguards in software
Every HIPAA Security Rule standard in the rule's own order: administrative, physical and technical safeguards, organizational requirements, and policies and documentation. Each is written as an engineering or operations task, with required and addressable items marked, then the safeguards Agnotic builds into your software.
For founders, CTOs, CIOs and security officials at covered entities and business associates that create, receive, maintain or transmit electronic protected health information (ePHI).
What does the HIPAA Security Rule require?
The HIPAA Security Rule requires covered entities and business associates to protect ePHI with administrative, physical and technical safeguards, organizational requirements and written policies, set out in 45 CFR 164.308 to 164.316. Agnotic Technologies builds the software side of those safeguards for clients and maps each one to the standard it supports.
Last reviewed by the Agnotic Technologies engineering team
Where do Security Rule programs break down?
Policies often exist on paper while the systems that hold ePHI cannot show they follow them. These are the gaps we see most often.
A risk analysis that misses systems
The risk analysis lists the EHR and the main database but not the vendors, devices, interfaces and cloud services that also store or move ePHI.
Addressable items left undecided
An addressable specification is neither implemented nor documented with an alternative, which leaves a gap even when a control exists.
No evidence behind the policy
Access reviews, log reviews and restore tests are written into policy, but the systems produce no record that they happened.
Access that outlives the job
Accounts stay active after someone changes role or leaves, because offboarding is a manual ticket rather than a step in the identity system.
Audit logs nobody can query
Activity is logged in several places and formats, so a review or an incident investigation cannot answer who saw which record.
Contingency plans never tested
Backups and a disaster recovery plan exist, but no one has restored data or run the emergency mode procedure end to end.
What do we build for the Security Rule?
Agnotic Technologies builds the technical side of these safeguards into the client's software and infrastructure, scoped to its risk analysis, systems and vendors. Policies, training and legal decisions stay with the client.
ePHI system and data flow inventory
A maintained map of every system, vendor, device and interface that stores or moves ePHI, as the starting point for the risk analysis.
Risk register and decision records
Tracked risks with owners, and a recorded decision for each addressable specification, kept for six years with the rest of the documentation.
Identity, access and offboarding
Unique identities, role-based access, SSO and MFA, and access removed by the identity system on the day someone leaves.
Central audit logging and review
One queryable audit trail of who read or changed which record, with scheduled review reports and alerts on unusual access.
Encryption and integrity controls
Encryption at rest and in transit with managed keys, plus version history, checksums or signed records to show ePHI was not altered.
Backup, restore and emergency mode
Automated backups, scheduled restore tests and runbooks for operating in emergency mode, with results recorded as evidence.
Incident response tooling
Incident records that capture detection, containment and the facts needed for the breach notification decision under Subpart D.
Evidence collection for reviews
Configuration exports, log samples and test results gathered per standard, ready for a customer's security review or your next evaluation.
What do required and addressable mean?
The Security Rule uses two kinds of implementation specification. The distinction decides what evidence each safeguard needs.
Implement it
A required specification must be implemented as written. Risk analysis, unique user identification and the data backup plan are examples. There is no documented alternative.
45 CFR 164.306(d)(2)
Implement it, or decide and document
An addressable specification is still mandatory to assess. You implement it if it is reasonable and appropriate, or you document why it is not and implement an equivalent alternative measure where one is reasonable and appropriate.
45 CFR 164.306(d)(3)
Meet the standard itself
Some standards, such as audit controls and workstation use, have no separate implementation specification. You must meet the standard; how you do it is yours to decide and document.
45 CFR 164.306(c)
How to decide an addressable item
Ask whether the specification is a reasonable and appropriate safeguard in your environment, judged by how much it would protect ePHI.
If it is, implement it and record the evidence.
If it is not, write down why, then implement an equivalent alternative measure if one is reasonable and appropriate, and record that too.
Keep the written decision with your other Security Rule documentation for six years.
Every standard, in the rule's order
The five parts of the rule in order. Each standard is written as an engineering or operations task, and each needs evidence a security review can see: a document, a configuration, a log sample, a test result or a signed agreement.
Administrative safeguards (45 CFR 164.308)
Who decides, who is trained, how risk is managed and how incidents and outages are handled.
- Write a risk analysis that lists every system, vendor and device that stores or moves ePHI and rates the threats to the confidentiality, integrity and availability of each.Required164.308(a)(1)(ii)(A)
- Turn each rated risk into a tracked work item with an owner, and keep the list of risks you decided to accept.Required164.308(a)(1)(ii)(B)
- Publish a sanction policy that says what happens to workforce members who break security policy, and apply it.Required164.308(a)(1)(ii)(C)
- Review audit logs, access reports and security incident records on a schedule, and keep a record of each review.Required164.308(a)(1)(ii)(D)
- Name one security official who owns the policies and procedures on this list.Standard164.308(a)(2)
- Define who authorises access to ePHI for each role, how new staff and contractors are screened, and the offboarding steps that remove access on the day someone leaves.Addressable164.308(a)(3)(ii)(A) to (C)
- If your organization runs a health care clearinghouse inside a larger company, separate its systems and access from the rest of the business.Required164.308(a)(4)(ii)(A)
- Write down how access to ePHI is granted, changed and reviewed for each role, and build the system permissions to match.Addressable164.308(a)(4)(ii)(B) and (C)
- Run security awareness training for every workforce member, including management, and keep attendance records.Standard164.308(a)(5)(i)
- Send periodic security reminders, run protection against malicious software, monitor log-in attempts and set rules for creating and changing passwords.Addressable164.308(a)(5)(ii)(A) to (D)
- Write an incident response procedure that identifies, contains and documents security incidents and feeds the breach notification decision under 45 CFR Part 164 Subpart D.Required164.308(a)(6)(ii)
- Back up ePHI as retrievable exact copies and prove a restore works.Required164.308(a)(7)(ii)(A)
- Write a disaster recovery plan that restores lost data and systems, including the order in which services come back.Required164.308(a)(7)(ii)(B)
- Define how the processes that protect ePHI keep running while you operate in emergency mode.Required164.308(a)(7)(ii)(C)
- Test and revise the contingency plans on a schedule, and rank applications and data by how critical they are to recovery.Addressable164.308(a)(7)(ii)(D) and (E)
- Re-evaluate your safeguards after any environmental or operational change, such as a new cloud region, a new product line or a new vendor.Standard164.308(a)(8)
- List every business associate that creates, receives, maintains or transmits ePHI for you, and hold a written contract with each that meets 164.314(a).Required164.308(b)(1) and (b)(3)
Physical safeguards (45 CFR 164.310)
Buildings, rooms, workstations, devices and media. Cloud hosting shifts some of these to your provider, which is why the BAA and its evidence matter.
- Control who can enter the places where ePHI systems and backups live, write the facility security plan, and define how authorised people get in during a contingency.Addressable164.310(a)(2)(i) to (iii)
- Keep maintenance records for repairs and changes to doors, locks, badges and other physical security components.Addressable164.310(a)(2)(iv)
- Write the rules for workstations that reach ePHI: screen locks, approved software, no local copies of ePHI, and where they may be used.Standard164.310(b)
- Protect those workstations physically: privacy screens in shared areas, locked rooms or cable locks, and full-disk encryption on laptops.Standard164.310(c)
- Wipe or destroy ePHI on drives, phones and removable media before disposal, and record each disposal.Required164.310(d)(2)(i)
- Remove ePHI from media before the media is reused for another purpose.Required164.310(d)(2)(ii)
- Keep a record of who holds each device and media item that contains ePHI, and log every move.Addressable164.310(d)(2)(iii)
- Copy ePHI before equipment is moved, so a lost or damaged device does not mean lost records.Addressable164.310(d)(2)(iv)
Technical safeguards (45 CFR 164.312)
The controls built into the software and infrastructure that hold ePHI.
- Give every user and every service account its own identity; no shared logins, including for support and operations staff.Required164.312(a)(2)(i)
- Build and document an emergency access procedure, such as a break-glass role that is logged and reviewed after each use.Required164.312(a)(2)(ii)
- End or lock sessions after inactivity on web, desktop and mobile, and expire API tokens.Addressable164.312(a)(2)(iii)
- Encrypt ePHI at rest in databases, object storage, backups and on devices, with managed keys.Addressable164.312(a)(2)(iv)
- Record and examine activity in every system that holds ePHI: who read or changed which record, when and from where, in a log that users cannot edit.Standard164.312(b)
- Add a mechanism that shows ePHI has not been altered or destroyed improperly, such as version history, checksums or signed records.Addressable164.312(c)(2)
- Verify that a person or system seeking access is who it claims to be: single sign-on and multi-factor authentication for people, signed tokens or mutual TLS between services.Standard164.312(d)
- Protect ePHI in transit from undetected modification, for example with TLS integrity checks and signed messages on interfaces.Addressable164.312(e)(2)(i)
- Encrypt ePHI whenever it travels over a network, including internal service calls, HL7 v2 interfaces and webhooks.Addressable164.312(e)(2)(ii)
Organizational requirements (45 CFR 164.314)
What your business associate agreements and plan documents must say.
- Check that each business associate agreement requires the vendor to comply with the Security Rule, pass the same terms to its subcontractors, and report security incidents, including breaches of unsecured PHI.Required164.314(a)(2)(i)
- If you are a business associate, sign the same terms with every subcontractor that touches ePHI before it gets access.Required164.314(a)(2)(iii)
- If you sponsor or administer a group health plan, make sure the plan documents require the plan sponsor to safeguard ePHI and report security incidents.Required164.314(b)
Policies, procedures and documentation (45 CFR 164.316)
The paper trail an auditor, a customer's security review or your own successor will ask for.
- Write the policies and procedures that implement each standard above, scaled to your size, complexity and risk.Standard164.316(a)
- Keep the written policies, the risk analysis, every addressable decision and every assessment the rule requires, in writing or electronically.Standard164.316(b)(1)
- Keep each document for six years from its creation or from the date it was last in effect, whichever is later.Required164.316(b)(2)(i)
- Make the documentation available to the people who carry out the procedures it describes.Required164.316(b)(2)(ii)
- Review the documentation periodically and update it when your environment or operations change.Required164.316(b)(2)(iii)
How is this different from HIPAA app engineering?
Agnotic publishes two HIPAA pages. They cover the same rule from two directions.
HIPAA Security Rule safeguards (this page)
Organised by the rule: 164.308 to 164.316 in order, every standard and implementation specification included, written for the organization as a whole. Use it to check coverage of the whole rule, prepare for a security review or brief a security official.
HIPAA app engineering controls
Organised by app build task: access, audit logging, encryption, vendors and recovery. It picks the controls an engineering team builds into one product and maps each back to the rule. Use it when you are shipping an app that handles ePHI.
Read about HIPAA app engineering controlsA product team usually needs both: this page for the organization's obligations, the app engineering page for the build.
How do we work through the rule with you?
Gather the owners
The security official, the engineering lead, whoever runs IT or cloud, and the person who signs vendor contracts.
Start with 164.308
The risk analysis comes first because every later decision, especially on addressable items, refers back to it.
Collect the evidence
A policy document, a configuration export, a log sample, a restore test or a signed agreement for each standard. Anything without evidence stays open.
Decide the addressable items
For each one not implemented, record why and what is done instead, using the steps above.
Record gaps and owners
Open items go into the risk management list with a named owner, and the review runs again after the next change.
What should you do with the gaps?
Not every open item has the same weight. This table sorts open items by what the rule says about them.
| Open item | What the rule says | What to do next |
|---|---|---|
| Required item open | Must be implemented; no alternative is allowed (164.306(d)(2)). | Treat it as a blocker. Give it an owner and a date before ePHI goes into, or stays in, the system. |
| Addressable item open, no decision | Must be assessed and either implemented or documented with an alternative (164.306(d)(3)). | Make the decision now. An undocumented addressable item is a gap even when the control exists. |
| Addressable item with a documented alternative | Acceptable when the reasoning and the alternative are recorded. | Keep the record with your documentation and review it at the next evaluation. |
| Standard with no evidence | The standard must be met; the method is yours (164.306(c)). | Write down how you meet it and collect evidence for the next review. |
| Vendor with ePHI and no agreement | A written contract is required before PHI is shared (164.308(b), 164.314(a)). | Sign the business associate agreement or stop the data flow. |
| Documentation older than the last change | Documentation must be reviewed and updated for changes (164.316(b)(2)(iii)). | Update the policy or risk analysis and date the revision. |
Trusted by global innovators
























Which rule sections back these safeguards?
Each fact is quoted from, or summarised from, the regulation text on eCFR or NIST guidance on the Security Rule.
The HIPAA Security Rule lets a covered entity or business associate meet an addressable implementation specification either by implementing it, or by documenting why it is not reasonable and appropriate and implementing an equivalent alternative measure where that is reasonable and appropriate.
Source: 45 CFR 164.306(d)(3) (eCFR)The HIPAA Security Rule requires an accurate and thorough risk analysis of the potential risks and vulnerabilities to the confidentiality, integrity and availability of ePHI.
Source: 45 CFR 164.308(a)(1)(ii)(A) (eCFR)The Security Rule requires covered entities and business associates to retain their policies, procedures and other required documentation for six years from the date of creation or the date it was last in effect, whichever is later.
Source: 45 CFR 164.316(b)(2)(i) (eCFR)NIST SP 800-66 Revision 2 (February 2024) gives a seven-step example method for the Security Rule risk assessment and maps each standard and implementation specification to NIST Cybersecurity Framework Subcategories and SP 800-53 Revision 5 controls, published in the NIST Cybersecurity and Privacy Reference Tool.
Source: NIST SP 800-66r2, section 3.2 and Appendix D (NIST CSRC)
What this page cannot tell you
- Whether you are compliant
- Compliance rests on your risk analysis, your documented decisions and your evidence, judged against your environment. A list of standards is the start of that record, not the record itself.
- That you are HIPAA certified
- There is no HIPAA certification. The Security Rule (45 CFR Part 164 Subpart C) sets standards and implementation specifications and does not create any certification for products or companies. Agnotic describes its work as HIPAA-ready engineering for that reason.45 CFR Part 164 Subpart C on eCFR
- Whether HIPAA applies to you
- That depends on whether you are a covered entity or a business associate under 45 CFR 160.103. Consumer health apps outside HIPAA may fall under other rules instead.
- Your Privacy Rule and Breach Notification Rule duties
- This page covers the Security Rule (Subpart C) only. The Privacy Rule (Subpart E) and the Breach Notification Rule (Subpart D) add their own requirements.
- Legal advice
- This page is engineering and operations guidance from a software development services company, not legal advice. Have privacy or legal counsel confirm what applies to your organization.
Which standards do we build healthcare software to?
HIPAA
Health Insurance Portability and Accountability Act
Protect PHI with privacy-first architecture, encrypted storage and transmission, strict access controls, and traceable audit logs.
GDPR
General Data Protection Regulation
Implement lawful consent flows, data minimization, retention controls, and secure processing for sensitive health data.
FHIR
Fast Healthcare Interoperability Resources
Enable standardized health data exchange across apps, care teams, and systems through standards-based FHIR APIs.
HL7
Health Level Seven International
Support enterprise-grade interoperability with HL7-based integrations for records, events, and clinical messaging workflows.
HITRUST
Health Information Trust Alliance
Align security programs to healthcare-specific control and risk management practices trusted by providers and ecosystem partners.
HITECH
Health Information Technology for Economic and Clinical Health Act
Design with breach notification readiness, digital record safeguards, and operational controls that support regulated care programs.
SaMD
FDA Software as a Medical Device
Plan software quality, traceability, and documentation pathways for products that may require SaMD review and submission.
MDR (EU)
Medical Device Regulation (European Union)
Prepare EU market-ready processes for risk classification, evidence tracking, and lifecycle governance under MDR expectations.
SAMHSA
Substance Abuse and Mental Health Services Administration
Apply confidentiality controls and consent-aware sharing models for behavioral and mental health data experiences.
Which Agnotic services pick up from the gaps?
When the open items are engineering work, this is what Agnotic Technologies builds for clients.
- HIPAA app engineering controlsThe same rule organised by app build task: access, audit logs, encryption, vendors and recovery.
- HIPAA compliant software developmentApps and platforms built with the Security Rule safeguards designed in from the first sprint.
- HIPAA requirements for software teamsHow the Security Rule turns into architecture and infrastructure decisions.
- Business associate agreement (BAA)What a BAA is and when a vendor needs one.
- Epic integration planningPlan an Epic integration before you write code, including the security review it will meet.
- Healthcare software scope builderPut the open items into a full product scope before a scoping call.