Skip to content

Law and data protection

Pseudonymising patient data before you use AI

Last updated 10 min readcreated with AI

A guide by sicherAI. We offer an AI service for Heilpraktiker practices. How we write these guides

Deutsche Fassung

In short

Before you paste text into an AI tool, replace names and contact details with neutral placeholders, delete numbers such as the patient number, and remove or generalise details such as age, job, place and exact dates. For your practice, the edited text is still personal data, so you need a legal basis and an exception under Article 9 GDPR for data concerning health. Your duty of confidentiality continues to apply, and if the provider processes the data on your behalf, you also need a data processing agreement. If a task needs no details about a particular patient, a template with placeholders is enough.

Contents

What does pseudonymising mean for a Heilpraktiker practice?

Pseudonymising means editing personal data so that they can no longer be attributed to a particular person without additional information kept separately and protected (Article 4(5) of the General Data Protection Regulation, GDPR). Deleting a name, often called ‘anonymising’, does not by itself make information anonymous: it is anonymous only if the person is no longer identifiable with the means reasonably likely to be used (Recital 26 GDPR).

Heilpraktiker are non-medical practitioners licensed under the German Heilpraktikergesetz. Some hold a licence limited to the field of psychotherapy. Your practice can link an edited text back to the patient, so for you it remains personal data (Recital 26 GDPR), and health details remain data concerning health (Article 4(15) GDPR).

Pseudonymised patient data therefore remain subject to the conditions for patient data in AI tools. They include a legal basis, an exception under Article 9(2) GDPR, a data processing agreement under Article 28(3) GDPR with a provider that processes the data on your behalf and, where needed, a release from the duty of confidentiality. According to the Bund Deutscher Heilpraktiker, members of the six large Heilpraktiker associations accept a joint professional code, the Berufsordnung für Heilpraktiker (BOH). Its Article 3(4) allows confidential patient data to be passed on only with such a release.

Is the text still personal data for the AI provider?

As of 24 November 2026, whether pseudonymised text is personal data for an AI provider depends on the provider’s role and on whether it can identify the person. In case C-413/23 P, decided on 4 September 2025, the Court of Justice of the European Union held that pseudonymised data are not necessarily personal data “in all cases and for every person” (paragraph 86). The case concerned the rules for EU bodies, whose concept of personal data the Court interprets in line with the GDPR (paragraph 52). For a recipient, the data can be non-personal only if the recipient can neither lift the pseudonymisation nor identify the person by other means, such as cross-checking (paragraph 77).

For a provider that processes the text on your behalf, the European Data Protection Board (EDPB) applies your practice’s perspective: information that is personal data for the controller “should also be considered personal data for the processing entity”, which should be treated as a processor with a processor’s obligations (Guidelines 02/2026 on anonymisation, paragraph 15). The EDPB adopted these guidelines on 7 July 2026 as a version for public consultation. On this view, a data processing agreement under Article 28(3) GDPR remains necessary even if such a provider cannot tell who the patient is.

When is a template without patient details enough?

A template is enough whenever the AI tool needs to know nothing about a particular patient: use placeholders such as [Name] and add the real details afterwards in your own software. This reflects data minimisation: personal data must be “limited to what is necessary” (Article 5(1)(c) GDPR), and by default only data needed for each purpose are to be processed (Article 25(2)).

  1. If the task needs no details about a particular patient, use a template.
  2. If it needs such details and the conditions for patient data in AI tools are met, pseudonymise them first.
  3. Otherwise, do the task without AI.

Is it enough to remove the name?

Usually not. Age, job and part of town each fit many people, but together they may fit only one patient. Article 4(1) GDPR covers identification “directly or indirectly”. According to the German data protection authorities (DSK), removing names and addresses is, as a rule, not enough, because the context may reveal who is meant (guidance of 6 May 2024, paragraph 49).

Fictional example: A Heilpraktiker in a market town drafts a prompt: “Reply to my patient, the baker from the market square who plays in the town band. He complained about the waiting time.” Anyone in town would recognise him. She sends a template instead: “Write a polite reply to a patient who complained about the waiting time.”

