Skip to content

Guide

Can a plaintiff firm put client medical records into an AI tool? HIPAA and business associate agreements

Published · 6 min read · 11 sources

Key takeaways

  • A law firm becomes a HIPAA business associate when it provides legal services to or for a health plan, clearinghouse or provider and that client discloses patient information to it for the work.
  • When records arrive by the injured client's authorization or by subpoena, the firm is serving the patient, so on its text the regulation's definition does not fit the firm for those records.
  • A firm that is a business associate, such as one defending a health plan, needs a written agreement with any AI vendor that stores or processes the records for it, and HHS says that holds even when the vendor only keeps encrypted data it cannot read.
  • Records produced under a HIPAA qualified protective order may be used only for that litigation and must be returned or destroyed, copies included, when it ends. Check the vendor's retention terms against that order before uploading.
  • A firm outside HIPAA still owes its client reasonable protection of the chart under Model Rule 1.6(c), and ABA Formal Opinion 512 weighs how sensitive the data is when judging an AI tool.

It depends on whose lawyer you are and how the records reached you. HIPAA’s rules on health information bind covered entities and their business associates, and a plaintiff firm that gets records through its own client is usually neither. Your confidentiality duty, any protective order and state privacy law still apply to every upload.

Who does HIPAA actually bind?

The Privacy Rule’s general rule is addressed to two kinds of entity. Under 45 CFR 164.502(a), a covered entity or business associate “may not use or disclose protected health information” except as the rules permit. HHS describes protected health information, or PHI, as individually identifiable health information that a covered entity or business associate creates, receives, maintains or transmits.

A covered entity, under 45 CFR 160.103, is a health plan, a health care clearinghouse, or a health care provider that transmits health information electronically in connection with a covered transaction. A law firm doing legal work is none of those.

So the live question for a firm is whether it is a business associate.

When is a law firm a business associate?

The definition in 45 CFR 160.103 names legal work directly. A business associate includes a person who provides “legal, actuarial, accounting, consulting” and similar services “to or for such covered entity,” where the service involves disclosure of protected health information from that covered entity, or from another of its business associates, to the person (paragraph (1)(ii)).

Both conditions must hold. The firm serves a covered entity, and the covered entity hands over health information so the firm can do that work. HHS’s business associate guidance gives an example that fits both: an attorney “whose legal services to a health plan involve access to PHI.”

The same HHS page lists exchanges that need no business associate agreement because “neither entity is acting on behalf of, or providing a service to, a covered entity or business associate.”

Is a plaintiff firm a business associate of the client’s doctors?

On the definition’s text, usually not for those records. A personal injury firm provides legal services to the injured person. The hospital or clinic that sends the chart is not the firm’s client, and the firm is doing nothing on the provider’s behalf.

The usual routes for records confirm that reading.

  • Client authorization. Section 164.502(a)(1)(iv) lets a covered entity disclose records under a valid authorization. Every valid authorization must warn the patient that the information may be redisclosed by the recipient and “no longer be protected by this subpart” (45 CFR 164.508(c)(2)(iii)). The rule itself tells the patient HIPAA may stop at the firm’s door.
  • Subpoena or discovery request. Section 164.512(e) sets the conditions a provider must meet before answering lawful process. Those conditions fall on the provider and the party asking. They do not turn the requesting firm into the provider’s business associate.

The answer can change if the same firm also does legal work for a hospital, clinic or health plan and receives patient records for that work. For those matters the definition applies in full.

Which rules apply to the upload?

How the firm got the recordsIs the firm a business associate for them?What governs putting them into an AI tool
Client signed a HIPAA authorizationNo, on the definition’s textRule 1.6, the engagement terms, state privacy law
Subpoena or discovery under a qualified protective orderNo, on the definition’s textThe order’s limits on use and its return or destroy duty, plus Rule 1.6
Firm represents a hospital, clinic or health plan that sent the recordsYesA business associate agreement with the covered entity, a matching agreement with the AI vendor, plus Rule 1.6

What if the records came under a protective order?

Read the order before you upload anything. When a provider answers a subpoena without a court order, one route requires assurance that the party asking has sought a qualified protective order. Under 45 CFR 164.512(e)(1)(v), such an order prohibits the parties from using or disclosing the information “for any purpose other than the litigation.” It also requires return to the covered entity or destruction of the records “(including all copies made)” when the case ends.

That second requirement is the practical test for an AI tool. If a vendor keeps uploaded files, logs prompts, or uses customer data to train its models, ask whether you could still return or destroy every copy at the end of the case. A vendor’s statement about retention is a claim. Get it in the contract.

