KI Praxis Tools

AI documentation in the Swiss medical practice: revDSG, medical secrecy and data flow

A Swiss practice may use AI for documentation. With a local model nothing leaves the practice computer, and consent to the recording is enough. If the transcript text goes to an AI provider in the EU, the practice also needs the patient's documented consent and a processing contract that expressly covers professional secrecy.

An abstract cross inside a framed practice field, a solid line leading out and a dashed path to a check mark
Redaktion KiPT Voice, J Medical GmbH

Reviewed editorially against the cited primary sources; not individual medical or legal advice.

Two routes: a local model or an AI provider in the EU

AI documentation produces three kinds of data: the audio recording, the transcript and the draft note. Under Swiss law what matters is whether any of it leaves the practice.

If the language model runs locally, everything stays on the practice computer. If only the transcript text goes to an AI provider in the EU, professional secrecy and the rules on apply as well.

Local model and EU provider compared As of: 25 September 2026
QuestionLocal modelAI provider in the EU
Recording the conversationConsent under Art. 179ter StGBConsent under Art. 179ter StGB
Does text leave the practice?NoYes, only the transcript text
Professional secrecy (Art. 321 StGB)Not engaged, nothing is disclosedObtain consent
Disclosure abroadNonePermitted, the EU is listed in Annex 1 DSV
Contract with the providerNot neededProcessing contract under Art. 9 DSG

Read in the Federal Classified Compilation (Fedlex).

Legal texts read (5)
  1. Art. 179ter StGB (SR 311.0)
  2. Art. 9 DSG (SR 235.1)
  3. Art. 321 StGB (SR 311.0)
  4. Anhang 1 DSV (SR 235.11)
  5. Art. 16 DSG (SR 235.1)

Medical secrecy: auxiliary person or consent

Art. 321 StGB punishes physicians and their who disclose a secret entrusted to them. Disclosure with the patient's consent is not punishable. The article contains no rule on outsourcing to IT providers.

The Federal Council's on the revised Data Protection Act states that a processor who counts as an auxiliary person needs no additional consent. The Federal Supreme Court accepted a law firm's external storage provider as an auxiliary person (2C_1083/2017). The Zurich health directorate, by contrast, treats software providers as third parties in its guidance and asks for consent before treatment.

What the Data Protection Act requires

Health data is . Four articles of the DSG decide the route through an AI provider.

  • Art. 9 DSG: processing may be delegated unless a secrecy duty forbids it. The practice checks the provider's data security; sub-processors need its prior approval.
  • Art. 16 DSG: disclosure abroad is permitted if the Federal Council lists the state as adequate. EU states are in Annex 1 DSV.
  • Art. 19 DSG: patients learn who receives the data and in which state.
  • Art. 22 DSG: extensive processing of sensitive data with new technology requires a data protection impact assessment.

Cantons: no outsourcing rule of their own

The cantonal health laws restate the duty of confidentiality but do not regulate outsourcing to IT providers or prescribe where data must be stored. Cantonal data protection laws cover public bodies; private practices fall under the federal DSG.

Confidentiality in six German-speaking cantons As of: 25 September 2026
CantonProvisionOutsourcing to IT providersData location
Zurich§ 15 GesG: auxiliary persons bound, consent releasesNo rule in the law; the health directorate's guidance asks for consentNo requirement
BernArt. 27 GesG: silence towards third personsNo ruleNo requirement
Aargau§§ 19 and 21 GesG: auxiliary persons bound, consent releasesNo ruleNo requirement
St. GallenOrdinance 312.0, Art. 14 to 19No ruleNo requirement
Basel-Stadt§§ 26 and 27 GesG: auxiliary persons boundNo ruleNo requirement
Lucerne§§ 22 to 26 GesGNo ruleNo requirement

Read in the cantonal law collections; implementing ordinances only for St. Gallen.

Legal texts read (6)
  1. Kanton Zürich, Gesundheitsgesetz (810.1)
  2. Kanton Bern, Gesundheitsgesetz (BSG 811.01)
  3. Kanton Aargau, Gesundheitsgesetz (SAR 301.100)
  4. Kanton St. Gallen, Verordnung (sGS 312.0)
  5. Kanton Basel-Stadt, Gesundheitsgesetz (SG 300.100)
  6. Kanton Luzern, Gesundheitsgesetz (SRL 800)

How a practice sets up the route through an EU provider

These steps document the route through an AI provider in the EU cleanly. A practice that does not want it chooses the local model and needs only the first step.

  1. Obtain consentBefore recording and documented: the recording under Art. 179ter StGB and the transcript going to the named EU provider.
  2. Sign a contractProcessing under Art. 9 DSG with a professional-secrecy clause, no training on the data and no retention.
  3. Check sub-processorsA closed list, prior approval and no liability limited to gross negligence.
  4. Inform patientsName the recipient and the state (Art. 19 DSG) and let patients refuse without disadvantage.
  5. Record the impact assessmentA short data protection impact assessment under Art. 22 DSG and an entry in the record of processing.

Frequently asked questions

May a Swiss practice send transcripts to an AI provider in the EU?

Yes, if the patient consented beforehand and a processing contract covers professional secrecy. The transfer to the EU itself is permitted under Art. 16 DSG because EU states are listed in Annex 1 DSV.

Does AI documentation breach medical secrecy under Art. 321 StGB?

Not with a local model, because nothing is disclosed. For an external provider it is disputed whether it counts as an auxiliary person. With the patient's consent the disclosure is not punishable.

Does consent have to be in writing?

The law prescribes no form. According to the Federal Supreme Court it must be prior, informed and voluntary (2C_37/2018). Written consent, or consent logged in the system, makes it provable.

May I record the conversation with patients?

Only with the consent of everyone taking part. Art. 179ter StGB also punishes participants who record a non-public conversation without the others' consent.

Read on