By Dimitrios Aineias Spilitios LLB, Senior Associate
Medical devices incorporating artificial intelligence (AI) are redefining the capabilities of healthcare, offering innovative solutions for diagnosis and patient care. However, the use of AI is accompanied by significant privacy and compliance challenges. Beneath the promising outlook of AI-driven transformation lies a complex field of regulatory risks—particularly in the health sector, where cross-border data flows and the principle of purpose limitation create intricate compliance issues.
Regulation (EU) 2025/327 (EHDS) establishes a unified framework for electronic health information across the European Union. It creates HealthData@EU, a cross-border infrastructure designed to facilitate the secondary use of health data (e.g. for research and innovation) within a secure and transparent environment. The EHDS defines health data holders (such as hospitals and health tech companies) and obliges them to share specific datasets when a national authority approves a relevant application. At the same time, it identifies eligible data users who may request access for permissible purposes.
Importantly, among these permissible purposes, the Regulation expressly includes the training, testing, and validation of algorithms, including those embedded in medical devices and AI-powered health systems. This means that a company may lawfully obtain health data through the EHDS to develop its AI model, provided it complies with strict safeguards. EHDS incorporates key protective mechanisms such as patients’ right to opt out, mandatory anonymisation or pseudonymisation prior to data disclosure, publication of secondary-use results within 18 months, and oversight by national competent authorities.
Regulation (EU) 2024/1689 (AI Act) constitutes the first comprehensive regulatory framework on artificial intelligence (AI) worldwide. It adopts a risk-based approach, prohibiting certain AI applications and classifying others as high-risk when they significantly affect essential values such as health and safety. AI used in medical devices generally falls under the high-risk category. Accordingly, AI-enabled medical devices are subject to additional essential requirements both before and after their placement on the market. These include robust risk management, the use of high-quality and unbiased training data, maintenance of detailed technical documentation and logs, transparency obligations towards users, and safeguards for human oversight and cybersecurity. Compliance of high-risk AI systems is assessed through a certification procedure (now mandatorily integrated into the CE marking process for medical devices). Crucially, the manufacturer (provider) must declare in the Declaration of Conformity that the AI system complies with the GDPR; otherwise, the product is not deemed legally compliant. Furthermore, the AI Act extends beyond high-risk systems by imposing horizontal obligations such as training of providers’ personnel on AI-related matters and informing users when they are interacting with an AI system.
The EHDS and the AI Act operate in a complementary manner. The EHDS focuses on the lawful access and use of health data (data governance), while the AI Act governs the safe design and placing on the market of AI systems themselves (product governance). Both frameworks require companies to embed data protection at the very core of their operations, as the principle of privacy by design is central to each.
Compliance with one framework facilitates compliance with the other: lawful access to high-quality datasets through the EHDS supports fulfilment of the AI Act’s requirements for reliable and representative data. Conversely, a violation of the GDPR may now amount to a simultaneous breach of both the EHDS and the AI Act.
Accordingly, health technology companies must adopt an integrated compliance strategy, treating the EHDS and the AI Act as a unified regulatory ecosystem.
Design Priorities for Responsible Medical AI
Manufacturers of medical devices incorporating artificial intelligence are required to adopt a preventive and accountability-based approach from the earliest stages of system design. Prior to developing any AI system, conducting a Data Protection Impact Assessment (DPIA) is a critical tool for identifying and mitigating risks of re-identification, algorithmic bias, or leakage of sensitive health data. Equally essential is ensuring the existence of a valid legal basis, such as explicit and informed consent, for every new use of health data. General or implied consents do not meet the requirements of the regulatory framework, since processing data for the purposes of algorithm training or improvement demands full transparency and specific, informed authorization from data subjects.
It is also essential to exclude patient data from training datasets whenever the legal conditions for their use are not met, whether outside a specific jurisdiction or in the absence of the required security safeguards. At the same time, contractual safeguards in collaborations with technology providers and healthcare organizations play a pivotal role. Such agreements must clearly define how the data will be used, whether they will serve AI model training purposes, who will have access rights, as well as the retention period and data deletion procedures.
Finally, maintaining an up-to-date record of processing activities, in accordance with Article 30 of the GDPR, constitutes a cornerstone of sound data governance. The systematic documentation of health data flows, particularly those involving cross-border transfers, and of the corresponding legal basis for each transfer enhances transparency, demonstrates compliance, and serves as a strategic asset in an environment of increasing regulatory scrutiny.