The EDPB calls such details quasi-identifiers. Its prime examples are age, gender, languages spoken, marital or family status, profession and income (Guidelines 01/2025 on pseudonymisation, paragraph 101). The EDPB adopted these guidelines on 16 January 2025 as a version for public consultation; as of 24 November 2026, its page lists no other version.

Even the sending organisation and the time of an input can link it to a person (DSK guidance, paragraph 51), as can public posts on social media (EDPB Guidelines 01/2025, paragraph 21).

A case vignette for supervision without a name is still personal data for you if you can link it to the client (Recital 26 GDPR; C-413/23 P, paragraph 76). It belongs in an AI tool only if the conditions for patient data in AI tools are met and the client has expressly released you from your duty of confidentiality. Otherwise, shorten it yourself.

How do you pick placeholders that reveal nothing?

Use neutral placeholders such as [Patient] or [Date]. Never build a code from initials, a date of birth or a patient number: anyone who knows these details can rebuild the code and find the text (EDPB Guidelines 01/2025, paragraph 88).

Keep a placeholder the same within one text. Across tasks, do not reuse a code for the same person: chats that can be linked may identify a person where a single chat cannot (paragraphs 95 and 121).

Fictional example: A Heilpraktiker in Freiburg uses an AI tool to draft several letters about one patient’s payment by instalments. In each new chat she writes [Patient], never a fixed code or the patient number, which anyone with access to her practice software could look up. Amounts and due dates stay placeholders until the letter is back in that software.

DetailExamplesWhat to do
Names and contact detailsname, address, phone, emailReplace with [Patient] or [Address]
Numberspatient, invoice or insurance number, bank detailsRemove, never use as a code (paragraph 98); write [Number] if needed
Datesdate of birth, date of a visitGeneralise (‘mid-forties’, ‘last spring’) or write [Date]
Job and placeprofession, employer, part of townGeneralise (‘works in retail’) or remove (paragraph 102)
Other peoplepartner, children, colleaguesRemove or use a role (‘a relative’)
Rare detailsan office in a club, a local news storyRemove

Can you paste emails or letters into an AI tool?

Not as they are: leave a patient’s email out of the AI tool, extracts included, and from other letters type in only the passage you need. Personal details often sit outside that passage: in signatures, older messages, letterheads, subject lines, file names and images. The EDPB Guidelines 01/2025 call for a look at all parts of the data, not only where the placeholders are (paragraph 7).

From an insurer’s letter about an invoice, type in only the paragraph you need explained, without letterhead, reference numbers, names or dates (Article 5(1)(c) GDPR). If that paragraph can still be linked to a patient, the conditions for patient data in AI tools apply. Describe screenshots in words instead of uploading them.

Often you need no such list: if you insert the real details in your own software once the draft is ready, there is nothing to look up. The EDPB Guidelines 01/2025 advise passing on pseudonyms only where they are needed, such as for matching results to a person (paragraph 71). That is the case when one prompt drafts different letters for [Patient A] and [Patient B].

Where you do need a list, it is the additional information under Article 4(5) GDPR. Keep it out of the AI tool – out of the chat, earlier messages, uploads and any memory function – and store it where only authorised people in the practice can open it (Recital 29 GDPR; EDPB Guidelines 01/2025, paragraphs 20 and 86).

What should you check before and after sending a prompt?

Send a prompt with details about a particular patient only when nothing in it or its attachments reveals who the patient is and the conditions for patient data in AI tools are met. Afterwards, check the answer.

  • The task needs details about a particular person; otherwise, use a template.
  • Names, contact details, dates of birth and numbers are replaced or removed, including in signatures, letterheads, file names and images.
  • Age, job, place, relatives and rare events are removed or generalised.
  • Patient emails are described in your own words, never pasted.
  • No list linking placeholders to people is in the chat, an upload or a memory function.
  • For text you can link to a patient, the conditions for patient data in AI tools are met.
  • You have checked the answer critically (DSK guidance, paragraph 64): placeholders unchanged, nothing added; real details go in afterwards, in your own software.

