Guide · Healthcare
Which components of an AI agent store health data and must sit with an HDS-certified host, what decree 2026-209 requires from 26 September 2026, and what clouds and model providers actually cover. Checked 15 September 2026.
The principle
History, vector index, logs and backups: the four parts of an AI agent that store health data.
In brief
This guide does not list medical AI tools; for that, see the best AI tools for healthcare. It answers a different question: how to build or choose an AI agent that handles health data while staying within HDS, GDPR and the AI Act. Use cases by practice type are covered in our guide to AI in healthcare.
Legal basis
Article L.1111-8 applies to anyone hosting health data collected during prevention, diagnosis, care or social and medico-social follow-up. A host that stores such data digitally must hold a certificate of conformity. The version in force since 1 July 2025 was amended by article 32 of law 2024-449 of 21 May 2024 (the SREN law).
Article R.1111-8-8 defines hosting as holding health data on behalf of the data controller that produced or collected it, or on behalf of the patient. It has one exception: briefly receiving data to enter, format, print or digitise it is not hosting. A controller that outsources hosting must check that its provider is certified.
Article R.1111-9 (version in force since 27 March 2026) lists six hosting activities:
Two certificates are usually distinguished: physical infrastructure host (activities 1 and 2) and managed services host (hébergeur infogéreur, activities 3 to 6). This split is presented by the French digital health agency (ANS); its page could not be loaded on 15 September 2026, so check it on esante.gouv.fr. For an AI agent the consequence is practical: the host that supplies the servers is not necessarily certified for the application platform or managed operations you hand over to it.
What counts as health data? GDPR article 4(15) defines it as personal data about a person's physical or mental health, including care received, that reveals their health status. The CNIL separates three cases: health data by nature (records, diagnoses, results), by combination with other data, and by intended use. A free-text question typed into a practice chatbot ("my treatment makes me dizzy") falls into the first category.
Dates

| Date | Text | Effect on a health AI agent |
|---|---|---|
| 16 May 2024 | Order of 26 April 2024 published in JORF no. 0113 (HDS framework v2.0) | New requirements, including data location in the EEA |
| 16 November 2024 | Article 2 of the order applies, six months after publication | Every new or renewal application follows v2.0 |
| 26 March 2026 | Decree 2026-209 of 24 March 2026 published in JORF no. 0073 | Most provisions apply from the next day |
| 16 May 2026 | Deadline for already certified hosts to move to v2.0 (Microsoft Learn page) | A v1.1 certificate is no longer enough |
| 2 August 2026 | AI Act, Article 50 | A patient chatbot must say it is an AI |
| 26 September 2026 | Article R.1111-9-1 and contract clauses of decree 2026-209 | EU/EEA-only storage; transfers and remote access regulated |
| 2 August 2028 | AI Act, Annex I high-risk systems (including medical devices) | High-risk obligations for AI that is or is part of a medical device |
Légifrance gives 26 September 2026 as the date of effect; some law firms use 27 September. The one-day gap changes nothing in practice: contracts and data location need to be ready before then. The full AI Act timeline, as amended by the Digital Omnibus, is in our AI Act guide for businesses.
Decree 2026-209

The new article R.1111-9-1 sets two rules.
The same decree amends article R.1111-11 III: hosts must publish and keep up to date a map of data transfers outside the EU/EEA, possible remote access and the risk of unauthorised access by third-country authorities.
For an AI agent, remote access is the point most often missed. A support team outside the EU that can read logs, a US observability tool that receives prompt traces, or an offshore managed-services subcontractor are all in scope. Ask every host for its transfer map and check that the tools connected to the agent appear on it.
Architecture
Each component of an AI agent has a different status under the hosting rules: some keep the data, others only see it pass through.

| Component | Holds health data? | HDS hosting if a provider runs it |
|---|---|---|
| Web or chat interface (widget, app) | In transit; nothing should be kept in the browser (localStorage) or on the interface server | No if the interface stores nothing; yes once it keeps conversations |
| Agent orchestrator (backend, tools, API calls) | Yes, in memory during processing | Yes: application hosting platform (activity 4) |
| Conversation history | Yes | Yes |
| RAG vector index (embeddings and document chunks) | Yes if it indexes patient records; text chunks are stored alongside the vectors | Yes |
| Model inference | Yes during the call; retention depends on the provider | Not settled (see next section) |
| Logs, traces and observability tools | Yes once they record prompts or answers | Yes, or redact the logs |
| Backups and archives | Yes | Yes: backup of health data (activity 6) |
| Product analytics | Should hold none | Avoid: send only events with no content |
The vector index is the component most often underestimated. In a RAG setup the database holds more than vectors: it also stores the document passages that will be sent back to the model. If those documents are clinical reports or patient letters, the vector store holds health data. Our guide to RAG for businesses explains how it works, and the patient file triage use case shows a typical flow.
Grey area
As of 15 September 2026 we found no text and no ANS or CNIL position saying whether sending a prompt that contains health data to a model API counts as hosting. The points below are our analysis.
In practice, until this is settled, get any external API call reviewed by a lawyer or your DPO, and prefer architectures 1 or 2 below. Model providers' retention and subprocessing commitments are set out in their data processing agreements; our guide to AI agent security lists the technical safeguards on the agent side.
Providers
At the large clouds, HDS scope follows the list of ISO/IEC 27001 certified services and a list of regions. A certified compute layer does not mean the managed AI service is covered: read the certificate, the service list and the signed contract.

