Can a healthcare company sell its data for AI training in the UK?

By Plety. Updated

A UK healthcare company can license only a small part of its data for AI training, and never its patient records. Health data is special category data under Article 9 of the UK GDPR, patient information is also protected by the common law duty of confidentiality, and the Caldicott principles limit its use. Operational records with no patient information in them may be considered.

Can a healthcare company sell patient data for AI training?

No. Identifiable patient records are not licensed. Article 9(1) of the UK GDPR prohibits processing data concerning health unless an exception in Article 9(2) applies. The care exception in Article 9(2)(h) covers medical diagnosis, the provision of health or social care or treatment and the management of health or social care systems, and Article 9(3) adds that the data must be processed by or under the responsibility of a professional subject to an obligation of professional secrecy. Licensing records to an AI developer is not among those purposes.

Data protection is only one layer. In its guidance on records moving between providers, the Records Management Code of Practice says that even where the conditions of UK GDPR are satisfied there may still be a duty of confidentiality, and that where there is no statutory duty, consent would need to be sought to satisfy the common law duty of confidentiality. Removing names does not settle the question: NHS England's definition of confidential patient information covers data that identifies a patient or could be used to identify them, together with information about their health, care or treatment.

Does the national data opt-out apply to a private clinic?

Only where the clinic provides publicly funded care, or private care in NHS settings. NHS England's guidance says the national data opt-out lets patients choose that their confidential patient information is not used for purposes beyond their individual care, such as research and planning. It applies to organisations providing or coordinating publicly funded, commissioned or coordinated health and adult social care in England, including private, voluntary and independent providers of that care.

The opt-out does not apply to anonymised data, to information used for a patient's own care, or to children's social care. A clinic that treats only private patients outside NHS settings falls outside the opt-out policy, but Article 9 and the duty of confidentiality still apply to every patient record it holds.

What do the Caldicott principles require?

They require any use of confidential information to be justified, necessary and limited to the minimum needed. The National Data Guardian published the eight Caldicott principles on 8 December 2020 for health and social care organisations in England: justify the purpose, use confidential information only when it is necessary, use the minimum necessary, give access on a strict need-to-know basis, make everyone with access aware of their responsibilities, comply with the law, treat the duty to share for individual care as being as important as the duty to protect confidentiality, and inform patients and service users about how their information is used.

The Care Quality Commission checks record keeping under regulation 17 of the Health and Social Care Act 2008 (Regulated Activities) Regulations 2014, which requires a provider to maintain securely an accurate, complete and contemporaneous record for each service user. CQC's guidance on regulation 17, last updated 16 May 2025, says records must be created, amended, stored and destroyed in line with current legislation and nationally recognised guidance, and only accessed, amended or securely destroyed by authorised people.

Which healthcare records might be considered for licensing?

Records about running the service, written by staff, with no patient information in them. CQC's regulation 17 guidance says records relating to the management of regulated activities may include governance arrangements such as policies and procedures, service and maintenance records, audits and reviews, purchasing, and action plans in response to risk and incidents. Policies, procedures and procurement records can be candidates once patient and staff details are removed. Audits and incident action plans often quote patient cases, so they are checked line by line.

AI developers build much of their health data with clinicians rather than from patient records. OpenAI said on 12 May 2025 that its HealthBench evaluation was built with 262 physicians who have practised in 60 countries and holds 5,000 health conversations created through synthetic generation and human adversarial testing, each with a physician-written rubric. Clinical protocols and guidance written by a provider's own clinicians are closer to that material than patient notes are. Plety never holds, views or passes on records, samples, logins or money.

Healthcare provider records and what to check
RecordUsual positionWhat to check
Patient notes, test results and imagesNever licensedArticle 9 and the duty of confidentiality
Appointment and billing recordsNever licensedThey identify patients and reveal care
Complaints and incident filesLeft outThey quote patient cases
Policies, procedures and clinical protocols written by staffPossiblePatient examples and staff names removed
Procurement and maintenance recordsPossibleSupplier contract confidentiality
Audits and reviewsCheck firstPatient details removed line by line
Staff and occupational health recordsNever licensedPersonal data, often about health

What happens to patient records when a clinic or practice closes?

They must still be kept for their minimum retention periods, and where a service passes to another provider the records usually go with it. The Records Management Code of Practice sets 8 years for adult health records, until the 25th or 26th birthday for children's records, 11 years for dental clinical records, 20 years or 10 years after death for mental health records, and 25 years for maternity records. The Code covers NHS records, including private providers treating patients on behalf of the NHS, and says private providers can use it as guidance.

The Code says that when a service is taken over by a new provider, its records of current and discharged cases all transfer to the new provider unless the commissioner directs otherwise. Records with no successor organisation are orphaned and are retained by the highest level commissioner of the service. When a GP practice closes, the record follows each patient to the practice they register with, and transfers to NHS England if they do not re-register. Patients need to be told about the change, by posters and leaflets where there is little impact and by individual communications for more significant changes.

Questions

Is anonymised patient data outside these rules?
NHS England says the national data opt-out does not apply to anonymised data. The provider still has to be sure the data cannot be used to identify a patient, because data that could be used that way remains confidential patient information.
Can a closing clinic destroy patient records early?
The Records Management Code of Practice sets minimum retention periods, and CQC's guidance says records must be destroyed in line with current legislation and nationally recognised guidance. A closure does not shorten those periods.
Who checks a clinic's record keeping in England?
The Care Quality Commission, under regulation 17 of the Health and Social Care Act 2008 (Regulated Activities) Regulations 2014. Data protection law applies to the same records alongside it.

Want to know what your records could fetch?

Email Herman or book a 30-minute call. We tell you which buyers fit before anything else happens.

Sources

This page is general information, not legal advice. Take advice on your own company's records and contracts.

Read next