All articles

Local AI or certified health data hosting for therapy notes?

Whisper and AI on your own computer, or an HDS-certified service? What L1111-8 and the GDPR say, what local AI does not solve, and a checklist for each option.

Countries covered : France

Local AI means a transcription model (such as Whisper) or a writing model (a language model run with a tool such as Ollama) that runs on your own computer: the audio and the text never leave the machine. HDS hosting is the opposite: your notes are processed and stored by a provider holding the certificate required by article L1111-8 of the French Public Health Code.

What the law says, text by text

Article L1111-8: who must be certified

The first paragraph of article L1111-8 of the Public Health Code (in force since 1 July 2025) says, in our translation: "Any person who hosts personal health data collected during prevention, diagnosis, care or social and medico-social follow-up, on behalf of the natural or legal persons who produced or collected that data or on behalf of the patient themselves, carries out this hosting under the conditions set out in this article." Section II adds that the host of such data in digital form "holds a certificate of conformity".

The key words are "on behalf of". The obligation falls on the host, not on the psychologist keeping their own files. The French digital health agency (ANS) says the same in its FAQ on scope: the obligation concerns hosting services, and each party must assess "case by case" what it entrusts to a third party. Our reading: a model running on your computer, with nothing sent anywhere, does not make you a host. Our page on HDS-certified hosting covers the rest of the certification.

The GDPR: sensitive data and security

Your notes are "data concerning health" under GDPR article 9, whose processing is prohibited unless an exception applies. The relevant one is point (h) of paragraph 2: health or social care, subject to the safeguards in paragraph 3.

Article 32 then applies to both options. It requires measures "to ensure a level of security appropriate to the risk", including "the pseudonymisation and encryption of personal data" and "the ability to restore the availability and access to personal data in a timely manner in the event of a physical or technical incident". Locally, you put those measures in place. With a hosted service, article 28 requires you to use a processor "providing sufficient guarantees" and to govern the relationship by a contract.

What the CNIL recommends

The security guide of the CNIL, the French data protection authority (sheets published on 14 March 2024), sets out the basics for a computer holding sensitive data: automatic session locking and security updates applied as soon as possible, encryption of laptops and removable media, frequent backups, at least one kept at a separate site, with restore tests. If you choose local AI, they become your specification.

The two options in practice

Option A: AI on your own computer

Whisper is a speech recognition model published by OpenAI. Its official model card describes it as a model for "automatic speech recognition", released under the Apache 2.0 licence: you can download it and run it yourself. For writing, tools such as Ollama let you run open language models on your machine. According to its website, these open models can run "locally or in the cloud", so "local" depends on the setting you choose, not on the tool's name.

You need a reasonably powerful computer and two steps: audio becomes a raw transcript, then a second model turns it into a note. What you get is a text file on your disk.

Option B: a service hosted by an HDS-certified provider

The audio or your dictation goes to the vendor's servers, where transcription and writing happen. Notes are stored with a certified host and reachable from any device.

Side by side, criterion by criterion

  • Where the data goes: local, nowhere, as long as you add no online backup or remote service; hosted, to the vendor and its certified host.
  • HDS certification: local, not required for your own computer, on our reading of L1111-8; hosted, mandatory for the host.
  • Who handles security: local, you alone (computer, accounts, network); hosted, shared, the vendor for its servers, you for your logins.
  • Backups: local, yours to organise, encrypt and test; hosted, handled by the host (check that the backup activity appears on its certificate).
  • Invented sentences: a risk in both cases, so review is needed. Whisper's own model card flags it.
  • Clinical writing: local, a general model and your own instructions; hosted, report templates often built per profession and approach.
  • Processing time: local, depends on your processor and graphics card, and the computer is busy meanwhile; hosted, depends on the service and your connection.
  • Several devices: local, one computer unless you copy files around (with the risks that brings); hosted, computer, tablet and phone.
  • Patient record: local, files you sort yourself; hosted, depending on the tool, one record per patient with the history of care.
  • Skills needed: local, comfortable installing software and changing settings; hosted, nothing technical, but a careful read of the contract.
  • Cost: local, free models, but hardware and your time; hosted, a subscription.

What local AI does not solve

The computer, theft and loss. A computer shared with the family or never updated exposes your notes as much as a badly chosen service. A stolen laptop with an unencrypted disk gives access to everything. Encrypted, it gives nothing away, but your notes are gone if you have no backup.

Backups. This is the most common trap. If your notes folder syncs by default with a consumer cloud, your health data is stored by a third party for you. On our reading, that is exactly the situation L1111-8 covers, and that provider is usually not HDS-certified. The CNIL also advises against using cloud services installed by default as a backup without first analysing their terms.

Quality. Whisper's official model card warns that its output may include "texts that are not actually spoken in the audio input" (hallucination). A local writing model can also add or distort. Our page on automatic session transcription shows how to spot these errors.

The record. You get a text, not a course of care. Linking sessions, tracking goals and finding what was said three months ago is still up to you.

