Case files · #6
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
01
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
03
The same model on the same screen, four ways. What decides is the intended purpose, not the potential for harm.
| Variant | What the tool does | MDR | EU AI Act | From |
|---|---|---|---|---|
| 1 | Condenses the record into a draft letter; the doctor checks and signs | Most likely not a medical device MDCG 2019-11, if the intended purpose is documented as administrative | Not high-risk. Staff AI literacy Art. 4 | GDPR: now |
| 2 | Also highlights abnormal results and open issues in the record | Borderline. Depends on whether it is presented and used as decision support; needs a qualification assessment | Follows the MDR answer | MDR: now |
| 3 | Flags interactions in the discharge medication, or suggests the follow-up | Medical device, at least class IIa Rule 11 | High-risk Art. 6(1), Annex I | MDR: now · AI Act: 2 Aug 2028 |
| 4 | The same as 3, built by the hospital and used only in-house | Possible health-institution exemption MDR Art. 5(5), under strict conditions: quality system, justification, documentation | Unclear. How the AI Act treats an exempted in-house device needs a legal assessment | MDR: 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
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.
05
06
Questions
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.