Implementation Guide for HIPAA Privacy Officers

    What a HIPAA Privacy Officer Should Require as Audit-Ready Evidence When Clinicians Use an LLM Inside the EHR

    Require a record, produced at the time of each interaction, that identifies the user, the patient context, the data classes in the prompt, retrieved context and output, the policy decision (allow, redact, block, escalate) and what happened to the output. HIPAA 164.312(b) requires mechanisms that record and examine activity in systems that contain or use ePHI, but it does not prescribe data elements. The LLM-specific fields are good practice that you define and document.

    • User identity, role and session, linked to the patient context in which the LLM was invoked.
    • Data classes present in the prompt, in retrieved EHR context and in the output, recorded as classes rather than as a second copy of the chart where possible.
    • The policy decision (allow, redact, block or escalate) and the identifier and version of the rule that produced it.
    • Redactions applied, including which data classes were removed before the model or the user saw them.
    • Escalation details: who was asked to approve, when, and the result.
    • Output disposition: shown to the clinician, withheld, or exported, copied or written back to the record.
    • Does your audit log cover LLM prompts, retrieved EHR context and outputs? Which fields are recorded per interaction?
    • Is the allow, redact, block or escalate decision made and recorded in the execution path at the time of interaction, or reconstructed later from logs? Show a sample record.
    • How is the evidence store protected as ePHI, including access restriction, alteration detection, and who can disable or change logging, with those changes logged?
    • Can records be produced by time period and sorted by user, patient context and action? Who controls retention settings and data residency?
    • Which of your evidence capabilities are required by HIPAA, which map to ONC criteria, and which are your own design?

    What HIPAA requires and what is good practice

    As of December 2026, 45 CFR 164.312(b) is in force and listed as Required in the Security Rule matrix. It directs covered entities to implement hardware, software and/or procedural mechanisms that record and examine activity in information systems that contain or use electronic protected health information. A clinician LLM feature inside the EHR that handles prompts, retrieved chart context or outputs containing PHI is activity in such a system.

    Two related obligations sit beside it. A Required implementation specification directs procedures to regularly review records of information system activity, such as audit logs, access reports and security incident tracking reports. The policies, procedures and documentation requirements at 164.316 govern how you document the decisions you make.

    The standard is technology-neutral and does not list data elements. That means every LLM-specific field, including patient context, data classes, redactions, escalation and output disposition, is a practice choice rather than a cited requirement. Keep that line visible in your audit responses so you do not overstate what the law says, and do not understate the rigor of what you chose to do.

    Why EHR-native audit trails leave a gap

    Certified EHR audit logs are specified around record access and change. ONC criteria 170.315(d)(2) and (d)(10), together with 45 CFR 170.210(e), call for tracking user-initiated actions such as additions, deletions, changes, queries, print and copy, plus audit-log status changes and user-privilege changes. These are obligations on health IT developers, not on covered entities, but they show the logic EHRs are built and certified against.

    ONC also accepts that logging access to a data category, for example a patient's medication list, can suffice without recording the specific item. Whether that granularity is adequate for an LLM prompt and its retrieved context is a question these criteria do not answer. A prompt can combine several data categories, and the output can restate or transform them.

    The practical test for a Privacy Officer is whether LLM interactions fall inside the EHR's audit-log logic or sit outside it. If they sit outside, the record access trail will show that a chart was opened but not what was sent to the model, what came back, or what policy applied.

    Record the policy decision when it is made

    Section 164.312(b) asks for mechanisms that record and examine activity. A mechanism that only collects raw prompts and outputs leaves the decision to be inferred later, and an inference made months afterward is a reconstruction, not evidence of what was enforced. The stronger design is for the component that applies policy in the execution path to write the decision record itself, in the same step as the decision.

    This is a design choice, not a HIPAA-mandated architecture, because the standard allows hardware, software or procedural mechanisms. Its advantage is that the record answers the question an examiner is likely to ask: what was this system allowed to do with PHI at that moment, and what did it do. A separate review step then examines records that already carry the decision.

    Trussed is one example of this approach. It enforces policy in the execution path, with allow, redact, block, rate limit and escalate for human approval applied to individual interactions and tool calls, and the audit-ready evidence is generated by that enforcement and mapped to HIPAA. It runs in production with healthcare and pharma organizations. Whatever tool you use, ask to see the decision record, not a description of it.

    Protect, retain and review the evidence store

    Interaction records that hold prompts or outputs may contain PHI. Treat the evidence store as an ePHI-bearing system in scope for 164.312(b) itself. This is an inference from the standard's wording, and it is a safe working assumption. It also argues for recording data classes and decisions in preference to full content wherever the use case allows, which limits how much PHI the evidence store accumulates.

    ONC (d)(10) offers useful reference controls even though it binds developers rather than covered entities. Restrict the ability to disable auditing to a limited set of users, detect whether the log has been altered, and log changes to audit status and to user privileges. Apply the same to your LLM policy rules: decide in advance who may reconfigure them, and record every change.

    Retention should be a documented decision. Record the evidence specification, including what you chose not to capture and why, under your 164.316 documentation, and set retention periods against the documentation requirements in the full regulation text with counsel. Configurable retention and data residency matter here. A self-managed deployment in your own cloud, which Trussed supports, lets you keep the evidence store under your own access and residency controls.

    Finally, define the activity review. Name who reviews LLM interaction records across Privacy, Security and clinical informatics, how often, and from which reports. Test that records can be produced for a defined period and sorted by user, patient context and action, and keep the review outcomes as evidence that the procedure runs.

    Minimum evidence for one clinician LLM interaction

    Who

    User identity and role, tied to the patient context of the session.

    What

    Data classes present in the prompt, retrieved EHR context and output.

    Decision

    Allow, redact, block or escalate, recorded when it was made.

    Outcome

    Redactions applied, escalation result and output disposition.

    Check your evidence against the specification

    See how enforcement in the execution path produces audit-ready evidence for clinician LLM use, with self-managed deployment and configurable retention and data residency.

    See How Evidence Is Produced