ai under tough rulesby updated 6 min read

HIPAA + AI: Building Patient-Facing Tools That Protect PHI

How a HIPAA-covered practice uses AI with patients: business associate agreements, minimum necessary data, de-identification, audit logs and staff review.

A practice can use AI with patient information when the vendor signs a business associate agreement that covers the features in use, the AI receives only the minimum necessary PHI, and staff review what goes back to patients. OpenAI, Anthropic, Microsoft and Google each offer BAAs for named business products.

A medical or dental practice can use AI to answer scheduling questions, draft replies to portal messages and summarize visits. HIPAA allows it when four things are in place. The vendor that handles protected health information (PHI) is under a business associate agreement, the AI receives only the PHI the task needs, the system keeps a record of activity, and a person on staff reviews anything clinical before it reaches a patient.

This is not legal advice. Work through any new tool with your privacy officer or counsel.

When an AI vendor is a business associate

Under 45 CFR 160.103, a business associate is a person who, on behalf of a covered entity, creates, receives, maintains or transmits PHI for a function or activity HIPAA regulates, such as data analysis, processing or administration, or who provides certain services, such as consulting or management, that involve PHI. An AI vendor that processes patient messages or visit audio for a practice fits that definition.

Section 164.502(e) lets a covered entity share PHI with a business associate once it has satisfactory assurance that the associate will safeguard it, and 164.504(e) sets out what the contract must say. The business associate agreement has to:

  1. Set the permitted and required uses and disclosures of PHI.
  2. Bar any other use or disclosure, except as the contract allows or the law requires.
  3. Require appropriate safeguards, and compliance with the Security Rule for electronic PHI.
  4. Require the vendor to report any use or disclosure the contract does not allow, including breaches of unsecured PHI.
  5. Make sure the vendor's own subcontractors agree to the same restrictions.
  6. Make PHI available for patient access, amendment and accounting of disclosures.

Vendors that sign BAAs, as listed on 2 December 2026

  • OpenAI says it can sign BAAs for its API Platform, and describes ChatGPT for Healthcare as a workspace designed to support HIPAA compliance.
  • Anthropic offers a BAA for its HIPAA-ready services, including its first-party API, Claude in Microsoft Foundry and Enterprise plans. On an Enterprise plan, the organization's Primary Owner has to turn on HIPAA compliance under Data and privacy and accept the BAA, and standard Enterprise plans are not covered without that step. For the API, the Primary Owner signs the BAA and then asks Anthropic to enable it.
  • Microsoft offers a HIPAA BAA through the Microsoft Product Terms to covered entities and business associates for in-scope Azure services.
  • Google enters into BAAs as needed under HIPAA, and its list of covered products includes the Gemini Enterprise Agent Platform.

Coverage is set feature by feature. Anthropic's BAA, for example, covers only the organization that accepted it and excludes features such as the Claude Console, Cowork in the cloud and beta tools like Claude in Office. Check each feature your workflow uses against the vendor's current list, and keep PHI out of personal and consumer accounts entirely.

Send the minimum necessary

Section 164.502(b) requires reasonable efforts to limit PHI to the minimum necessary for the purpose of a use or disclosure. For AI, decide field by field what the task needs. A scheduling assistant needs the appointment type, the provider and the open times. It does not need the chart. Build the integration so the AI receives those fields and nothing else.

De-identify when the task allows

Some AI work needs no patient identity at all. Under 164.514(b), health information is de-identified when a qualified expert determines the risk of identification is very small, or when 18 kinds of identifiers are removed and the practice has no actual knowledge that what remains could identify the person. The identifiers include names, geographic units smaller than a state, all elements of dates except the year, phone numbers, email addresses, Social Security numbers and medical record numbers. Under 164.502(d), the Privacy Rule's requirements do not apply to properly de-identified information.

Drafting patient education handouts, analyzing message volume by topic, and building staff training scenarios can all be done with de-identified or synthetic data.

Patterns for patient-facing tools

  1. For portal messages, the AI drafts a reply inside the EHR or messaging system under a BAA, and a nurse or physician edits and sends it. Clinical judgment stays with licensed staff.
  2. A scheduling and FAQ assistant answers from the practice's approved content about hours, locations, preparation instructions and insurance accepted. It routes anything about symptoms or treatment to staff and collects only the fields scheduling needs.
  3. For visit documentation, an ambient scribe under a BAA drafts the note, and the clinician reviews and corrects it before signing.
  4. Plain-language patient education about procedures and medications can be written with no PHI in the prompt at all.

Keep a record of activity

The Security Rule's audit controls standard, 164.312(b), requires mechanisms that "record and examine activity in information systems that contain or use electronic protected health information." For an AI integration, log the staff member who triggered each request, the time, the patient record involved and what came back, and include those logs in your regular access reviews.

Privacy Rule changes coming in 2027

HHS published a final Privacy Rule on November 19, 2026. It takes effect January 19, 2027, and practices must comply by July 19, 2027. Among other changes, it shortens the time to respond to a patient's access request to no more than 15 calendar days, with one extension of up to 30 days. If a patient-facing tool helps handle records requests, build it to the new timeline. The rule also gives existing business associate agreements a transition period. An agreement signed before November 19, 2026 that met the earlier rules is treated as compliant until it is renewed or modified on or after July 19, 2027, or until January 18, 2028, whichever comes first.

The AI vendor evaluation guide has questions to send vendors before you sign.

Not legal advice. Talk to your privacy officer or counsel before you put a new tool in front of patients.

Sources

  1. 45 CFR 160.103, definition of business associate (Cornell LII) (checked 2026-12-02)
  2. 45 CFR 164.502, minimum necessary, de-identified information and disclosures to business associates (Cornell LII) (checked 2026-12-02)
  3. 45 CFR 164.504(e), business associate contract requirements (Cornell LII) (checked 2026-12-02)
  4. 45 CFR 164.514(b), de-identification by expert determination or safe harbor (Cornell LII) (checked 2026-12-02)
  5. 45 CFR 164.312(b), Security Rule audit controls (Cornell LII) (checked 2026-12-02)
  6. HHS Office for Civil Rights, HIPAA Privacy Rule final rule, 91 FR 74848 (Nov. 19, 2026), effective Jan. 19, 2027 (govinfo) (checked 2026-12-02)
  7. OpenAI, Enterprise privacy at OpenAI: BAAs for the API Platform and ChatGPT for Healthcare (checked 2026-12-02)
  8. Anthropic Privacy Center, Business Associate Agreements (BAA) for Commercial Customers (checked 2026-12-02)
  9. Microsoft Learn, HIPAA and the HITECH Act (Azure compliance offering) (checked 2026-12-02)
  10. Google Cloud, HIPAA compliance on Google Cloud, including covered products (checked 2026-12-02)
hipaahealthcarephicomplianceai
go deeper

Worked steps, FAQs and resources on this topic.

read the guide
the list

Get the next one.

Field notes from real deployments, written the way this one was. No schedule promised and nothing sold to you. Unsubscribe whenever.

ready to ship?

Let's build yours.

Reading is the easy part. We do the work. Tell us what's broken and we'll tell you straight up whether we can help.

let's talk