Case files · #6

It can hurt a patient, and still not be a device

A language model that drafts hospital discharge letters

A hospital uses AI to draft discharge letters. If it drops an allergy, a patient can get hurt. It is still, most likely, not a medical device. One extra button changes that.

Last reviewed: 26 November 2026 · First published on LinkedIn: 9 November 2026

Composite caseHospitalsMDR Rule 11MDCG 2019-11Art. 6(1)

01

The scenario

The hospital's doctors were spending an hour a day on discharge letters. Now a language model reads the patient record and drafts the letter; the doctor checks it and signs.

The IT team asks the obvious question before rolling it out to every ward: is this a medical device?

The answer depends on a line that has nothing to do with how much harm a mistake could do: does the tool only summarise, or does it start to suggest?

02

Roles and classification

  • Under the Medical Device Regulation, what decides is the intended purpose set by the manufacturer MDR Art. 2(1), 2(12), not the potential for harm.
  • The EU guidance on medical software draws the line: software that only stores, archives, communicates or performs a simple search is generally not a medical device; software that acts on data to support diagnosis or treatment is MDCG 2019-11. Faithful summarisation sits close to the first side; it should be documented as such.
  • Software that provides information used to take decisions for diagnosis or therapy is at least class IIa MDR Annex VIII, Rule 11, which requires a notified body.
  • Under the AI Act, a medical device that needs a notified body is high-risk Art. 6(1), Annex I, from 2 August 2028. A pure summariser is in no Annex III category.
  • Either way, the record is health data GDPR Art. 9: the hospital needs a lawful basis, a DPIA, and control over where the model runs.

03

The variants

The same model on the same screen, four ways. What decides is the intended purpose, not the potential for harm.

VariantWhat the tool doesMDREU AI ActFrom
1Condenses the record into a draft letter; the doctor checks and signsMost likely not a medical device MDCG 2019-11, if the intended purpose is documented as administrativeNot high-risk. Staff AI literacy Art. 4GDPR: now
2Also highlights abnormal results and open issues in the recordBorderline. Depends on whether it is presented and used as decision support; needs a qualification assessmentFollows the MDR answerMDR: now
3Flags interactions in the discharge medication, or suggests the follow-upMedical device, at least class IIa Rule 11High-risk Art. 6(1), Annex IMDR: now · AI Act: 2 Aug 2028
4The same as 3, built by the hospital and used only in-housePossible health-institution exemption MDR Art. 5(5), under strict conditions: quality system, justification, documentationUnclear. How the AI Act treats an exempted in-house device needs a legal assessmentMDR: now · AI Act: 2 Aug 2028

Rule 11 can push the class higher: where a decision could cause serious deterioration of health or a surgical intervention, the software is class IIb, and class III where it could cause death or irreversible deterioration.

04

What the company did

The hospital kept the tool as a pure summariser and wrote its intended purpose down, including what it must not do: no clinical suggestions, no ranking, no alerts.

Then it validated it anyway, as if the law asked. A sample of letters is compared each month against the source records, and the lines where an omission does the most harm, allergies and discharge medication, must be confirmed explicitly by the signing doctor.

The medication-interaction feature the vendor offered stayed switched off. It may come later, as a separate project with its own classification.

Added after discussion on LinkedIn. Readers pointed out that the signing doctor ends up carrying the risk the regulation leaves out, and that in thinly staffed hospitals the sign-off is the first thing squeezed. Two safeguards came out of the discussion: log what clinicians change before signing, used to monitor the tool rather than rate individual doctors; and occasionally seed a draft with a known error, to check that the review is really happening.

05

Lessons for teams

  1. Write the intended purpose down, including what the tool must not do. It is what keeps a summariser on the administrative side.
  2. Treat any feature that suggests, flags or prioritises as a new classification question, even if it is "just one more button".
  3. Validate even when the law does not require it. Compare samples against the source record, and make the critical lines, allergies and medication, an explicit check.
  4. Measure the human check. If the edit rate before signing drops close to zero, find out whether the drafts are good or nobody is reading them.
  5. Health data stays where it has to. Where the model runs is part of the GDPR assessment.

06

Open questions

  • Should AI summaries of patient records have a minimum validation standard, even outside the medical device framework?
  • How does the AI Act treat an in-house device that benefits from the MDR Art. 5(5) exemption and so never sees a notified body?
  • At what point does highlighting what is in the record become informing a clinical decision?

Related

Questions

A case like yours?

If your product sits close to one of these lines, the first question is what exactly it does. Write to me if you want to talk it through.

Case files are study material, not legal advice. Cases are composite or anonymised; any resemblance to a specific company is not intended.