What does a firm need if it is a business associate?

It needs written assurances from any vendor that handles the records for it. Under 45 CFR 164.502(e)(1)(ii), a business associate may let a subcontractor create, receive, maintain or transmit protected health information only after obtaining satisfactory assurance that the subcontractor will safeguard it. Those assurances must be in a written contract that meets 45 CFR 164.504(e), and 164.504(e)(5) applies the same contract terms to a business associate’s own vendors. The definition of business associate covers such a subcontractor too (160.103, paragraph (3)(iii)).

Among the required terms in 164.504(e)(2), the vendor must agree to:

  • not use or further disclose the information beyond what the contract permits or the law requires;
  • use appropriate safeguards and comply with the Security Rule for electronic records where it applies;
  • report uses or disclosures the contract does not allow, including breaches;
  • bind its own subcontractors to the same restrictions; and
  • at the end of the contract, return or destroy the information if feasible and keep no copies.

HHS’s FAQ for lawyers who are business associates applies this to litigation help. It says the lawyer must ensure that “litigation support personnel” and others hired to help also safeguard the information. Opposing counsel and fact witnesses are not included.

For software, HHS’s cloud computing guidance says a cloud service provider that stores or processes electronic PHI for a business associate is itself a business associate. HHS says that holds even if the provider stores only encrypted data and “lacks an encryption key for the data.” On that reasoning, an AI service that receives the records to summarize them would be a business associate too.

Does Rule 1.6 cover medical records even when HIPAA does not?

Yes. ABA Model Rule 1.6(a) covers all “information relating to the representation of a client.” Rule 1.6(c) requires reasonable efforts to prevent its unauthorized disclosure or access. A client’s medical chart in a personal injury case is plainly within that.

ABA Formal Opinion 512 applies the rule to generative AI. It lists the sensitivity of the information among the factors in judging whether it is adequately protected (page 6). It tells lawyers to read the vendor’s contract terms and privacy policy to learn who can see what goes in (page 7). For self-learning tools, it says the client’s informed consent is required before client information goes in, and a boilerplate clause in the engagement letter does not count (page 7). Opinion 512 is ABA guidance, not law, and your state’s rules and bar opinions may differ. Our guide to Opinion 512 covers the confidentiality analysis in full.

What about state medical privacy laws?

HIPAA does not displace stricter state rules. Under 45 CFR 160.203(b), a state law on the privacy of individually identifiable health information survives HIPAA preemption when it is more stringent than the federal rule. Check the state privacy law that applies to the records before you choose a tool.

What should a firm check before uploading client records?

  1. Record how each set of records arrived: authorization, subpoena, court order, or from a health care client.
  2. If any covered entity is your client, treat the firm as a business associate for those records and get a compliant agreement with the AI vendor first.
  3. Read any protective order and confirm you could return or destroy every copy the tool makes.
  4. Read the vendor’s terms on retention, training and access, and get its commitments in writing.
  5. Get the client’s informed consent where Opinion 512 or your state’s rules call for it, in plain terms that name the records involved.
  6. Put the rules in your firm’s AI policy so staff do not decide case by case.

Sources

  1. 45 CFR 160.103: Definitions, Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  2. 45 CFR 164.502: Uses and disclosures of protected health information: General rules, Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  3. 45 CFR 164.504: Uses and disclosures: Organizational requirements, Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  4. 45 CFR 164.508: Uses and disclosures for which an authorization is required, Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  5. 45 CFR 164.512: Uses and disclosures for which an authorization or opportunity to agree or object is not required, Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  6. 45 CFR 160.203: General rule and exceptions (preemption of state law), Legal Information Institute, Cornell Law School (Electronic Code of Federal Regulations). Accessed .
  7. Business Associates Frequently Asked Questions (FAQs), U.S. Department of Health and Human Services, Office for Civil Rights. Accessed .
  8. In providing legal services to a covered entity, must a lawyer who is a business associate require that those persons to whom it discloses protected health information agree to abide by the privacy restrictions and conditions that apply to the lawyer?, U.S. Department of Health and Human Services, Office for Civil Rights. Accessed .
  9. Guidance on HIPAA & Cloud Computing, U.S. Department of Health and Human Services, Office for Civil Rights. Accessed .
  10. Rule 1.6: Confidentiality of Information, American Bar Association, Model Rules of Professional Conduct. Accessed .
  11. Formal Opinion 512: Generative Artificial Intelligence Tools, American Bar Association Standing Committee on Ethics and Professional Responsibility. Accessed .

More guides