HIPAA for vibe coders: a plain-English glossary of the 15 rules that bite

Last reviewed:

not legal advice.

Palo Alto Health Labs presents selected provisions through the app failures they can help you examine. These are instructional scenarios—not findings about PAHL clients, a ranking, prevalence data or claims about what developers “most often” miss. All examples are HYPOTHETICAL and all evidence requests are prospective.

First establish the operator and relationships. HIPAA duties depend on covered-entity/business-associate status and activities, not simply whether a physician built something health-related. Security provisions below concern ePHI; Privacy provisions address PHI in their stated scope. A BAA is not a whole-application compliance verdict. HHS cloud guidance

The current eCFR text was read November 7, 2026 (PT). The 2025 Security Rule cybersecurity changes remain described as proposed in HHS guidance, which says the current rule remains in effect during rulemaking. This article does not turn proposed universal encryption, MFA or scan/testing schedules into current mandates. HHS NPRM fact sheet

“Collect” means suggested engineering/review evidence, not a claim that the regulation prescribes that exact test or artifact. Use invented fixtures and safe references—not real records, credentials or another organization's private contracts. Have appropriate advisors interpret exceptions and accountable owners make deployment decisions.

1. Addressable is a decision process, not a skip button

Duty and boundary: Covered entities and business associates must assess each addressable specification for reasonableness and appropriateness in their environment. Implement it when appropriate; otherwise document why not and implement an equivalent alternative when reasonable and appropriate. Required specifications must be implemented. This flexibility is not permission to ignore the underlying standards. 45 CFR 164.306(d)(2) 45 CFR 164.306(d)(3)

HYPOTHETICAL app failure: A physician leaves encryption and automatic-logoff decisions blank because the prototype dashboard calls them optional.

Collect — recommended check: A control decision record with risks, rationale, chosen measure, owner and reassessment trigger. Do not fill it with a generic statement that small practices are exempt.

2. Risk analysis must include the places the app actually sends information

Duty and boundary: The Security Rule requires an accurate, thorough assessment of potential risks and vulnerabilities to ePHI confidentiality, integrity and availability, plus measures reducing risks to a reasonable and appropriate level. A narrow code scan does not cover that entire scope. 45 CFR 164.308(a)(1)(ii)(A) 45 CFR 164.308(a)(1)(ii)(B)

HYPOTHETICAL app failure: An intake form uses a restricted database, but failed requests send submissions to an unnoticed error service.

Collect — recommended check: Development/runtime recipient maps, synthetic failure traces and a risk/remediation register. Include uploads, support, exports, caches and backups; record unknown flows instead of claiming analysis is complete.

3. Workforce and access decisions must survive staff changes

Duty and boundary: Workforce-security and information-access-management standards require appropriate workforce access and policies authorizing access consistently with the Privacy Rule. Workforce clearance, termination procedures, access authorization and access modification specifications are addressable—not automatically identical for every organization. The special clearinghouse isolation specification applies to its stated clearinghouse setting. 45 CFR 164.308(a)(3) 45 CFR 164.308(a)(4)

HYPOTHETICAL app failure: A departed contractor retains a support account that can export every practice tenant.

Collect — recommended check: A role/action matrix, join/change/leave workflow and synthetic revocation tests for sessions, service roles and support access. Name the practice owner who approves privileges; do not rely on hiding a menu.

4. Incident response is not the same decision as breach notification

Duty and boundary: The Security Rule requires incident procedures, identification/response to suspected or known incidents, practicable mitigation of known harmful effects, and documentation of incidents/outcomes. 45 CFR 164.308(a)(6) Notification under the Breach Notification Rule has its own breach/unsecured-PHI analysis and exceptions; not every event is automatically a notification determination. HHS breach guidance

HYPOTHETICAL app failure: A synthetic alert shows repeated unauthorized requests. The team has no owner to investigate and assumes an alert necessarily means sending patient notices.

Collect — recommended check: A tabletop escalation plan, containment authority, preserved evidence references and a route to qualified notification reviewers. Do not auto-delete incident evidence or invent a notice conclusion from an error count.

5. Contingency planning is more than having a backup switch

Duty and boundary: For emergencies or occurrences damaging systems containing ePHI, the contingency standard includes required backup, disaster-recovery and emergency-mode plans. Periodic testing/revision and criticality analysis are addressable. The rule distinguishes these categories rather than prescribing this article’s exact rehearsal procedure. 45 CFR 164.308(a)(7)

