UMC Utrecht drafts ICU and NICU discharge letters with GPT-4
UMC Utrecht's AI for Health team built a tool on GPT-4 in Azure OpenAI that drafts the clinical course of each discharge letter in its intensive care units, which a physician completes and a supervisor checks.
UMC UtrechtNetherlandsHospitals and health systemsIn production since 2025
- Scale
- ICU and NICU
- Scenario
- Discharge letter drafting
- Business function
- Clinical care
- Kind of solution
- Document review and drafting
- Who built it
- Built in-house (Microsoft)
- Where it runs
- Public cloud, In the EU or EEA
- Human oversight
- Assists people
- Organization
- Academic or research
- AI types
- Generative AI
- Sites
- 2
tl;drPhysicians in the ICU and NICU saved up to 20 minutes per discharge letter in the first pilot.See the results
UMC Utrecht uses GPT-4 to draft the clinical course of discharge letters in its intensive care unit (ICU) and neonatal intensive care unit (NICU)2, 3. A physician completes each draft, and a supervisor checks the letter before it goes to the patient’s next care provider2, 3.
The hospital’s AI for Health team built the tool, the Discharge Documentation Generator, and published its code5, 6. In the initial pilot, physicians saved up to 20 minutes per letter on average2. In 2025, UMC Utrecht implemented the tool in both units and began preparing to scale it across the hospital1.
Before the deployment
Physicians and physician assistants wrote each discharge letter themselves, from the notes in the patient’s electronic health record (EHR)8. The letter summarizes the stay for the next care provider, such as the general practitioner or another institution2, 4.
- Writing a discharge letter took about one hour per patient on average2.
- UMC Utrecht had about 28,000 clinical admissions in 20235.
- Patient files sit in two EHR systems, HiX and Metavision, each with its own data format8.
The AI for Health team took on the letter as part of the hospital’s work to reduce the administrative load on care staff1, 2. The product owner came from Zorg van Morgen, the hospital’s Care of Tomorrow program1, 2.
What was built
The tool reads the patient’s notes from the admission and has GPT-4 write a draft of the clinical course, the part of the letter that tells what happened during the stay2, 7. The model drafts, the software assembles the input, and people decide what goes out:
- GPT-4: Writes the draft clinical course from the patient file included in its prompt. It isn’t used for diagnoses or clinical reasoning7.
- Discharge Documentation Generator: Extracts the medical notes from the patient’s EHR and builds the prompt6, 7.
- Physician or physician assistant: Reviews the draft, then adapts and supplements it into the discharge letter3, 6.
- Supervisor: Checks every letter before it’s sent. A supervisor already did this check before the tool existed2, 7.
Rollout
- September 2024: UMC Utrecht reported the initial validation of the drafts for the NICU and ICU4.
- 2025: The hospital implemented the tool in the NICU and ICU and began preparing to scale it1.
The team also developed the tool for Cardiology, where a pilot is being prepared2, 6.
Technology and architecture
The Discharge Documentation Generator is software that the AI for Health team wrote and deploys to PositConnect6. It sends each prompt to GPT-4 in Azure OpenAI, in a secure environment that UMC Utrecht manages on a European server2, 7. The team uses GPT-4 as it comes, without fine-tuning, so the build work is the prompt and the data pipeline7, 8.
Components
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | Discharge Documentation Generator | Builds the prompt from the EHR notes and returns the draft clinical course | 6, 7 |
| Language model | GPT-4 (turbo-2024-04-09) | Writes the draft clinical course | 7 |
| Model hosting | Azure OpenAI | Runs the model in the Sweden region, with no access for OpenAI or Microsoft to patient data | 2, 7 |
| Model deployment | PositConnect | Hosts the deployed tool | 6 |
| Business or operational system | HiX | EHR whose patient files and discharge documents the tool reads | 8 |
| Business or operational system | Metavision | EHR whose patient files the tool reads | 8 |
| Data platform and storage | UMC Utrecht data platform | Provides the EHR data in a SQL database | 8 |
| Data preparation | DEDUCE | Pseudonymizes the data set used for prompt engineering | 8 |
Data inputs
- Patient file of the admission: The notes that physicians and physician assistants wrote in the EHR during the stay. The model needs the entire file as input8.
- Retrospective admissions: Discharge documents and patient files in Dutch from the NICU, ICU and Cardiology, over a few months in 2023 and 2024. The team used them for prompt engineering8.
- Original discharge letters: The letters that physicians wrote, against which annotators checked each draft7.
Integrations
- HiX: Supplies patient file notes and discharge documents, which the tool joins by encounter ID8.
- Metavision: Supplies the patient file fields of the admission in a second data format8.
- UMC Utrecht data platform: Holds the data of both EHR systems in a SQL database that the tool queries8.
How one discharge letter flows through the system
- A patient leaves the ICU or NICU, and the next care provider needs a discharge letter2.
- The Discharge Documentation Generator extracts the patient’s notes from the admission out of the EHR6.
- The tool puts the patient file into the prompt. GPT-4 returns a draft of the clinical course7.
- A physician or physician assistant reviews the draft and completes the letter3.
- A supervisor checks the letter before it’s sent2.
- The letter goes to the patient’s general practitioner or next physician4.
Results
In the initial pilot, physicians in the ICU and NICU saved time on each letter and rated the drafts as useful as letters written by hand2. In 2025, the tool went into full use in both units1, 2.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Time saved per letter | About 1 hour to write a letter | Up to 20 minutes saved on average | Initial pilot, ICU and NICU | UMC Utrecht, pilot2 |
| Drafts with at least one omitted fact | Not disclosed | About 40% | Initial validation, NICU and ICU, reported September 2024 | UMC Utrecht, pilot4 |
| Drafts with at least one hallucinated fact | Not disclosed | Less than 30% | Initial validation, NICU and ICU, reported September 2024 | UMC Utrecht, pilot4 |
| Usability | Physicians’ own letters | Comparable | Initial validation, NICU and ICU | UMC Utrecht, pilot4 |
- Time saved: The time physicians saved per letter against writing the letter themselves. Physicians in the pilot also viewed the tool positively2.
- Omitted and hallucinated facts: The share of drafts in which GPT-4 left out or invented at least one fact. Students annotated each draft against the original letter, and clinicians checked the annotations4, 7.
- Usability: Physicians scored the drafts against manually written letters. The Julius Center also evaluated the drafts for completeness, accuracy and conciseness2, 4.
Lessons learned
The team validated the drafts before the rollout, with the physicians involved in the study. Those physicians judged the levels of omissions and hallucinations acceptable for the next evaluation stage, and the tool then went into use in both units1, 4.
Omitted and invented facts were frequent in the validation, so the design rests on the review chain4. The developers’ model card says that the drafts miss relevant information, add irrelevant information and can hallucinate, so a physician must check every letter7.
The check isn’t new work, because a supervisor already checked every letter before the tool7. The team also told the clinicians who use the tool how well the model performs7.
The input is the weak point that the developers name. Patient files can contain spelling errors and many abbreviations that aren’t generally known8. Pseudonymization of the development data with DEDUCE isn’t perfect, so the data set stays inside the development team8.
The scope is narrow by design. The tool isn’t meant for clinical decision support, because content filtering and abuse monitoring are turned off for its intended purpose7.
The figures are UMC Utrecht’s own, from its AI for Health team and the Julius Center2, 4. The code is public, as a mirror of the team’s private repository5, 6.
Case study scorecard
- About 40% Drafts in which GPT-4 omitted at least one fact4
- Less than 30% Drafts in which GPT-4 hallucinated at least one fact4
Sources by publication date
- Organization 8
- Vendors and partners 1
- Press, academic, and regulators 1
Build this solution yourself
Analysis
What you need
- The whole admission record, readable by software: The model writes from the entire patient file of the stay, and UMC Utrecht reads it from two EHR systems with different formats8. Check that you can extract every note of an admission from each system you use.
- A model under your own data controls: UMC Utrecht runs GPT-4 in a secure Azure environment in Sweden, where OpenAI and Microsoft have no access to patient data2, 7. You need a comparable contract and region before patient files go into a prompt.
- A sign-off step that already exists: The draft fits a process in which a supervisor already checked every letter7. Without that check, an omitted or invented fact can reach the next care provider.
- Clinicians who can score the drafts: Students and clinicians annotated errors against the original letters4, 7. You need the same people and time to set your own acceptance level.
Reference architecture
Document review and drafting
A document review and drafting solution reads a case's documents against a written standard, precedents, or a list of questions and drafts a review, summary, clause, or report with its sources for an expert to finish. The solution pulls the case's documents, and a language model answers each question from the passages that bear on it, with its source. Fixed logic settles what must not vary, and an expert checks the draft against the sources and makes the decision.
- Source system (documented in this case study)
- Connector to the source system
- Review and drafting platform (documented in this case study)
- Text recognition
- Document preparation (documented in this case study)
- Passage index
- Access control
- Questions and templates
- Drafting model (documented in this case study)
- Private model endpoint (documented in this case study)
- Fixed logic
- Review workbench
- Reviewer feedback
- Tests on known cases
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- University Medical Centre Groningen: evaluated 292 discharge summaries from Epic’s Drafted Hospital Course tool, which runs GPT-4o in Azure OpenAI and now gives physicians editable drafts9.
- HCA Healthcare: built the Nurse Handoff app with Google Cloud, which shows nurses the EHR beside an AI-generated handoff summary10.
In the library
- How Nationwide uses generative AI to summarize claim notes Nationwide
- Merck drafts clinical study reports in days with gen AI Merck & Co.
- AI drafts clinical study reports in minutes at Novo Nordisk Novo Nordisk
- Corona, California speeds building plan review with AI City of Corona
- Denver pre-screens permit applications with CivCheck AI City and County of Denver
- Court strikes down DOGE's ChatGPT screening of NEH grants United States DOGE Service
Cite this case study
Enterprise AI Case Studies. "UMC Utrecht drafts ICU and NICU discharge letters with GPT-4." Updated Nov 20, 2026. https://case-studies.ai/case-studies/document-intelligence/DI-032-discharge-letter-drafting-umc-utrecht/
@misc{csai-di-032,
author = {{Enterprise AI Case Studies}},
title = {{UMC Utrecht drafts ICU and NICU discharge letters with GPT-4}},
year = {2026},
note = {Updated 2026-11-20},
url = {https://case-studies.ai/case-studies/document-intelligence/DI-032-discharge-letter-drafting-umc-utrecht/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Governance: our impact on fair and reliable healthcare
Supporting excerpts (4)
Steps were also taken to reduce administrative workload, including the implementation of AI-supported discharge documentation in the NICU and ICU, and preparations for broader scaling across UMC Utrecht.
In 2025, UMC Utrecht continued to develop and apply AI with the aim of reducing administrative burdens while maintaining the quality of healthcare.
Within the Care of Tomorrow program
Responsibility and final decision-making always remain with our healthcare professionals.
- Source 2:
Reducing Administrative Burden
Supporting excerpts (13)
Reducing administrative workload by automatically generating a draft of the clinical course for the discharge letter using a Large Language Model (LLM).
When a patient is discharged from a department, a discharge letter must be written for the subsequent care provider, such as a general practitioner or another healthcare institution.
Composing a discharge letter is a time-consuming task that takes on average about one hour per patient.
This model runs on a European server within a secure environment managed by UMC Utrecht. OpenAI and Microsoft have no access to patient data, and the data is not used to improve the model.
Based on information from the patient’s record during admission, the model automatically generates a draft of the clinical course.
The physician uses this draft when compiling the discharge letter, and it is always checked by a supervisor before being sent out.
Together with the Julius Center, we evaluated the algorithm for completeness, accuracy, and conciseness.
Physicians in the ICU and NICU rated the AI-generated texts as equally useful compared to manually written versions.
During the initial pilot, physicians also saved up to 20 minutes per letter on average, and they viewed the tool positively.
The tool is currently fully implemented in the ICU and NICU
A pilot is currently being prepared for Cardiology.
Developers: Laura Veerhoek, Ruben Peters (AI for Health)
Product Owner: Marjon Jose Smit (Zorg van Morgen)
- Source 3:
Supporting excerpts (3)
The LLM used is on a secure environment on a European server managed by UMC Utrecht. OpenAI and Microsoft have no access to patient data, and the data is not used to further train or improve the model.
The AI only writes a draft, which is always reviewed and completed by a physician (assistant) and checked by a supervisor.
Currently, this application is used in the Intensive Care Unit (ICU) and the Neonatal Intensive Care Unit (NICU).
- Source 4:
GPT pilot to write draft discharge letters at the UMC Utrecht
Supporting excerpts (7)
The AI for Health Team at the UMC Utrecht has developed an application that utilizes GPT to generate draft discharge letters for the ICU, NICU and Cardiology department.
Once inspected and completed by the treating physicians, these letters are provided to a patient's general practitioner or next physician upon discharge, and typically include a summary of the patient's stay based on their medical records.
In collaboration with the Data Science Plan of the Julius Center, the application underwent rigorous validation for use in the neonatal and intensive care unit departments at the UMC Utrecht.
The initial validation process revealed that GPT omitted facts at least once in approximately 40% of the draft discharge letters and hallucinated facts at least once in less than 30% of the drafts.
The levels of omissions and hallucinations in the draft letters were deemed acceptable to continue to the next evaluation stage by the physicians involved in the study.
Usability scores revealed that GPT’s draft letters were comparable in usability to physician’s letters.
However, to harness this potential for clinical applications, the quality of the generated clinical notes must be meticulously evaluated.
- Source 5:
Huidige AI-implementaties binnen de zorg
Supporting excerpts (4)
Automatische concept ontslagbrieven
UMC Utrecht ~ 28.000 klinische opnames in 2023*
~ 1 uur per ontslagbrief
Ook open-source beschikbaar
- Source 6:
Discharge Documentation Generator
Supporting excerpts (5)
The Discharge Documentation Generator is a tool that uses an LLM to generate a draft discharge letter summarizing the course of a patient's admission in a hospital based on the medical notes extracted from the patient's electronic health record.
Currently, the tool has been developed for the Intensive Care Unit (IC), Neonative Intensive Care Unit (NICU) and the Cardiology department (CAR) of the UMC Utrecht hospital.
The generated letters should be further adapted and supplemented by the healthcare professionals before being finalized and sent to the next treating physicians, which are often general practicioners.
Note that this public repository is a mirror of a private repository updated with releases.
To deploy to PositConnect, make sure to have installed the requirements and run:
- Source 7:
Model Card for Discharge Documentation generator
Supporting excerpts (13)
The model used for this project is GPT-4, trained by OpenAI and made available through Azure OpenAI.
The model version is `turbo-2024-04-09`
since we are only using inference on the model and not fine-tuning
The model is intended to be used to generate discharge documentation based on the patient file that is included in the prompt.
The model is not intended for use as a Clinical Decision Support (CDS) tool or other malicious uses, since for the intended purpose both content filtering and abuse monitoring are turned off.
mainly that the model should not be used generating diagnoses or clinical-reasoning
Therefore a physician always needs to check the discharge document before sending it. This is also the current process where a supervisor always does a manual check of the document.
The model performance is mainly tested on omissions, hallucinations and trivial information compared to the original discharge documentation.
Annotations are performed by students and checked by clinicians.
Model performance is deemed acceptable, but not perfect. The model is able to generate a draft discharge letter that is a good starting point for the writing process.
However, the model does not always include all relevant information in the summary, whereas it also inclused information not relevant in the summary. Additionally, it can also include hallucinations.
The exact performance of the model has been communicated to the clinicians who are using the application in practice.
Compute Region:** Sweden
- Source 8:
Dataset card for the Discharge Documentation Generator
Supporting excerpts (15)
The data used in this project is a collection of medical discharge documents and patient files from the UMC Utrecht hospital from the NICU, ICU and Cardiology department.
The dataset is used to perform prompt engineering was a retrospective set of admissions over a period of a few months in 2023 and 2024.
The language is Dutch and contains medical terminology.
There are two data sources and formats possible within the UMC Utrecht, depending on the electronic health record system used. The two systems are HiX and Metavision.
The data is stored in a SQL database and can be queried using SQL queries.
Can be joined with patient files using the identifier_value
The data is being provided by the dataplatform maintained by the UMC Utrecht.
To generate this, the entire patient file during admission is needed as input for the LLM.
Both patient files and discharge documents are written by physicians and physician-assistants.
the dataset has been pseudonomised using
However this process is not perfect and the data could still contain privacy-sensitive information.
Therefore this dataset is still considered sensitive and not shared outside the development team.
the quality of the patients files might not always be as good, for example containing spelling errors as well as many (not generally known) abbreviations.
Success on this task is measured periodically according to a post market surveillance plan.
There have been no data splits, since we are not training a Machine learning model, but just using LLMs for inference.
- Source 9:
Supporting excerpts (4)
University Medical Centre Groningen
A total of 292 paired discharge summaries from multiple departments were evaluated
LLM-generated hospital course summaries were generated with the Drafted Hospital Course tool developed by Epic Systems Corporation, using GPT-4o (OpenAI, San Francisco, CA) deployed through Microsoft Azure OpenAI Service
This configuration differs from the current clinical deployment, in which LLM-generated discharge summaries are presented to physicians as editable drafts.
- Source 10:
Can AI save nurses millions of hours of paperwork?
Supporting excerpts (2)
The team developed a tool, named Nurse Handoff, that shows nurses the electronic health record on one side and the AI-generated output on the other.
HCA Healthcare’s Digital Transformation and Innovation (DT&I) department worked with Google Cloud’s healthcare solutions team to build and optimize a new AI-powered app, called Nurse Handoff.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.