Summarize-then-Prompt: A Novel Prompt Engineering Strategy for Generating High-Quality Discharge Summaries
- PMID: 40398851
- DOI: 10.1055/a-2617-6572
Summarize-then-Prompt: A Novel Prompt Engineering Strategy for Generating High-Quality Discharge Summaries
Abstract
Background: Accurate discharge summaries are essential for effective communication between hospital and outpatient providers but generating them is labor-intensive. Large language models (LLMs), such as GPT-4, have shown promise in automating this process, potentially reducing clinician workload and improving documentation quality. A recent study using GPT-4 to generate discharge summaries via concatenated clinical notes found that while the summaries were concise and coherent, they often lacked comprehensiveness and contained errors. To address this, we evaluated a structured prompting strategy, summarize-then-prompt, which first generates concise summaries of individual clinical notes before combining them to create a more focused input for the LLM.
Objectives: The objective of this study was to assess the effectiveness of a novel prompting strategy, summarize-then-prompt, in generating discharge summaries that are more complete, accurate, and concise in comparison to the approach that simply concatenates clinical notes.
Methods: We conducted a retrospective study comparing two prompting strategies: direct concatenation (M1) and summarize-then-prompt (M2). A random sample of 50 hospital stays was selected from a large hospital system. Three attending physicians independently evaluated the generated hospital course summaries for completeness, correctness, and conciseness using a 5-point Likert scale.
Results: The summarize-then-prompt strategy outperformed direct concatenation strategy in both completeness (4.28 ± 0.63 vs. 4.01 ± 0.69, p < 0.001) and correctness (4.37 ± 0.54 vs. 4.17 ± 0.57, p = 0.002) of the summarization of the hospital course. However, the two strategies showed no significant difference in conciseness (p = 0.308).
Conclusion: Summarizing individual notes before concatenation improves LLM-generated discharge summaries, enhancing their completeness and accuracy without sacrificing conciseness. This approach may facilitate the integration of LLMs into clinical workflows, offering a promising strategy for automating discharge summary generation and could reduce clinician burden.
Thieme. All rights reserved.
Conflict of interest statement
This study was supported by National Institutes of Health (NIH) grant K08DK131286 (AS). GNN is a founder of Renalytix, Pensieve, Verici and provides consultancy services to AstraZeneca, Reata, Renalytix, Siemens Healthineer and Variant Bio, serves a scientific advisory board member for Renalytix and Pensieve. He also has equity in Renalytix, Pensieve and Verici. All remaining authors have declared no conflicts of interest.
Similar articles
-
Automated generation of discharge summaries: leveraging large language models with clinical data.Sci Rep. 2025 May 12;15(1):16466. doi: 10.1038/s41598-025-01618-7. Sci Rep. 2025. PMID: 40355506 Free PMC article.
-
Comparison of the Quality of Discharge Letters Written by Large Language Models and Junior Clinicians: Single-Blinded Study.J Med Internet Res. 2024 Jul 24;26:e57721. doi: 10.2196/57721. J Med Internet Res. 2024. PMID: 39047282 Free PMC article.
-
Patient-Representing Population's Perceptions of GPT-Generated Versus Standard Emergency Department Discharge Instructions: Randomized Blind Survey Assessment.J Med Internet Res. 2024 Aug 2;26:e60336. doi: 10.2196/60336. J Med Internet Res. 2024. PMID: 39094112 Free PMC article. Clinical Trial.
-
Evaluation of a large language model to simplify discharge summaries and provide cardiological lifestyle recommendations.Commun Med (Lond). 2025 May 29;5(1):208. doi: 10.1038/s43856-025-00927-2. Commun Med (Lond). 2025. PMID: 40442348 Free PMC article.
-
Summarizing Online Patient Conversations Using Generative Language Models: Experimental and Comparative Study.JMIR Med Inform. 2025 Apr 14;13:e62909. doi: 10.2196/62909. JMIR Med Inform. 2025. PMID: 40228244 Free PMC article.
Grants and funding
LinkOut - more resources
Full Text Sources