LLM Prompt and Response Logs and the HIPAA Designated Record Set
There is no blanket answer. As of December 2026, an LLM prompt or response log is in the Designated Record Set only if it meets the definition in 45 CFR 164.501, for example because it is part of a medical or billing record or is used, in whole or in part, to make decisions about individuals. Containing PHI is not enough. Classify each use case on its facts, and keep DRS records separate from the audit-control evidence required by 164.312(b).
Controls that support a documented classification
What the definition says and what it leaves open
Under 45 CFR 164.501, a designated record set is a group of records maintained by or for a covered entity. For a covered health care provider it includes medical records and billing records about individuals. For a health plan it includes enrollment, payment, claims adjudication, and case or medical management record systems. HHS-aligned summaries also list other records used, in whole or in part, to make decisions about individuals.
For this definition, a record is any item, collection or grouping of information that includes PHI and is maintained, collected, used or disseminated by or for a covered entity. A prompt or response containing PHI can therefore be a record. But being a record does not place it in a designated record set. The set is defined by the group of records and by their purpose.
Neither the definition nor the audit-controls standard names LLM logs. Applying the text to them is analysis, and the points below are presented that way. That is also why the answer depends on the use case rather than on the technology.
Four factors that decide whether a log is in scope
The regulatory text supports a short set of questions. Answer each one for every LLM use case and record the facts you relied on.
- Part of a medical, billing or plan record system: Is the log, or content from it, stored in the medical record, a billing record or a health plan record system?
- Used to make decisions about individuals: Is any prompt or response used, in whole or in part, to make decisions about care, payment or coverage for an individual?
- Maintained by or for the covered entity: Does the covered entity, or a business associate or vendor on its behalf, hold the log? Vendor arrangements can decide who holds it.
- Contains PHI: Does the stored content include PHI? What is written to the log determines this.
- Retrievable by individual: Is the log organized or searchable by patient identifier? This does not decide scope, but it affects whether you can locate records for an access request.
Applying the factors to common use cases
Clinical documentation drafting. Where a clinician edits an AI-drafted note and it is incorporated into the medical record, the incorporated content sits in the record and falls under the access and amendment rules. Whether the raw prompt and discarded drafts also belong is not settled by the text. It turns on whether they are retained as part of the record or used for decisions, or only held transiently for system operation.
Patient messaging. Responses sent to a patient and stored in the chart are part of what the organization maintains about that individual. Drafts that are never sent, and prompts that are not stored in the chart, call for a documented judgment.
Coding and billing support. Billing records are named in the definition. Output that feeds a billing or claims record, or informs a payment decision about an individual, points toward inclusion. Interaction logs that sit outside that record system are a closer call.
Internal operational use. A prompt that summarizes policy or drafts training material and informs no decision about an individual points away from the DRS. If it contains PHI, the log is still PHI and still needs safeguarding. It is simply a different question from access and amendment.
The ONC HTI-1 final rule, which is not HIPAA rulemaking, points the same way. It says LLMs should be evaluated in the context of specific use cases, and that an individual's ability to obtain information about the use of a predictive decision support tool in their care runs through the HIPAA right of access to PHI in designated record sets.
DRS records and 164.312(b) audit evidence are different things
The Designated Record Set is a Privacy Rule construct tied to access and amendment rights. Section 164.312(b) is a Security Rule technical safeguard. It requires covered entities and business associates to implement hardware, software and procedural mechanisms that record and examine activity in information systems that contain or use ePHI. The standard's text does not use the term designated record set.
One log store can therefore serve audit purposes without automatically becoming a DRS. The risk runs the other way too: if a store mixes audit records with content used for care or payment decisions, the classification becomes hard to defend.
- Purpose: DRS: records about individuals used for care, billing, coverage and related decisions. Audit evidence: record and examine system activity.
- Governing provision: DRS: 45 CFR 164.501, with access and amendment rights. Audit evidence: 45 CFR 164.312(b) and information system activity review.
- Individual rights: DRS: access and amendment apply for as long as PHI is maintained in the DRS. Audit evidence: the standard text creates no such rights.
- Typical content: DRS: clinical, billing and claims content. Audit evidence: who or what acted, what was permitted, and what occurred.
- Review: DRS: handled through access and amendment procedures. Audit evidence: reviewed regularly, such as audit logs and access reports, under the information system activity review specification.
Retention, access and amendment consequences
Access and amendment rights last for as long as PHI is maintained in the DRS. Putting a log store into the DRS, even by default, therefore makes everything retained in it potentially subject to individual requests. Retaining raw prompts and drafts for longer than any operational or audit need extends that exposure without adding value.
The opposite error is a gap. If AI output is incorporated into the medical record, or used to make decisions about an individual, deleting the underlying content early may leave you unable to answer an access request. The regulation sets no specific retention periods for these logs, so retention is an organizational decision that should follow the classification, category by category, rather than a single platform-wide setting.
Your policy on which designated record sets are subject to access should match the AI classification decision. If the two disagree, a regulator will notice the inconsistency before it notices the logging architecture.
Where runtime enforcement fits
What a log contains is decided at the moment of the interaction. Trussed enforces policy in the execution path, so allow, redact and block decisions are enforced at runtime, not reviewed after the fact. That shapes what reaches storage, and it produces audit-ready evidence of what the AI was permitted to do and what it did, mapped to HIPAA, including 164.312(b) audit controls.
Trussed deploys self-managed in the customer cloud, with configurable retention and data residency, so log scope and location can follow the classification each use case receives. Trussed runs in production with healthcare and pharma organizations. It supports the evidence and control side of this work. The classification decision itself remains with your privacy and compliance leadership and legal counsel, and nothing here is legal advice or a guarantee of compliance.
Classifying an LLM interaction record
Is it a record?
Contains PHI and is maintained, collected, used or disseminated by or for the covered entity.
Is it in a record system?
Part of the medical or billing record, or a health plan enrollment, payment, claims or case management system.
Is it used for decisions?
Used in whole or in part to make decisions about individuals.
Is it audit evidence?
Recorded to examine system activity under 164.312(b), which is a separate question.
Build evidence that supports your classification decision
Talk through how enforcement in the execution path and audit-ready evidence can support your LLM log scope, retention and 164.312(b) requirements.
Talk to an Expert