AI in healthcare and medical devices

AI systems support diagnostic reporting, triage, therapy planning and administration in hospitals and practices. For manufacturers and users, medical device law, the AI Act, data protection law and professional law meet. This page is aimed at medtech companies, software providers, hospitals, practices and laboratories that develop or use AI.

Software as a medical device

Software is a medical device if the manufacturer intends it for a medical purpose within the meaning of Art. 2 No. 1 of the Medical Device Regulation (EU) 2017/745 (MDR), for example for the diagnosis, monitoring, prediction or treatment of diseases. Regulation (EU) 2017/746 (IVDR) applies to in vitro diagnostic medical devices. The decisive factor is the intended purpose specified by the manufacturer in labelling, instructions for use and advertising. Anyone who markets an AI application as a mere organisational or documentation tool but attributes diagnostic capabilities to it in sales risks a different classification by the authorities.

Classification is governed by Rule 11 of Annex VIII MDR. Software that provides information for diagnostic or therapeutic decisions is at least class IIa, higher in the case of possible serious harm to health. In most cases, a notified body is therefore involved in the conformity assessment.

AI Act: medical devices as high-risk AI under Annex I

The MDR and IVDR are listed in Annex I of the AI Act (EU) 2024/1689. Under Art. 6(1) AI Act, an AI system is a high-risk system if it is itself such a product or its safety component and the product is subject to third-party conformity assessment. This is regularly the case for AI medical devices from class IIa and for IVDs that require a notified body.

Following the Digital Omnibus (Regulation (EU) 2026/1744, in force since 27 July 2026), the high-risk obligations for products under Annex I only apply from 2 August 2028. Manufacturers should use this time, as the requirements are extensive:

  • Risk management system for AI-specific risks (Art. 9 AI Act), integrated into risk management under ISO 14971
  • Data governance: quality, representativeness and bias testing of training, validation and test data (Art. 10 AI Act)
  • Technical documentation and logging (Art. 11, 12 AI Act), which can be combined with the MDR documentation under Art. 8(2) AI Act
  • Transparency and instructions for use for deployers (Art. 13 AI Act), human oversight (Art. 14 AI Act), accuracy, robustness and cybersecurity (Art. 15 AI Act)
  • Quality management system (Art. 17 AI Act), embedded in the QMS under the MDR

Under Art. 43(3) AI Act, the conformity assessment takes place as part of the MDR or IVDR procedure. The notified body must also be designated for the AI requirements. Manufacturers should clarify early on whether their body is seeking this designation.

Practical tip: Hospitals and practices using an AI medical device are deployers within the meaning of Art. 26 AI Act. They must use the system in accordance with the instructions for use, ensure human oversight by competent staff and retain logs. The promotion of employees’ AI literacy under Art. 4 AI Act already applies.

Health data and the GDPR

Health data are special categories of personal data under Art. 9 GDPR. Their processing is generally prohibited and only permitted under an exception, for example for healthcare and treatment (Art. 9(2)(h) GDPR in conjunction with Section 22 Federal Data Protection Act), for reasons of public health (point (i)) or with explicit consent (point (a)). The purpose of treatment generally does not cover training a model with patient data. Consent, research privileges under Art. 9(2)(j) GDPR with Section 27 Federal Data Protection Act or effective anonymisation must be examined here.

A data protection impact assessment under Art. 35 GDPR is regularly required when using AI on health data. Under Art. 25 GDPR, manufacturers should provide privacy-friendly default settings, such as local processing or pseudonymisation before transmission.

European Health Data Space (EHDS)

Regulation (EU) 2025/327 on the European Health Data Space entered into force on 26 March 2025 and essentially applies from 26 March 2027, with key rules on primary and secondary use only becoming applicable from 26 March 2029 and for further data categories from 2031. For AI developers, secondary use is particularly relevant: via health data access bodies, research and development, including the training of algorithms, are to obtain access to health data in a secure processing environment upon application. Manufacturers of electronic health record systems are also subject to their own requirements for interoperability and logging.

Medical confidentiality when using AI services

Anyone who, as a doctor, dentist, psychotherapist or member of another healthcare profession, transmits patient data to an external AI service must observe Section 203 Criminal Code. Under Section 203(3) sentence 2 Criminal Code, disclosure to other persons involved is permitted insofar as this is necessary for their work. Under Section 203(4) sentence 2 No. 1 Criminal Code, the professional secrecy holder must oblige these persons to maintain confidentiality; otherwise they themselves commit a criminal offence.

