Authored By: Brunilda Aliaj
Introduction
In Prismall v Google UK Ltd, the Court of Appeal considered litigation arising from the transfer by the Royal Free London NHS Foundation Trust of patient identifiable medical records in relation to 1.6 million individuals to Google DeepMind in connection with the development of Streams, a clinical application made to identify acute kidney injury. This debate highlights a key problem in modern healthcare, which is, information that comes about within confidential clinical settings has become a resource for developing data intensive artificial intelligence (‘AI’).
The United Kingdom provides significant legal protection for such sensitive information. Health related information have an enhanced protection as special-category data under the UK General Data Protection (‘UK GDPR’), while the Data Protection Act 2018 (‘DPA 2018’) common law confidentiality and the NHS specific governance impose additional safeguards. AI however makes this structure more difficult to impose. Machine-learning developments tend to lean towards large and representative datasets, while data-protection sections require purpose of limitation and data minimisation. Furthermore, data originally collected for treatment may then be used for research, model development and commercial innovation without gaining explicit consent in every case.
This article argues that the UK framework provides substantial but incomplete protection. Strengths of the framework lies in layered, preventative regulation of identifiable health data through heightened lawfulness requirements, accountability, confidentiality and risk-management obligations. On the hand, weakness of the framework lies in the transition from data protection to AI lifecycle governance; research flexibility, uncertain anonymization boundaries, limited individual control and potentially ambiguous status and downstream reuse of trained models progressively weaken protection. This article first examines the governing legal framework, before applying it to AI development and evaluating whether reform should move towards continuous, accountability based on the model of the AI.
The Legal Framework Governing Health Data and AI Training
2.1 Layered Protection under UK GDPR and DPA 2018
Article 9(1) UK GDPR prohibits the processing of ‘data concerning health, alongside genetic and biometric data’, unless an Article 9(2) condition applies. This operates alongside Article 6: identifiable health-data processing therefore requires both a regular lawful basis and a special category of condition. The framework is significant because health information is not treated as ordinary personal data.
Nevertheless, heightened regulation should not be mixed with a requirement for patient consent. Article 6 allows several lawful bases, while Article 9 allows for processing beyond explicit consent, including specified healthcare, public health and scientific research purposes. The DPA 2018 supplements these provisions through Schedule 1 conditions and safeguards. This shows that the framework offers strong regulatory protection, but less absolute patient control. This distinction is important when examining the legal framework: processing may satisfy the law not withstanding than an individual patient never specifically agreed that their health record should contribute to AI development.
The general principles in Article 5 provide further constraints. Data must be processed lawfully, fairly and transparently, collected for specified and legitimate purposes, limited to what is necessary, retained appropiately and secured against unauthorized processed. Article 5(2) adds accountability, requiring controllers not only to comply but to also demonstrate compliance. These principles are particularly important in AI development because responsibility may be distributed between NHS organizations, universities, technology developers and processors of AI.
The hardest challenge is the purpose limitation. Information collected to diagnose or treat a patient may later possess substantial value for training an algorithm. The post-2025 UK GDPR framework specifically accommodates scientific research and further processing, including technological development capable of qualifying as scientific research. However, compatibility does not itself establish lawfulness, Article 5(3) confirms that processing is not lawful merely because further processing is compatible with the original purpose. This layered approach is doctrinally strong but it also shows the framework’s compromise. It regulates secondary use rather than preventing it.
Muhlhoff and Ruschemeier argue that the purpose limitation should be understood as protecting not only individual interests but also transparency and fairness. In the medical field, the concern is quite notably. A patient can reasonably understand why a hospital stores their information for treatment without knowing that the same record could later contribute to an AI model capable of being transferred or commercialized. Yet absolute purpose identity would create the opposite difficulty: medical research cannot always predict valuable future applications when data is collected. The legal challenge is therefore not eliminating flexibility, but preventing flexibility from becoming purpose creep.
2.2 Confidentiality as an Additional Safeguard
Data protection is only part of patient protection. In YSL v Surrey and Borders Partnership NHS Foundation Trust, the High Court reaffirmed that ‘the common law imposes a duty of confidentiality on medical professionals in respect of patients records’, drawing upon authorities including Hunter v Mann and W v Egdell’. Compliance with the UK GDPR therefore does not necessarily exhaust legal inquiry.
This dual structure is valuable. A way of identifying an Article 6 basis and Article 9 condition may nevertheless need separate justification for disclosing confidential patient information. Where obtaining consent is not impracticable, section 251 of the National Health Service Act 2006 provides a mechanism through which the common-law duty can be set aside for specified medical purposes subject to safeguards.
However, layering can generate fragmentation. Conventional confidentiality developed around relationships between patients and healthcare professionals. AI development may involve hospitals, Trusted Research Environments (‘TREs’), researchers, cloud infrastructure and private technology companies. The presence of multiple regimes, therefore, increases substantive protection while simultaneously making responsibility harder to locate.
Applying the Framework to AI Development and Training
3.1 Secondary Use, Consent and the DeepMind Problem
Prismall demonstrates these particularly clearly. The transferred Royal Free records included patient identifiable electronic healthcare information, potentially encompassing tests, X-rays, results and clinicians’ free-text notes. The Court recorded that patients had not been aware of the transfer when it occurred and their consent had not been sought; nor had the Royal Free used the section 251 mechanism. More importantly however, absence of consent does not establish that every secondary use of health information is unlawful. The more significant lesson is that formal safeguards only protect patients where originations identify and operationalize them.
The facts also expose the clear boundary between care and technological development. The Information Commissioner’s Office had concluded that processing undertaken for clinical safety testing ‘did not fully comply with the DPA 1998’ and was not processing for direct care. Meanwhile, the contractual arrangements contemplated purposes wider than immediate patient care and the development of capabilties with future commmerical value. Medical AI can therefore simultaneously purse clincial benefit, scientific research and commercial development. Treating healthcare innovation as automatically equivalent to direct care would obscure precisely the purpose-limitation question that data-protection law is intended to confront.
There is also an enforcement problem. The Court of Appeal ultimately dismissed the representative claim in Prismall, emphasizing the claimant-specific requirements of misuse of private information. That result should not be mistaken for judicial approval of the underlying data-sharing arrangement. Rather, it reveals a distinction between legal protection and practical remedies. Regulatory intervention can identify problematic processing while affected patients may still face substantial obstacles in obtaining collective private law remedies.
3.2 Anonymization, Synthetic Data and the Limits of Identifiability
Anonymization offers an interesting solution because genuinely anonymous information falls outside conventional personal-data regulation. Yet pseudoanymisation is not equal to annoymisation. The Goldcare Review warned that pseudonymisation alone is insufficient records for very large and detailed health datasets because apparently deidentified records may remain vulnerable to re-idenitfication. Kerasidou and other similarly emphasize that pseudonymised information can become identifiable when combined with additional information.
Many scholars demonstrate why personal distinction is increasingly difficult to apply to AI. Vallevik and others’ empirical analysis of synthetic health data concluded that identification should be impossible; the legal question is whether it is reasonably likely having regard to available means. Their findings indicate that appropriately generated synthetic datasets may in some circumstances be effectively anonymous because successful attacks cannot be verified. This is significant because synthetic data can pervse statistical patterns required for AI development while reducing exposure of original patient records.
Despite this, ‘synthetic’ should not become a regulatory label presumed to guarantee safety. The authors themselves stress that classification depends upon identifiability. Peng and Chen similarly argue that anonymization should be treated as a demonstrable outcome, rather than simply the removal of obvious identifiers, because modern linkage and inference techniques can recreate privacy risks. This suggests that the UK framework’s risk-based approach is conceptually defensible but practically incomplete: the law supplies the ’reasonable likely’ standard, yet rapidly changing computational capabilities make its application unstable.
The stronger response is therefore dynamic anonymization assurance. Individuals or companies using health data for AI should document re-identification testing and reassess it after material changes to datasets, model framework or external data availability. This would change accountability from a one-off declaration that information is anonymous into a continuous, verifiable process.
The Protection Gap: From Training Data to Trained Models
The greatest weakness in the existing framework emerges after training. Kerasidou and others explain that information about training data or ownership of the training set can sometimes be reconstructed from machine-learning models and observe that it remains debatable whether a model itself contains personal data. The problem is structural. Data-protection legislation regulates that processing of personal data exceptionally closely, yet AI converts those data into model weights, parameters and predictive capabilities whose legal status may be less certain.
TREs demonstrate both the strengths and limitations of the current approach. They restrict researchers’ access to row-level information and screen outputs before release, operationalizing principles of minimization and security. The Goldcare Review accordingly proposed a model in which researchers ’come to the data’ rather than copies of sensitive datasets being widely distrubted. But conventional output checking was designed principally for tables and statistical risks harder to identify through traditional manual checking and that TREs are consequently ’not a magic bullet’.
This problem continues after export. A model may move between applications, be fine-tuned against additional datasets or be commercialized in contexts not contemplated during its orginial development. Muhloff and Ruschemeier identify this as a regulatory loophole because data-protection regimes concentrate heavily upon the training-data stage. Their proposed response, extending purpose limitation to the model itself. A model trained from patient data for one healthcare purpose should not automatically be used for a different, incompatible purpose simply because the original data have been transformed.
A rigid model-level restriction could, however, hinder beneficial research. The better approach would impose provenance and lifecycle reassessment. Developers should record the lawful basis, original purpose, source and restriction attached to tranining data and carry those constrains foward when models are transferred. Materially different uses, particularly commercial uses disconnected from the original healthcare or research justification, should trigger renewed compability and risk assessment.
Individual rights alone cannot close this gap. Edwards and Veale warn that transparency is only the beginning of accountability and that rights being explained properly can impose substantial burdens upon data subjects confronting technically complex systems. This is particularly acute for patients who cannot realistically audit a machine learning supply chain. Protection must therefore occur beforehand through institutional governance rather than relying primarily upon individuals to discover problematic processing and complain afterwards.
The same reasoning limits the protective value of automated decision-making rights. Van Kolfschooten argues that medical automated decisions require particular scrutiny because they may directly affect a patient’s body health and life. Yet many healthcare systems operate as decision-support tools rather than replacing clincians entirely. Formal human involvement may therefore take processing outside the strongest automated-decision safeguards even where algorithmic recommendations materially influence clinical judgement. The framework is strongest where it regulates the data entering AI, but less complete where risks arise from what the model subsequently becomes and does.
Towards Lifescycle Protection
Wholesale repleacement of the UK data-protection framework is neither necessary nor desribale. Its principal framework, special category protection, cumulative lawfulness requirements, confidentiality, accountability and secure research infrastructure, already provides substantial safeguards. Reform should instead address the points at which those safeguards weaken.
First, AI related Data Protection Impact Assessments should become genuinely iterative. Kerasidou and others propose multiple ethical checks across a model’s lifecycle rather than treating approval as a single event. Material changes in purpose, training data, model framework or placement trigger reassessment.
Secondly, annoymisation claims should empirically demonstrable. AI developers should record the tests used to assess singling-out, linkability and inference risk, together with the contextual assumptions upon which anonymity depends. This would strengthen Article 5(2) accountability without imposing an unrealistic requirement of zero re-identification risk.
Thirdly, purpose limitation should travel with models through documented provenance obligations. This would respond to what Muhlhoff and Ruschemeier call ‘backward accountability’: developers should be capable of tracing the origin and purposes of training information. Such obligations would preserve beneficial reuse while making materially incompatible purpose drift more visible and contestable.
Finally, meaningful patient protection requires transparency about systems, not merely privacy notices about datasets. Public-facing information should idetify significant health-data AI projects, the purpose for which information is used, relevant commerical involement, safeguards applied and whrther resulting models may be reused. This would better algin formal transparency with the patient and public participation advocated by Kerasidou and others.
Conclusion
The UK data protection framework provides strong but uneven protection when patient data are used to develop and train AI. The UK GDPR, DPA 2018, common-law confidentiality and secure research environments provide important safeguards, particularly while health data remain identifiable or pseudonymised.
However, the main problem is not a lack of law, but that existing rules do not always reflect the full AI lifecycle. Protection can become less clear when health data are reused, anonymised or transformed into AI models, particularly where those models are later transferred or used for new purposes.
Patient protection should therefore continue throughout the AI lifecycle, rather than ending once a model has been trained. Ongoing impact assessment, stronger anonymisation testing, clearer model provenance and controls over future uses could strengthen the existing framework while still allowing valuable medical research and innovation.
Bibliography:
Primary Sources:
Cases:
Campbell v MGN Ltd [2004] UKHL 22
Hunter v Mann [1974] QB 767
Prismall v Google UK Ltd [2024] EWCA Civ 1516
W v Egdell [1990] Ch 359
YSL v Surrey and Borders Patnership NHS Foundation Trust [2024] EWHC 391 (KB)
Legislation:
Data Protection Act 2018
Data (Uses and Access) Act 2025
Health and Care Act 20222
Health and Social Care Act 2012
Health and Social Care (National Data Guardian) Act 2018
Health Service (Control of Patient Information) Regluations 2002
National Service Act 2006
UK General Data Protection Reguation
Secondary Rescources:
Articles:
Charalampia. K, Meave.M, Angela.D and Francesco.T, ‘Machine Learning Models, Trusted Rsearch Environments and UK Heakth Data: Ensuring a Safe and Benefifical Future for AI Development in Healthcare’ (2023) 49 Journal of Medical Ehthics 838.
Muhloff.R and Ruschemerier, ‘Updating Purpose Limitation for AI: A Normative Apporach from Law and Philosophy’ (2025) International Journal of Law and Information Technology.
Vibeke. BZ and others, ‘Processing of Synthetic Data in AI Development for Healthcare and the Definition of Personal Data in EU Law’, International Law and Information Technology.
Becker. A and others, ’Secondary Use of Personal Health Data: When Is It ”Futher Processing” Under GDPR, and What Are the Implications for Data Controllers?’ (2023) European Journal of Health Law.
Goldacre.B and Morley.J, ’Better, Broader, Safer: Using Health Data for Research and Analysis’, Department of Health and Social Care (2022).
Peng and Chen, ’Anonymization in Healthcare AI under GDPR: Measurable Privacy Protection and Gobal Implications’ (2026) 16(2) International Data Privacy Law.
Dwards.L and Veale.M, ’Slave to the Algorithm? Why a ”Right to an Explanation” Is Probably Not the Remedy You Are Looking For’ (2017), Duke Law & Technology Review.
Kolfschooten Van B.H, ’A Health-Conformant Reading of the GDPR’s Right Not to Be Subject to Automated Decision-Making’ (2024), Medical Law Review.