| Provider | Published HDS certification | AI service in scope | To check |
|---|---|---|---|
| Microsoft Azure | HDS v2.0, certificate issued October 2025 (audited by Schellman). Azure services listed as ISO/IEC 27001 compliant, 14 EEA regions, preview services excluded | Azure OpenAI is not named on the HDS page | ISO 27001 appendix in the Service Trust Portal (login required), HDS contract terms |
| AWS | HDS v2.0, certified 21 April 2026, 27 regions; activities 1 and 2 in 6 EEA regions (Frankfurt, Ireland, Milan, Paris, Stockholm, Spain). ISO 27001 services are included | Bedrock is not on the HDS page, but "Amazon Bedrock" (excluding Bedrock Marketplace) is on the ISO 27001 list dated 1 September 2026: within scope under the rule AWS publishes | Written confirmation, EEA region, the models you actually use |
| Google Cloud | HDS v2.0 announced for Google Cloud Platform and Workspace (Google Cloud security blog, 22 September 2025) | Not stated: the services-in-scope page has no HDS column; Vertex AI appears under ISO 27001 | Ask Google for the list of covered products |
| OVHcloud | HDS option with Business or Enterprise support and the "Healthcare Addendum" | Contradictory sources: the HDS list in the docs (2 June 2026) omits AI Endpoints, AI Deploy and AI Training; the AI Endpoints page mentions healthcare certifications; a public roadmap item (#995) is marked done | Get AI Endpoints coverage confirmed in writing |
| Scaleway | HDS scope: CPU and GPU Instances, Object and Block Storage, Bare Metal, VPC. HDS contract plus Business or Enterprise support | Generative APIs and Managed Inference are not listed | Architecture 1 is possible on GPU Instances |
| 3DS Outscale | States it is HDS certified and SecNumCloud qualified by ANSSI | No version or service scope published | Ask for the certificate and scope |
| Mistral AI, OpenAI, Anthropic (direct APIs) | No HDS certification found | No official statement found | Ask for a certificate; otherwise use architecture 1 or 2 |
Two takeaways. First, "HDS certified" on a cloud provider's page covers a set of services and regions, never the whole catalogue. Second, none of the model providers we checked publishes an HDS certificate for its direct API. If you use a Claude integration or another model for healthcare work, choose the channel (direct API, certified cloud, self-hosted model) before writing the first line of code.
Solutions
The model runs on GPU instances from a host whose certificate covers them (Scaleway explicitly lists GPU Instances in its HDS scope). All data stays inside the certified zone: orchestrator, vector index, history, logs and inference. It is the easiest option to defend legally. The trade-offs: running the GPUs and model updates yourself, and a choice limited to models whose weights are published.
A gateway hosted in the HDS zone replaces names, social security numbers, dates of birth, addresses and record IDs with tokens before the call. The mapping table never leaves the HDS zone, and the model's answer is re-identified on its way back. Two limits: free clinical text carries indirect clues (a rare occupation, a town, an admission date), and pseudonymised data remains personal data, as EDPB Guidelines 01/2025 and the IQVIA fine both show. GDPR, the processing agreement and the transfer analysis still apply.
A managed model service can be used if it falls within the cloud's HDS certificate scope, in an EEA region, with the HDS contract terms signed. At AWS, Bedrock is within scope under the published rule; at Microsoft and Google, coverage of the AI service has to be confirmed. Also check where inference runs: cross-region routing that leaves the EEA would conflict with R.1111-9-1.
In all three cases the agent is designed as a custom AI agent: storage components, logs and the gateway are chosen from this map at the design stage.
CNIL
Pseudonymisation replaces direct identifiers while keeping re-identification possible with information held separately. Anonymisation means re-identification is no longer possible by reasonable means, at which point the data leaves the scope of GDPR. EDPB Guidelines 01/2025, adopted on 16 January 2025 and open for feedback until 14 March 2025, include medical examples; we found no final version as of 15 September 2026.

| Organisation | Fine | Date | Breaches found |
|---|---|---|---|
| Cegedim Santé | €800,000 | September 2024 | Processing health data without authorisation; pseudonymised data the CNIL did not accept as anonymous; software used by about 25,000 medical practices and 500 health centres (per the CNIL announcement as reported by several sources) |
| IQVIA Operations France | €5,000,000 | 26 May 2026 | Two health data warehouses: pseudonymous data re-identifiable by reasonable means; no regular review of access logs; no multi-factor authentication on one warehouse; failures on information and the right to object |
| Hôpital privé de la Loire | €500,000 | Decision of 21 July 2026, published 3 September 2026 | Summer 2025 cyberattack: 524,867 patients and 202,246 trusted contacts affected; no VPN or multi-factor authentication for external users; access not limited to the care team; no detection of suspicious activity; trusted contacts not notified (GDPR article 34) |
What these decisions mean for an AI agent:
To develop or evaluate a model on health data, the CNIL page "IA et santé" of 5 March 2026 points to the prior formalities (reference methodologies MR-001, MR-003, MR-004, or an authorisation) and recommends data minimisation, a DPIA and defined retention periods.
Product regulation
The ANSM's three criteria (page updated 6 January 2026): software is a medical device if it has a medical purpose, produces a result specific to one patient and creates new medical information beyond storing, communicating or simply searching data. A booking agent, an administrative tool or record storage is not a medical device.
Rule 11 of Regulation (EU) 2017/745, in summary: software that provides information used to take diagnostic or treatment decisions is class IIa, IIb if an error could cause serious deterioration or surgery, and III if it could cause death or irreversible harm. MDCG 2019-11 gives the qualification details.
| Agent | Medical device? | AI Act |
|---|---|---|
| Appointment booking, reminders, administrative FAQ | No (ANSM criteria) | Article 50: disclose that it is an AI |
| Administrative triage of incoming documents | No, as long as it creates no new medical information | Article 50 if patients interact with it |
| Symptom-based routing, diagnostic suggestions | Likely: qualification required | High-risk obligations (Annex I) from 2 August 2028 if qualified as a medical device |
Since 2 August 2026, Article 50 requires telling people they are interacting with an AI; only machine-readable marking of generated content (Article 50(2)) has a grace period until 2 December 2026 for systems already on the market. See the AI agent transparency obligation.
Good practice
On 30 October 2025, the HAS (France's national health authority) published "Premières clefs d'usage de l'IA générative en santé" for health, social and medico-social professionals. It uses the A.V.E.C. method: Apprendre (learn), Vérifier (check), Estimer (assess), Communiquer (communicate). Every AI output is treated as a proposal that may contain errors. In an agent, that means human validation before any message with medical content.
From 5 March to 16 April 2026, the HAS and the CNIL ran a public consultation on a draft guide on the proper use of AI systems in care settings (PDF dated February 2026). It has 10 sheets on deployment stages, from purchase to decommissioning, plus 2 on governance and generative AI. As of 15 September 2026 we found no final version.
Budget
| Host | Condition for the HDS option | Published minimum |
|---|---|---|
| OVHcloud | Business support (10% of the bill) and Healthcare Addendum | €250 excl. VAT per month |
| OVHcloud | Enterprise support (30% of the bill) | €5,000 excl. VAT per month |
| Scaleway | HDS contract and Business support (€250 or 10% of spend, whichever is higher) | €250 per month |
| Scaleway | HDS contract and Enterprise support (€990 or 20%) | €990 per month |
| 3DS Outscale | Contact sales | Not published |
This support minimum comes on top of compute, storage, backups and, for architecture 1, GPU instances.
Before production
Decision
| Your situation | Recommended architecture |
|---|---|
| Booking agent that collects no medical reason for the visit | Standard European hosting; HDS once visit reasons are stored |
| Patient chatbot that collects symptoms or medical history | Storage in the HDS zone, and architecture 1 or 3 for the model |
| RAG over patient records or clinical reports | Vector index in the HDS zone; architecture 1 preferred |
| Document summaries with a leading proprietary model | Architecture 2 (pseudonymisation) after legal review, or 3 if the service is covered |
| Organisation already on a certified cloud | Architecture 3 after written confirmation of the AI service scope |
| Agent that suggests a diagnosis or treatment | Medical device qualification before any development |
Getting help
Lumyniq, a Paris-based AI automation agency, builds custom AI agents, Claude integrations and n8n workflows, including for healthcare. Every project starts with an audit of the process and the data involved, which sets the architecture and the hosts before any quote.
FAQ
Related guides
Records, DPIA and model provider contracts.
How AI is used in practices, clinics and health centres.
A comparison of ready-to-use tools.
Prompt injection, access rights and logs.
Links verified at publication. Regulatory texts change — always defer to the official source.
A question, a project, an idea? We respond within 24h. Free audit, no commitment.