HYPOTHETICAL app failure: A restored reminder database replays old queued messages because no one considered outbound actions during recovery.

Collect — recommended check: An isolated synthetic restore covering completeness, permissions, queues and disabled integrations; a documented fallback and owner-selected recovery tolerances. Reconcile post-cutover activity rather than blindly overwriting it with an older snapshot.

6. Evaluation continues after the first release

Duty and boundary: The Security Rule calls for periodic technical and nontechnical evaluation and evaluation in response to environmental or operational changes affecting ePHI security. This is not limited to an initial source-code review, and the cited provision sets no universal annual penetration-test schedule. 45 CFR 164.308(a)(8)

HYPOTHETICAL app failure: A new AI integration changes recipients and logging, but the team treats last year’s architecture assessment as permanent approval.

Collect — recommended check: A change register linking affected controls, configuration versions, responsible reviewers and planned retests. Include workflow and staffing changes as well as library upgrades. Collect actual findings only after performing the evaluation; do not label the proposed test plan a passed result.

7. Access control must reach records, not just the sign-in screen

Duty and boundary: Technical access control must allow access only to persons or software granted access rights. Unique user identification and emergency access procedures are required; automatic logoff and encryption/decryption are addressable specifications. Emergency access is not a general exception allowing uncontrolled everyday access. 45 CFR 164.312(a)

HYPOTHETICAL app failure: A signed-in patient changes a record ID in the URL and retrieves a different patient’s intake attachment.

Collect — recommended check: Cross-patient/practice denial tests, direct API/file-link tests, user attribution and a controlled emergency-access rehearsal. Test privileged workers too. These proposed techniques make the boundary inspectable; a particular tenant model is not prescribed here.

8. Audit controls record and examine activity

Duty and boundary: The audit-control standard requires hardware, software and/or procedural mechanisms recording and examining activity in systems containing or using ePHI. Administrative safeguards separately require regular review of system-activity records. Neither cited provision dictates every log field in an app. 45 CFR 164.312(b) 45 CFR 164.308(a)(1)(ii)(D)

HYPOTHETICAL app failure: The app stores verbose error messages but cannot show who viewed or exported an intake, and no one reviews its logs.

Collect — recommended check: Synthetic access/export events, reader permissions, review/escalation ownership and redaction tests for nested errors. Recommend useful scoped references without copying entire clinical narratives into routine logs; assess identifiers rather than declaring them anonymous.

9. Integrity, identity and transmission are separate safeguards

Duty and boundary: Integrity policies must protect ePHI against improper alteration/destruction; person/entity authentication verifies the claimed identity; transmission security guards against unauthorized access over networks. Integrity-authentication mechanisms, transmission integrity controls and transmission encryption specifications are addressable under their respective standards. This is not a universal prescription for one encryption or MFA implementation. 45 CFR 164.312(c) 45 CFR 164.312(d) 45 CFR 164.312(e)

Collect — recommended check: Synthetic callback-authentication, tampering, replay, duplicate and encounter-binding tests. Review storage integrity separately from transport protections; encrypted traffic alone does not demonstrate correct attribution or safe clinical content.

10. Business-associate assurances follow the actual relationship

Duty and boundary: For ePHI handled on its behalf, a covered entity obtains satisfactory assurances from its business associate; a business associate obtains them from its subcontractor. The covered entity is not required by this provision to obtain them directly from the subcontractor. Written contract/other-arrangement requirements and applicable Security Rule contract terms include downstream safeguards and reporting. 45 CFR 164.308(b)(1) 45 CFR 164.308(b)(2) 45 CFR 164.308(b)(3) 45 CFR 164.314(a)(2)(i)

HYPOTHETICAL app failure: A database agreement is treated as covering a separate coding assistant that reads exported records.

Collect — recommended check: An exact recipient/service register, applicable executed/accepted agreement and acceptance references, exclusions, configuration and downstream ownership. Do not submit private contracts through generic inquiry channels. No vendor eligibility is asserted.

11. A permitted purpose is specific—not a general healthcare exemption

