Home›Blog›Generative AI with PHI: HIPAA and BAA Guidance for Pharma
CompliancePublished: November 24, 2026Last updated: November 24, 2026

Generative AI with PHI: HIPAA and BAA Guidance for Pharma

When generative AI can touch PHI, where pharma programs sit under HIPAA, which AI vendors sign a BAA, and the settings that keep it compliant.

VA
Vibhor AgnihotriHead of US Business, Zelthy
Share:
Generative AI with PHI, HIPAA BAA guide: a patient file passes through a gate on its way to an AI model
TL;DR
  • An AI provider that processes prompts containing PHI is a business associate, so PHI needs a BAA, de-identification or another Privacy Rule permission.
  • Most drug manufacturers are not HIPAA covered entities; a PSP's role (business associate, authorization-based or covered entity) decides what applies.
  • As of November 2026, OpenAI, Microsoft Azure, AWS and Google Cloud offer BAAs for generative AI, but each covers only named products, endpoints or features.
  • For AI vendors, add BAA terms on training, retention, human review, model subprocessors and data location to the 164.504(e) provisions.
  • After signing, compliance depends on configuration: retention, abuse monitoring, eligible features, role-based access, audit logs and redaction.

Teams running patient programs want generative AI to summarize case notes, read enrollment forms and draft patient letters, and the fastest way to try it is to paste protected health information (PHI) into a chatbot. That shortcut is where HIPAA exposure starts. In the American Medical Association's 2026 survey, 81% of physicians reported using AI in their practices, up from 38% in 2023, and 86% named data privacy as a critical factor for wider adoption.

This post builds on Zelthy's guide to the HIPAA Security Rule for patient portals and applies the same logic to generative AI. Zelthy is an AI-native Platform-as-a-Service for pharmaceutical and life sciences operations, built on Zango, an open-source Python/Django framework with multi-tenancy, HIPAA and GDPR controls and FHIR interoperability. Below: when a generative AI tool may touch PHI, where pharma programs sit under HIPAA, which major AI providers sign a business associate agreement (BAA) and on what terms, a BAA clause checklist, and the configuration choices that decide whether a compliant contract stays compliant in practice.

When can generative AI tools be used with PHI under HIPAA?

A HIPAA covered entity or business associate may send PHI to a generative AI tool only when the provider has signed a BAA covering that specific service, or the data has been properly de-identified, or another Privacy Rule permission (such as a valid patient authorization) applies. Without one of these, the disclosure is impermissible, whatever the vendor promises about training.

The reasoning comes from the definition of a business associate in 45 CFR 160.103: a person that creates, receives, maintains or transmits PHI on behalf of a covered entity. An AI provider that processes prompts containing PHI fits that definition. HHS made the same point for cloud services: a provider is a business associate "even if the CSP processes or stores only encrypted ePHI and lacks an encryption key for the data", and the conduit exception is "limited to transmission-only services." HHS also confirms that a covered entity may use a cloud service for ePHI "provided the covered entity or business associate enters into a HIPAA-compliant business associate contract" and completes a risk analysis.

Consumer chatbots used without a BAA therefore fall outside what HIPAA permits for PHI.

OCR's online tracking guidance offers a useful parallel. It states that "it is insufficient for a tracking technology vendor to agree to remove PHI from the information it receives"; a signed BAA and a Privacy Rule permission are still required. A federal court in American Hospital Association v. Becerra vacated one part of that guidance on 20 June 2024: the "proscribed combination" covering unauthenticated public web pages. The ruling did not touch the rule that a vendor receiving PHI needs a BAA.

Where pharma and PSPs sit under HIPAA

Most drug manufacturers are not HIPAA covered entities, so the first question for a patient support program (PSP) is its role. Prescribers and dispensing pharmacies are covered entities; a manufacturer's hub or assistance program usually is not, and whether HIPAA reaches the program depends on the function it performs for the patient and for those covered entities.

In practice, three patterns appear:

  • Business associate: a hub or program vendor performs a function on behalf of a provider, pharmacy or plan (for example, benefits verification). HIPAA applies directly, and any AI provider it uses becomes a subcontractor that needs its own BAA.
  • Authorization-based: the patient signs an authorization under 45 CFR 164.508 allowing a provider or pharmacy to disclose PHI to the manufacturer's program. The authorization names the recipient and purpose, so AI use outside that purpose is a contract and consent problem even where HIPAA no longer follows the data.
  • Covered entity: less common, but a manufacturer-run specialty pharmacy or a program that bills electronically can be one.