Frequently asked questions

Can the AI tool remove the names for me?

Not before the names have reached the provider: if you paste the full text so that the tool can remove them, the names have already been disclosed, and disclosure by transmission is itself processing (Article 4(2) GDPR). Remove or replace the details yourself before anything goes into the tool, and describe a patient’s email in your own words instead of pasting it.

Does the GDPR require a practice to pseudonymise?

Not in general: according to the EDPB, the GDPR “does not impose a general obligation to use pseudonymisation”, and whether a controller needs it depends on the processing and its risks (Guidelines 01/2025, executive summary, page 3). The GDPR names pseudonymisation as an example of a measure for data minimisation (Article 25(1)) and as a security measure (Article 32(1)(a)), without ruling out other measures (Recital 28). Data minimisation under Article 5(1)(c) GDPR applies in any case.

Can an AI answer contain personal data if the prompt contains none?

Yes. The German data protection authorities point out that an AI application can produce output with personal data even when the input contains none, and that a legal basis may then be required (DSK guidance of 6 May 2024, paragraph 52). Check every answer before you use it, especially when it names or describes a person.

Should you delete chats that contain pseudonymised text?

Yes: the EDPB recommends deleting copies of data as soon as they are no longer needed (Guidelines 01/2025, paragraph 112). Many prompt-based services offer to store inputs as a history. Especially where several staff members share such a service, the German data protection authorities state that this must be communicated openly and that each user must be able to decide whether their own history is stored (DSK guidance, paragraph 25).

Sources

  1. Publications Office of the European Union (EUR-Lex): Regulation (EU) 2016/679 (General Data Protection Regulation), Official Journal L 119 of 4 May 2016 (eur-lex.europa.eu), accessed
  2. Court of Justice of the European Union (EUR-Lex): Judgment of the Court (First Chamber) of 4 September 2025, EDPS v SRB, Case C-413/23 P (eur-lex.europa.eu), accessed
  3. European Data Protection Board (EDPB): Guidelines 01/2025 on Pseudonymisation, adopted on 16 January 2025, version for public consultation (www.edpb.europa.eu), accessed
  4. European Data Protection Board (EDPB): Guidelines 01/2025 on Pseudonymisation (document page) (www.edpb.europa.eu), accessed
  5. European Data Protection Board (EDPB): Guidelines 02/2026 on Anonymisation, version 1.0, adopted on 7 July 2026, version for public consultation (www.edpb.europa.eu), accessed
  6. Datenschutzkonferenz (DSK), the conference of the independent German data protection authorities: Orientierungshilfe Künstliche Intelligenz und Datenschutz, Version 1.0, 6 May 2024 (www.datenschutzkonferenz-online.de), accessed
  7. Federal Ministry of Justice and Consumer Protection and Federal Office of Justice (gesetze-im-internet.de): Gesetz über die berufsmäßige Ausübung der Heilkunde ohne Bestallung (Heilpraktikergesetz), § 1 (www.gesetze-im-internet.de), accessed
  8. City of Munich (Landeshauptstadt München): Heilpraktiker licence in the field of psychotherapy (stadt.muenchen.de), accessed
  9. Heilpraktiker associations, published by Bund Deutscher Heilpraktiker e.V.: Berufsordnung für Heilpraktiker (BOH) (www.bdh-online.de), accessed
  10. Bund Deutscher Heilpraktiker e.V.: Berufsordnung für Heilpraktiker: Reine Selbstverpflichtung (www.bdh-online.de), accessed

About this guide

Publisher
sicherAI (see imprint)
Our interest
We offer an AI service for Heilpraktiker practices and use models from several makers, including some named in our guides. The guide contains no rankings. Statements about other providers rest on the sources listed.
How it was made
This article was created with AI.
Sources as of
Legal position as of
Limits
This guide provides general information. It is not legal advice for your individual case.
Report an error
Contact us using the details in our imprint.