Duty and boundary: The Privacy Rule permits covered-entity treatment/payment/operations uses and disclosures under §164.506’s conditions, including specific conditions for another entity’s operations. Business associates are limited by applicable contract permissions and law, with the rule’s stated qualifications. “It helps patients” is not itself a use/disclosure permission. 45 CFR 164.502(a)(3) 45 CFR 164.506(a) 45 CFR 164.506(c)

HYPOTHETICAL app failure: A referral prototype adds a new external analytics recipient without reviewing the purpose or relationship.

Collect — recommended check: A purpose/recipient/authority matrix reviewed by the appropriate advisor. Trace the actual outgoing payload with invented inputs and block unresolved recipients. Separate product usefulness from the advisor’s permitted-use analysis.

12. Minimum necessary has precise exceptions

Duty and boundary: Covered entities and business associates generally must make reasonable efforts to limit applicable uses, disclosures and requests to the minimum necessary for the purpose. Exceptions include disclosures to or requests by a provider for treatment and uses/disclosures to the individual, plus authorization-based, required-by-law and other specified categories. Do not extend the treatment exception to all internal treatment uses or all BA workflows. 45 CFR 164.502(b)

HYPOTHETICAL app failure: An internal staff dashboard shows complete charts to every administrative user because the team labels the whole app “treatment.”

Collect — recommended check: Purpose-specific access and payload reviews with synthetic role tests. Record the exact exception, if relied upon, and its scope; an engineering preference to reduce data is distinct from declaring a transfer legally subject to minimum necessary.

13. Authorization is not interchangeable with a generic consent checkbox

Duty and boundary: Unless otherwise permitted/required, covered-entity uses/disclosures need valid authorization; §164.508 supplies core elements, statements and restrictions. Psychotherapy notes and marketing have special rules and exceptions. TPO consent under §164.506(b) is permissive and cannot replace authorization where required. No blanket reminder-consent requirement follows from these provisions. 45 CFR 164.508(a) 45 CFR 164.508(b) 45 CFR 164.508(c) 45 CFR 164.506(b)

HYPOTHETICAL app failure: One “accept terms” control is treated as permission for every future disclosure and optional feature.

Collect — recommended check: An advisor-reviewed workflow separating applicable notice, authorization and other permissions; synthetic refusal/revocation scenarios. Recording and messaging-law questions require their own review—do not infer those answers from a HIPAA form.

14. Confidential communication requests belong in dispatch logic

Duty and boundary: Covered providers must permit and accommodate reasonable requests for alternative communication means/locations; they cannot require an explanation as a condition. Health-plan accommodation has the stated endangerment condition. Written requests and specified alternative contact/payment information may be required under the provision’s conditions; not every requested method is automatically mandatory. 45 CFR 164.522(b)(1) 45 CFR 164.522(b)(2)

HYPOTHETICAL app failure: A patient’s alternative-contact request is recorded, but already queued reminders still use the old shared destination.

Collect — recommended check: Synthetic destination-change and queued-suppression tests, provenance of preferences and an escalation path for requests needing review. Recheck state before dispatch and document what can no longer be recalled after transport acceptance.

15. Six-year documentation retention is not a universal chart-deletion rule

Duty and boundary: Security Rule documentation must be written/electronic, available to implementers and updated as needed. Required documentation is retained six years from creation or last effective date, whichever is later. That is not a rule to delete all records at six years. 45 CFR 164.316(b)(1) 45 CFR 164.316(b)(2) HHS says the Privacy Rule does not set medical-record retention periods; state laws generally govern them. HHS medical-record retention FAQ

HYPOTHETICAL app failure: A developer assigns the same six-year deletion job to policies, encounter notes, model caches and backups.

Collect — recommended check: A category-by-recipient retention register with advisor decisions, legal-hold questions, deletion limitations and separate documentation version history. Record unresolved copies; a disappearing dashboard item is not proof that every copy is gone.

Turn the examples into review gates

Choose the relevant scenarios, assign owners and record what is unknown. Keep privacy/legal, security and clinical review separate; a source citation or completed worksheet is not evidence that your implementation passed. This selection omits many requirements, including a full treatment of physical safeguards and individual rights. Do not use it as launch authorization.

Discuss the next step with PAHL

See Fabrica and book a 30-minute call

Palo Alto Health Labs offers a free 30-minute call to review your app or your practice's tech—not a completed code, legal, security, clinical or compliance audit or certification. Bring an invented-case demonstration and architecture sketch, not PHI, real screenshots/audio, credentials or private contracts.