Where HIPAA does not attach, contracts, consent language and state privacy laws usually require similar controls. The PSP guide covers how these programs are typically structured.

Which AI providers sign a BAA, and what does it cover?

As of November 2026, OpenAI, Microsoft Azure, AWS and Google Cloud all offer BAAs that can cover generative AI services, but each limits coverage to named products, endpoints or features. "Is ChatGPT HIPAA compliant?" has no single answer: the consumer app is not covered, while specific business tiers and API configurations can be.

ProviderHow the BAA is offeredWhat is in scopeConditions to check
OpenAIExecuted BAA with OpenAI[ChatGPT for Healthcare, ChatGPT Enterprise with Regulated Workspace, ChatGPT for Clinicians, API with Modified Retention](https://help.openai.com/en/articles/20001069)API needs the BAA plus Modified Retention; only listed endpoints are covered; some ChatGPT features are excluded and "PHI should not be entered" there
Microsoft Azure (Foundry / Azure OpenAI)[Available by default through the Data Protection Addendum](https://learn.microsoft.com/en-us/compliance/regulatory/offering-hipaa-hitech) to covered entity and business associate customersIn-scope Azure services (confirm the specific AI service on Microsoft's in-scope list)Flagged content may be stored for human abuse review unless [modified abuse monitoring](https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/abuse-monitoring) is approved; stateful features store data; Microsoft states modified abuse monitoring is not available for models made available on or after 1 November 2026
AWS (Amazon Bedrock)AWS BAA, required [before using eligible services with PHI](https://aws.amazon.com/compliance/hipaa-eligible-services-reference/)HIPAA eligible services only; AWS lists [Bedrock among services for HIPAA workloads](https://aws.amazon.com/blogs/industries/hipaa-compliance-for-generative-ai-solutions-on-aws/)Choose the [data retention mode](https://docs.aws.amazon.com/bedrock/latest/userguide/data-retention.html); the human-review mode required for some models retains data for up to 30 days
Google Cloud[Click-to-accept BAA](https://cloud.google.com/terms/hipaa-baa) on top of a services agreementCovered Services only; the [covered list](https://docs.cloud.google.com/docs/security/compliance/hipaa) includes Generative AI on Agent PlatformPre-GA offerings are not for PHI unless noted; disable non-covered services
Generative AI provider BAA scope, as of November 2026 (verify before contracting)

Two details matter more than the logo on the contract. First, coverage is feature-level: Google's BAA "does not apply to any Google product, service, or feature that is not a Covered Service." Second, a BAA does not make your deployment compliant. AWS states that customers "do not automatically inherit HIPAA compliance by using HIPAA eligible services."

Signed the BAA? Is the deployment compliant too?

A BAA covers named services, not your setup. Role-based access, audit logs and a redaction step before each model call are what keep PHI use inside the lines.

See the Compliance platform →

What a generative AI business associate agreement must cover

A BAA must contain the provisions listed in 45 CFR 164.504(e). For generative AI, add negotiated terms on training, retention, human review, model subprocessors and data location, because the regulation predates these risks and vendor defaults vary.

ClauseSourceWhat to look for with an AI vendor
Permitted uses and disclosures[164.504(e)(2)(i)](https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164/subpart-E/section-164.504)Limited to providing the service; no product improvement or model training on PHI
No further use or disclosure164.504(e)(2)(ii)(A)Explicit bar on using prompts or outputs for training or evaluation
Safeguards and Security Rule compliance164.504(e)(2)(ii)(B)Encryption, access control, logging; named certifications
Reporting of improper use, security incidents and breaches164.504(e)(2)(ii)(C); [HHS sample provisions (164.410)](https://www.hhs.gov/hipaa/for-professionals/covered-entities/sample-business-associate-agreement-provisions/index.html)Notice timelines that fit your own breach clock
Subcontractors bound to same terms164.504(e)(2)(ii)(D)Which model providers and hosting partners see data
Access, amendment, accounting164.504(e)(2)(ii)(E) to (G)Ability to retrieve stored conversations and files
Books and records available to HHS164.504(e)(2)(ii)(I)Standard; confirm it is present
Return or destroy PHI at termination164.504(e)(2)(ii)(J)Deletion of logs, vector stores, files and fine-tuned models
Termination for material breach164.504(e)(2)(iii)Present and practical
Retention and human review (negotiated)Vendor termsZero or modified retention; abuse monitoring storage and reviewer access
Data location (negotiated)Vendor termsRegion or data zone pinned to your requirements
BAA clause checklist for generative AI tools
AI business associate agreement scope: a signed BAA covers some AI services under a dome, while others outside are marked no PHI
A BAA covers named services and endpoints. Everything else stays outside the gate.

HHS's sample language is optional: "use of these sample provisions is not required for compliance."

Configuration choices that keep PHI use compliant

Once a BAA is signed, compliance depends on configuration: which endpoints and features are switched on, how long prompts are retained, whether humans can review content, who can submit PHI, and how much PHI each prompt actually needs.

SettingCompliant choiceWhy it matters
RetentionZero or modified retention; on Bedrock, the ["none" mode writes no request or response data to durable storage](https://docs.aws.amazon.com/bedrock/latest/userguide/data-retention.html)Retained prompts are stored PHI that must be protected, produced and destroyed
Abuse monitoringApply for modified monitoring where available; on Azure, check [ContentLogging is false](https://learn.microsoft.com/en-us/azure/foundry/responsible-ai/openai/data-privacy)Default monitoring can store flagged samples for human review
TrainingConfirm off in contract and settings; OpenAI states it does not [train on business data by default](https://openai.com/business-data/)Training is a use beyond the permitted purpose
Eligible features onlyDisable non-covered tools, plugins, memory and preview modelsBAA scope is feature-level
RegionPin region or data zoneContract, state law and non-US rules may restrict location
Access controlRole-based access to AI features that accept PHI[Minimum necessary](https://www.hhs.gov/hipaa/for-professionals/privacy/guidance/minimum-necessary-requirement/index.html) requires limiting access by role
Audit logsLog who sent what, to which model, with what outputSupports incident response and accounting
Redaction gatewayStrip identifiers before the model call where the task allowsReduces PHI per prompt; de-identified data is not PHI
RAG boundariesRetrieve only records the user is entitled to seePrevents the model surfacing other patients' data
Configuration choices for generative AI with PHI
De-identify PHI for AI: case notes pass a redaction gateway that strips identifiers before reaching an AI model, with an audit log
Strip what the task does not need before the prompt leaves your boundary, and log every call.

De-identification deserves caution. HHS requires identifiers to be removed "regardless of its location in a record", including free text, under either the Safe Harbor method (164.514(b)(2)) or Expert Determination (164.514(b)(1)). Genevieve Kanter and Eric Packel, writing in JAMA, warned that removing identifiers from transcripts before using a chatbot is difficult. Treat a redaction gateway as risk reduction, not as a substitute for a BAA, unless the output meets a HIPAA de-identification standard.

Two regulatory items to track:

  • Security Rule overhaul: the proposed rule of 6 January 2025 would add a technology asset inventory and make encryption and MFA explicit requirements. As of November 2026 it is not final; OCR's agenda targets July 2027.
  • Section 1557: since 1 May 2025 (300 days after the 5 July 2024 effective date), entities covered by Section 1557 must make reasonable efforts to identify and mitigate discrimination risk from patient care decision support tools under 45 CFR 92.210. Note that "covered entity" here means recipients of federal health funding, a different test from HIPAA.

How programs deployed on Zelthy apply these controls

Zelthy works at the platform layer, so the controls above become configurable workflow rather than policy documents. Teams can configure role-based access and audit logging for AI-assisted steps on Zelthy, using the permission and audit framework in Zango. Teams can also configure a redaction step before a model call and route calls only to model endpoints covered by the customer's own BAA, deployed in the customer's chosen cloud.

The approved outcome data for Zelthy comes from patient programs, not from AI compliance specifically. PSPs deployed on Zelthy have reported a 45% improvement in adherence, 60% faster onboarding, 30% lower cost and 85% patient engagement. Across deployments, Zelthy supports 1M+ patients in 12+ countries with 300+ applications. For the compliance architecture behind this, see how to evaluate an AI compliance platform for life sciences, the Zelthy compliance solution, and the companion posts on Part 11 for patient support programs and AI for fax enrollment forms. Monitoring what the model says after deployment is covered in AI output compliance monitoring.

If your team is planning AI on PSP intake or case management, book a demo with Zelthy to see how these controls are configured on the platform.

This article is general information, not legal advice. Confirm your HIPAA role and vendor terms with privacy counsel.

Frequently asked questions

Is ChatGPT HIPAA compliant?

The consumer ChatGPT app is not covered by a BAA, so it should not receive PHI. As of November 2026, OpenAI offers a BAA for specific products, including ChatGPT for Healthcare, ChatGPT Enterprise with Regulated Workspace and the API with Modified Retention, and only listed endpoints and features are covered.

Do I need a BAA with an AI vendor if the data is encrypted?

Yes. HHS guidance says a cloud provider that stores or processes ePHI is a business associate even if it holds only encrypted data and lacks the key. The conduit exception covers transmission-only services, which a generative AI model is not.

Can I use generative AI with PHI if I de-identify it first?

Data that meets the HIPAA Safe Harbor or Expert Determination standard is no longer PHI, so a BAA is not required for it. Free-text notes and transcripts are hard to de-identify reliably, so treat redaction as risk reduction unless the output meets one of the two standards.

Does HIPAA apply to a pharma company's patient support program?

It depends on the program's role. Manufacturers are usually not covered entities, but a hub acting on behalf of a provider, pharmacy or plan is a business associate, and data received under a patient authorization should be used only for the purpose that authorization states.

Does zero data retention make an AI tool HIPAA compliant?

No. Zero or modified retention reduces stored PHI, but the provider still receives PHI, so a BAA and a Privacy Rule permission are still required. Retention is one configuration choice alongside eligible features, abuse monitoring, access control and audit logging.

Sources

  1. AI usage among doctors doubles as confidence in technology grows. American Medical Association, 12 March 2026.
  2. 45 CFR 160.103 Definitions. eCFR.
  3. Guidance on HIPAA and Cloud Computing. HHS Office for Civil Rights, last reviewed 23 December 2022.
  4. May a HIPAA covered entity or business associate use a cloud service to store or process ePHI? HHS OCR FAQ 2075.
  5. Use of Online Tracking Technologies by HIPAA Covered Entities and Business Associates. HHS OCR.
  6. 45 CFR 164.508 Uses and disclosures for which an authorization is required. eCFR.
  7. HIPAA eligible products and functionality. OpenAI Help Center, accessed 17 November 2026.
  8. Business data privacy, security, and compliance. OpenAI, accessed 17 November 2026.
  9. HIPAA/HITECH Act compliance offering. Microsoft Learn, updated 29 July 2025.
  10. Foundry Models sold by Azure abuse monitoring. Microsoft Learn, accessed 17 November 2026.
  11. Data, privacy, and security for Foundry Models sold by Azure. Microsoft Learn, accessed 17 November 2026.
  12. HIPAA Eligible Services Reference. Amazon Web Services, updated 8 December 2024.
  13. HIPAA compliance for generative AI solutions on AWS. AWS for Industries blog, 13 October 2025.
  14. Data retention, Amazon Bedrock User Guide. AWS, accessed 17 November 2026.
  15. Google Cloud HIPAA Business Associate Amendment. Google Cloud, last modified 22 September 2025.
  16. HIPAA compliance on Google Cloud. Google Cloud Documentation, updated 11 November 2026.
  17. 45 CFR 164.504 Uses and disclosures: Organizational requirements. eCFR.
  18. Business Associate Contracts (sample provisions). HHS OCR, last reviewed 16 June 2017.
  19. Minimum Necessary Requirement. HHS OCR.
  20. Guidance Regarding Methods for De-identification of Protected Health Information. HHS OCR.
  21. Health Care Privacy Risks of AI Chatbots. Genevieve P. Kanter and Eric A. Packel, JAMA, 6 July 2023.
  22. HIPAA Security Rule To Strengthen the Cybersecurity of Electronic Protected Health Information (proposed rule). Federal Register, 6 January 2025.
  23. HIPAA Security Rule to Strengthen the Cybersecurity of Electronic Protected Health Information, RIN 0945-AA22. Unified Agenda, Office of Information and Regulatory Affairs (reginfo.gov).
  24. Nondiscrimination in Health Programs and Activities (final rule). Federal Register, 6 May 2024.
  25. 45 CFR 92.210 Nondiscrimination in the use of patient care decision support tools. eCFR.
Related Solution

Planning generative AI on patient program data?

Zelthy is pharma's compliance platform — built on Zango, an open-source framework with HIPAA and GDPR controls, so teams can configure role-based access and audit logging for AI-assisted steps, add a redaction step before a model call, and route calls only to model endpoints covered by their own BAA, in the cloud they choose.

See the Compliance Solution →

Similar Blogs