In practice, this means:

  • Freely accessible chatbots without a contract are unsuitable for patient data.
  • In addition to a data processing agreement under Art. 28 GDPR, the contract with the AI provider requires a confidentiality obligation that also covers subcontractors.
  • The provider may not use inputs to train its own models if there is no legal basis for this.
  • For services outside the EEA, third-country transfers (Art. 44 et seq. GDPR) and the possibility of access by foreign authorities must be examined.
  • Professional rules, such as Section 9 of the Model Professional Code for Physicians and the relevant state professional code, also apply.

Liability when using AI

The treatment contract under Sections 630a et seq. German Civil Code governs treatment errors. The doctor owes the professional standard; the use of an AI system does not shift responsibility to the manufacturer. Anyone who follows an AI recommendation without checking it, or who does not use a common, reliable system, may equally be exposed to liability. The documentation under Section 630f German Civil Code should record which system was used and how the medical decision was reached.

Manufacturers are liable under product liability law. The new Product Liability Directive (EU) 2024/2853 expressly covers software, including AI, as a product and must be transposed by 9 December 2026; the Bundestag adopted the German implementing act on 8 October 2026. It introduces disclosure obligations and eases the burden of proof for injured parties. There is no separate EU AI liability directive; the Commission withdrew the proposal in 2025. More on this under Product liability for software and AI.

AI in everyday hospital life: typical mistakes

SituationRiskRemedy
Doctors use private chatbot accounts for medical lettersBreach of Section 203 Criminal Code and Art. 9 GDPRApproved tools, AI policy, training
In-house forecasting tool for wardsThe hospital becomes the manufacturer of a medical device and possibly a provider under the AI ActReview of in-house manufacture under Art. 5(5) MDR and of the provider role
Update changes the behaviour of an AI systemSubstantial modification, new conformity assessmentPredetermined change control plan, change management
No logs of AI outputsEvidentiary difficulties in liability cases, breach of Art. 26 AI ActDefine logging and retention periods

Practical Legal Examples

Confidentiality with an AI dictation service

A specialist practice wants to create medical letters with an AI dictation service. Disclosure to service providers is permissible under Section 203(3) Criminal Code if it is necessary for their involvement and the service provider is bound to confidentiality. We drafted the contract and data processing agreement and secured processing exclusively within the EU.

Skin screening app as a medical device

A start-up is developing an app that assesses photos of moles. The intended purpose of detecting diseases specified by the manufacturer already makes the software a medical device; under Rule 11 MDR, it is generally to be classified as at least class IIa. We support classification, selection of the notified body and integration of the AI Act requirements.

Research with a hospital’s image data

A university hospital wants to use X-ray images to develop a research model. We examine the legal bases under the GDPR, the state hospital act and the Health Data Use Act and the requirements for pseudonymisation. In addition, an ethics committee opinion is obtained and the cooperation with the industrial partner is regulated contractually.

AI finding adopted without review

A radiologist adopts an inconspicuous AI finding even though the image shows a tumour. He is liable under the principles of medical liability because he failed to meet the specialist standard; the AI does not exonerate him. We examine recourse against the manufacturer and whether the instructions for use adequately pointed out the limitations of the system.

How we support you

  • Delimitation and classification of AI software under the MDR, IVDR and AI Act
  • Setting up regulatory documentation and integrating AI requirements into QMS and risk management
  • Data protection concepts for training and operation, data protection impact assessment, anonymisation
  • Contracts with AI providers, hospitals and research partners, including confidentiality obligations under Section 203 Criminal Code
  • AI policies and training for hospitals and practices
  • Advice on liability issues and product liability

Frequently asked questions

Is all AI software in a hospital a medical device?

No. Software for appointment scheduling, billing or pure documentation without a medical purpose is not a medical device. However, it may fall under other rules, such as the transparency obligations under Art. 50 AI Act or the GDPR.

From when do the AI Act obligations apply to AI medical devices?

Following the Digital Omnibus, the high-risk obligations for products under Annex I apply from 2 August 2028. Obligations such as promoting AI literacy under Art. 4 AI Act already apply.

May a practice create medical letters with an AI service?

Yes, if the service is contractually secured: data processing agreement, confidentiality obligation under Section 203(4) Criminal Code, no training with patient data and a reviewed third-country transfer. The doctor remains responsible for the content.

Who is liable if the AI overlooks a diagnosis?

Towards the patient, the treating doctor is primarily liable under the treatment contract. Recourse against the manufacturer may be possible under product liability and contract law if the system was defective.

Related topics

Do you develop or use AI in healthcare?

We review your product or your use under the MDR, the AI Act and data protection law.

Scroll to Top