What a hosted service must prove

  • The HDS certificate: the name of the actual host, on the official ANS list. The list shows the activities covered, from 1 (physical sites) to 6 (health data backup). A host may be certified for only some of them.
  • Location: the country of the storage servers and the country where the AI runs, which may differ.
  • Subprocessors: the list, including the AI model provider, and their countries.
  • No training: a written commitment that your sessions are not used to train any model, by the vendor or its suppliers.
  • What happens to the audio: whether it is kept, for how long and where; ideally, it is not kept at all.
  • Pseudonymisation: whether names and identifying details are removed before the AI step.
  • Encryption: in transit and at rest.
  • The contract: a data processing agreement meeting GDPR article 28, and a way to export your notes if you leave.

Checklist if you choose local AI

  • A computer used only for the practice, with your own login and no everyday admin rights.
  • Disk encryption switched on (FileVault on Mac, BitLocker on Windows), with the recovery key kept off the computer.
  • Automatic session lock after a short idle time.
  • Security updates installed as soon as they are released.
  • Tool settings checked: local mode on, no online service key, no analytics sending text.
  • The notes folder excluded from any consumer cloud sync.
  • An encrypted backup on removable media, kept outside the practice, and a restore tested regularly.
  • Audio files deleted once the transcript has been checked.
  • Every note reviewed before filing.
  • A short written sheet describing these measures, to show if asked.

Checklist if you choose a hosted service

  • The points in the previous section obtained in writing and kept: host and activities on the ANS list, location, subprocessors, no training, what happens to the audio.
  • The data processing agreement signed or accepted.
  • A strong, unique password, and two-factor authentication if offered.
  • Patients informed, as section I of L1111-8 requires: hosting takes place after the person receiving care has been duly informed.

Fictional example: two psychologists, two choices

Claire (fictional) works alone, always in the same office, on a recent desktop computer whose settings she knows well. She installs Whisper locally, encrypts her disk, turns off cloud sync for her notes folder and backs up weekly to an encrypted drive she keeps at home. She reviews everything. Limits she accepts: no access to her notes outside the office, writing she structures herself, and time each month for updates and restore tests.

Marc (fictional) splits his time between two practices and works on a laptop and a tablet. He picks a hosted service, checks the host on the ANS list, asks for the subprocessor list, reads the training clause and signs the contract. His one remaining security task: protecting his logins.

Neither is wrong. Claire chose control, Marc chose mobility. The mistake would be Claire without encryption or backups, or Marc without checks.

Common mistakes

  • Thinking "local" means "compliant": local avoids third-party hosting, it does not replace article 32.
  • The mixed setup: transcribing locally with Whisper, then pasting the transcript into an online model to write the note. The sensitive part, the session content, still goes to a third party.
  • Cloud mode on without knowing it: several so-called local tools also offer an online mode. Check which one is active.
  • Pasting notes into a consumer chatbot: it is neither local nor HDS-hosted. See what you can give ChatGPT and whether AI trains on your notes.
  • Thinking removing the name is enough: age, job or a life event often make someone recognisable.

Why Delta fits this case

Delta is the hosted option built for clinicians who do not want to become the administrators of their own computer: data hosted in France by an HDS-certified provider, AI processing in France, patient names and identifying details pseudonymised before the AI step, no audio file kept, data never used to train a model, encrypted in transit and at rest (details on the security page). Beyond transcription, Delta writes the session report in line with your approach, keeps each patient's record up to date and works on computer, tablet and phone; see also our clinical document templates and our guide to choosing psychologist practice software.

If I run Whisper on my own computer, do I need an HDS host?

On our reading, no, as long as the notes and audio stay on your computer and nothing is sent or synced elsewhere: article L1111-8 targets whoever hosts data on behalf of someone else. The GDPR still applies, including the duty to secure your computer (encryption, backups, updates).

I transcribe locally, then have ChatGPT or Claude write the note. Is that still local?

No. The transcription is local, but the session text goes to a third party at the writing step, and it is the most information-rich part. To stay local, both steps must run on your machine. Otherwise, use a service built for health data, with certified hosting and a contract.

My local notes sync with iCloud, OneDrive or Google Drive. Is that a problem?

Yes, in our view. The sync provider then stores your health data for you, which on our reading is the situation L1111-8 covers, usually without an HDS certificate. Exclude the notes folder from sync and make an encrypted backup on media you keep.

What computer do I need to run local AI for session notes?

It depends on the size of the models: the more accurate ones need more memory and often a good graphics card or a recent chip. Read the tool's documentation, then test on a fictional session you dictate yourself before any real use, timing it and reviewing the output.

Does an HDS-certified service make me GDPR compliant?

Not on its own. The certificate covers hosting, not necessarily the AI provider or the vendor's practices. You remain the controller: choosing a processor with sufficient guarantees (article 28), signing the agreement, informing your patients and protecting your own logins.

Do I need to tell my patients I use AI for my notes?

For a hosted service, article L1111-8 states that hosting takes place after the person receiving care has been duly informed. With local AI, we also advise telling patients whenever a session goes through transcription, and letting them say no.

Sources

Cookie policy