Compliance Guide | Healthcare

HIPAA Compliance for AI Chatbots on Hospital Websites

HIPAA applies to a hospital website chatbot when the conversation involves individually identifiable health information that the hospital, or a vendor acting on its behalf, creates, receives, maintains, or transmits. That is determined by who the user is, what they say, whether the session is authenticated, and where the data travels afterward. Treat it as a data-flow question for each chatbot context, and enforce the resulting controls at runtime rather than only in policy.

Treat applicability as a context question

The answer can differ for each chatbot context on the same hospital website. Four factors determine whether HIPAA applies:

  • Who the user is: whether the person has a relationship with the hospital as a patient.
  • What they say: whether the conversation includes individually identifiable health information.
  • Whether the session is authenticated: whether the chatbot can reach records tied to the user.
  • Where the data travels afterward: which models, vendors, analytics tools, and logs receive it.

Four chatbot scenarios and what they usually imply

The scenarios below are ordered from lowest to highest likelihood that PHI is involved.

Chatbot contexts and PHI likelihood
Chatbot contextPHI likelihood
Anonymous general inquiryLower likelihood, but depends on identifiers and tracking.
Appointment schedulingIdentity plus care relationship makes PHI likely.
Symptom triageHealth content tied to a person is likely PHI.
Authenticated portal assistanceRecord access means PHI is in scope by design.

Translating Security Rule safeguards into runtime controls

The Security Rule's safeguard categories give compliance and engineering teams a shared vocabulary. Each category maps to a concrete runtime behavior.

Safeguard categories and their runtime translation
Safeguard categoryRuntime translation
Access controlsPer-session scoping: the chatbot's identity, the user's authentication state, and the permitted tools should determine which data can be reached.
Audit controlsLogs that record who or what accessed which data, through which tool call, and under which policy decision.
Transmission securityEncrypted connections to models, APIs, and EHR interfaces.
Integrity controlsProtecting records from improper alteration, which matters when a chatbot can write to a scheduling system.

Why enforcement belongs at runtime

Several of these safeguards are weak if they exist only as documented policy. A policy that says the chatbot must not send PHI to analytics scripts does nothing if the page loads those scripts anyway. Controls that are better enforced at runtime include:

  • Blocking tracking technologies on chatbot pages.
  • Filtering or redacting identifiers before text reaches a model when the use case does not need them.
  • Restricting tool and API calls to an approved list.
  • Requiring approval for higher-risk actions.
  • Applying retention limits to transcripts and logs.

Balancing audit logging against new PHI stores

There is a tension to manage. Audit logging supports accountability, but logs that capture full conversations become a new store of PHI that needs its own protection and retention rules. Log what is needed to reconstruct decisions, and secure it as PHI where it contains PHI.

What to verify before finalizing your position

Questions for chatbot vendor assessment

  • Which chatbot contexts do you treat as involving PHI, and on what basis?
  • Will you sign a BAA that extends to the underlying model provider and subprocessors?
  • How long is conversation data retained, and is it used for model training?
  • Which controls are enforced at runtime: access scoping, tool-call limits, PHI filtering, audit logging?
  • Are third-party tracking technologies present, and how is transmission to them prevented?
  • Can the hospital export audit logs and set retention rules?

Map your chatbot data flows to enforceable controls

Talk with our team about applying runtime policy enforcement, agent permissions, and audit logging to AI chatbots in healthcare environments.

Talk to an Expert