This quality improvement study evaluates the physician-rated safety and use of artificial intelligence (AI)–generated hospital course summaries and their association with physician burnout levels.
Key Points
Question
Is a large language model (LLM)–based agentic workflow for generating hospital course summaries safe and useful during prospective clinical deployment, and is it associated with reduced physician burnout?
Findings
In this quality improvement study of 384 hospital discharges, physicians incorporated artificial intelligence agent–generated summaries into most final discharge notes, and among summaries with feedback, most were rated as having no harm potential, with 1 rated as likely to cause moderate harm. Burnout scores decreased significantly, crossing below the established burnout threshold.
Meaning
These findings suggest that agentic LLM workflows with reasoning models may be integrated into active clinical care with minimal safety risk and may be associated with reduced physician burnout, even when objective time savings are modest.
Abstract
Importance
High-quality discharge summaries are essential for safe care transitions but contribute substantially to clinician documentation burden and burnout. While retrospective studies suggest that large language models (LLMs) can generate clinical summaries of comparable quality to those by physicians, prospective data on their safety, utility, and association with clinician well-being in clinical environments are lacking.
Objective
To evaluate the safety, use, and association with clinician burden of MedAgentBrief, an LLM-based agentic workflow for generating hospital course summaries, during prospective clinical deployment.
Design, Setting, and Participants
This single-arm prospective pilot quality improvement study encompassed hospital discharges at 1 academic inpatient medicine unit from August 1 to October 11, 2025, with baseline comparisons drawn from April 9 to July 31, 2025.
Intervention
A custom agentic LLM workflow using Gemini 2.5 Pro generated draft hospital course summaries nightly using patient history and physical and daily progress notes. Drafts were securely emailed to physicians daily for review and optional use.
Main Outcomes and Measures
The primary outcome was physician-reported potential for and severity of harm from unedited summaries (Agency for Healthcare Research and Quality Common Format Harm Scale). Secondary outcomes included use rate, error types (omissions, inaccuracies, and hallucinations), time spent in discharge summaries (electronic health record logs), and changes in cognitive burden (NASA Task Load Index; score range, 0-100, with higher scores indicating greater cognitive burden) and burnout (Stanford Professional Fulfillment Index Work Exhaustion Scale; score range, 0-4, with higher scores indicating greater burnout).
Results
Among 384 hospital discharges, the system generated 1274 summaries. Physicians used artificial intelligence (AI) content in 219 cases (57.0%). Feedback on 100 summaries (88 of 219 used summaries [40.2%] and 12 of 165 unused summaries [7.3%]) noted omissions (25 summaries [25.0%]) and inaccuracies (20 summaries [20.0%]) but rare hallucinations (2 summaries [2.0%]). Physicians rated 88 unedited summaries (88.0%) as having no harm potential and 1 (1.0%) as likely to cause moderate harm; no severe harm was reported. Mean physician burnout scores decreased significantly from before to after the intervention (1.75; 95% CI, 1.16-2.34 vs 1.20; 95% CI, 0.71-1.69; P = .03). Time savings were heterogeneous, with 5 of 7 physicians with matched baseline data (71.4%) seeing reductions in median documentation time; changes from baseline to pilot were up to 2.9 minutes, which was a nonsignificant difference (10.7 minutes; 95% CI, 7.4-13.3 minutes vs 7.8 minutes; 95% CI, 5.1-11.7 minutes; P = .13).
Conclusions and Relevance
In this study, an LLM-based agentic workflow produced hospital course summaries that were frequently used with minimal risk of harm identified. The intervention was associated with a reduction in physician burnout, supporting the viability of AI summarization to mitigate documentation burden.
Introduction
The hospital discharge summary is a cornerstone of patient safety, facilitating the transition of care from the acute setting to outpatient clinicians and post–acute care facilities.1 High-quality summaries are associated with reduced medication errors2 and lowered readmission rates,3 yet composing the hospital course remains one of the most laborious tasks in hospital medicine.4 This documentation burden is a primary driver of work completed outside of scheduled hours (pajama time)5 and is a significant contributor to clinician burnout.6
To address these challenges with discharge summary creation, automated clinical summarization has been an active area of development; rule-based approaches were prospectively evaluated in clinical settings more than a decade ago.7,8 Since 2023, large language models (LLMs) have offered a promising solution to this crisis by automating the synthesis of clinical text.9,10 Retrospective studies from 202511,12 have demonstrated that LLMs can generate discharge summaries comparable to or exceeding physician-authored notes in conciseness and coherence, although they may be less comprehensive and more prone to errors. Performance also varies substantially across models, underscoring that safe implementation requires transparent standards beyond accuracy alone.13 Critically, these newer LLM-based tools have been evaluated only retrospectively, relying on offline reviewers rather than being evaluated within active clinical workflows. Prospective, clinical evaluation of safety, utility, and association with clinician burden is urgently needed before widespread implementation.14,15
We developed MedAgentBrief, a clinically informed agentic workflow designed to synthesize longitudinal clinical notes into a coherent hospital course. Unlike simple 1-shot prompting, this system uses iterative refinement and hallucination-reduction steps to prioritize factual accuracy. In this study, we conducted a prospective pilot deployment of this agentic workflow, evaluating its safety, clinical utility, and association with physician well-being in a clinical hospitalist workflow.
Methods
Study Design and Setting
We conducted a prospective pilot quality improvement study at a Stanford Health Care inpatient unit located in Redwood City, California. The unit was staffed exclusively by attending hospitalist physicians for general medicine inpatients. The pilot intervention period ran from August 1 to October 11, 2025. To evaluate changes in efficiency, we established a prepilot baseline period from April 9 to July 31, 2025. The Stanford University Institutional Review Board (IRB) determined that this project was a quality improvement initiative and did not require IRB review or informed consent. All participating physicians received an overview of the project and formally agreed to participate. This study is reported following the Standards for Quality Improvement Reporting Excellence (SQUIRE 2.0) reporting guidelines.
Participants
All 11 attending hospitalist physicians who staffed the pilot unit during the intervention period were enrolled in the study. All physicians received an overview of the project in person or via videoconference and formally agreed to participate, including completion of surveys for each artificial intelligence (AI) summary used.
Agentic Workflow Intervention
The model-agnostic LLM pipeline we developed was powered by Gemini 2.5 Pro (Google)16 and accessed via secure, Health Insurance Portability and Accountability Act (HIPAA)–compliant Stanford Health Care infrastructure.17 The AI tool (Gemini 2.5 Pro) was used from August 1 to October 11, 2025. Rather than presenting all clinical notes in a single-context window, our pipeline uses an agentic workflow, a 3-stage process that iteratively builds and verifies the summary (Figure 1; eAppendix 1 in Supplement 1). This approach has been associated with improved factual recall compared with single-pass prompting (presenting all notes to the model in a single query without iterative refinement).15
Figure 1. Flowchart of Agentic Workflow.
Clinical documentation is retrieved via Fast Healthcare Interoperability Resources from the electronic health record. Interdisciplinary team documentation includes physicians, pharmacists, nurses, physical therapists, dietitians, case management, and spiritual care. The agentic workflow proceeds in 3 stages (eAppendix 1 in Supplement 1). This architecture differs from single-pass approaches by decomposing the summarization task into discrete stages, enabling processing of arbitrarily long hospitalizations while maintaining grounding in source documents at each step. AI indicates artificial intelligence.
Complete implementation details, including prompts and their sequence, source code, and predeployment evaluation metrics, have been published separately.18 No substantive prompt revisions were made during the pilot. The workflow processes only free-text clinical notes (eg, patient history and physical and daily progress notes) and does not access structured data, such as laboratory results, medication lists, or flowsheet data, from the electronic health record (EHR). For clinical deployment, we operationalized this code within Stanford Health Care infrastructure; clinical data were retrieved via Fast Healthcare Interoperability Resources calls,19 while workflow orchestration used LangChain20 version 0.2.14 (LangChain, Inc) on Databricks (Databricks, Inc), LLM inference was managed via LiteLLM version 1.44.22 (BerriAI),21 and secure email delivery used MuleSoft Anypoint Platform (Salesforce, Inc).22 An anonymized sample summary is available in eAppendix 2 in Supplement 1.
The output format, designed with input from hospitalist physicians (including one who subsequently participated in the pilot), included a patient one-liner, a narrative hospital course overview, and a problem-based summary. Each morning by 9:00 am, attending physicians received a separate secure email for each patient on their service. The AI-generated summary was attached as an interactive HTML file with inline citations linking each statement to its source note. To facilitate documentation, the file included a copy to clipboard button that captured the clean summary text, stripping citations, for direct pasting into the EHR (Epic Systems Corporation). Physicians were free to use, edit, or discard summaries at their discretion.
Outcomes and Measures
The primary outcome was the safety of unedited AI-generated summaries. Summary-level feedback was collected via a link embedded in the daily email and at the top of each HTML file of the AI-generated summary. Physicians were strongly encouraged to provide feedback for every AI summary they used; however, completion was voluntary. Physicians assessed each summary by answering the question “Based on your review, what is the maximum level of harm the unedited AI summary could cause if used for clinical care?” Response options were adapted from the Agency for Healthcare Research and Quality (AHRQ) Common Format Harm Scale23 and included (1) no harm, (2) mild harm (bodily or psychological injury resulting in minimal symptoms or loss of function or injury limited to additional treatment, monitoring, or increased length of stay), (3) moderate harm (bodily or psychological injury adversely affecting functional ability or quality of life but not at the level of severe harm), (4) severe harm (bodily or psychological injury, including pain or disfigurement, that interferes substantially with functional ability or quality of life), and (5) death. Secondary outcomes were assessed through 4 complementary data collection methods:
Prospective Physician Feedback
For each AI-generated summary, physicians were invited to complete a brief 6-item feedback form after their review (eAppendix 3 in Supplement 1). The survey assessed 3 domains:
-
Error profile:
Physicians categorized errors in the unedited AI summary by selecting all applicable types: inaccuracy (factually incorrect information contradicting the EHR or misrepresenting certainty), hallucination (fabricated information not corresponding to anything in the patient’s EHR), omission (exclusion of clinically important information present in clinical notes that belonged in the narrative), and incorrect citation (a reference link pointing to a note that did not support the statement).
-
Harm likelihood:
In addition to rating maximum potential harm severity (primary outcome), physicians rated how likely that level of harm would have been to occur (extremely unlikely, unlikely, likely, extremely likely, or not applicable).
-
Perceived quality and efficiency:
Physicians compared the overall quality of the AI summary to their standard documentation using a 5-point categorical scale ranging from “AI summary is much worse” to “AI summary is much better.” To assess subjective efficiency, physicians estimated the net time impact of using the AI summary on a 9-point categorical scale (ranging from “increased >15 minutes” to “saved >15 minutes”).
Retrospective Use Analysis
After the pilot concluded, we measured use by quantifying how much text from each AI-generated summary appeared in the physician’s final signed discharge note.24 Because some overlap is expected due to standard medical phrasing (eg, “the patient was admitted for...”), we established a baseline threshold to distinguish intentional incorporation from incidental similarity. Specifically, we calculated the proportion of consecutive word sequences from the AI summary that appeared verbatim in the final discharge note. We validated this approach using a historical cohort of discharge summaries written before physicians had access to the AI tool; the maximum overlap score observed in this predeployment control group served as the cutoff. Only postdeployment summaries exceeding this threshold were classified as incorporating the agentic workflow content.
Prepilot and Postpilot Surveys
Clinician well-being was assessed via paired surveys administered before and after the pilot period. Cognitive burden was measured using the NASA Task Load Index (NASA-TLX; score range, 0-100, with higher scores indicating greater cognitive burden),25 and burnout was measured using the Stanford Professional Fulfillment Index (PFI) Work Exhaustion Scale (score range, 0-4, with higher scores indicating greater burnout).26
EHR-Derived Efficiency Metrics
Time spent in discharge summary documentation and time from patient discharge to EHR closure were extracted from Epic EHR audit logs27,28 for pilot and prepilot baseline periods. To ensure valid intraparticipant comparisons, efficiency analysis was restricted to physicians who staffed the service and generated discharge summaries during both baseline and pilot periods.
Safety Monitoring Protocol
To ensure patient safety during the pilot, we implemented a real-time adjudication process. Any summary rated as “moderate harm” or higher triggered an immediate review by 2 independent hospitalist investigators (A.S.L. and S.P.M.) to cross-check the AI output against the EHR, validate the harm potential, and determine if the generation pipeline and LLM prompts needed to be adjusted.
Statistical Analysis
Continuous variables are reported as mean (SD) or median (IQR) as appropriate, and categorical variables are reported as frequency (percentage). Use and error rates were summarized using descriptive statistics. For well-being surveys, we analyzed the 10 paired prepilot and postpilot responses using the Wilcoxon signed-rank test, which accounts for the paired structure of the data. For time metrics (documentation time and EHR closure time), we used the Mann-Whitney U test to compare the distribution of times within each physician between baseline and pilot periods. Statistical significance was set at a 2-sided P < .05. Analyses were performed using Python version 3.12 (Python Software Foundation).
Results
Use and Clinical Adoption
Over the 10-week pilot, the AI system generated 1274 daily hospital course summaries. Because discharge timing is unpredictable, summaries were generated each day for every hospitalized patient, providing potential utility for handoffs and continuity of care, in addition to discharge documentation. During this period, there were 384 discharges for 331 unique patients. Physicians incorporated the AI-generated text into their final discharge documentation in 219 cases (57.0% use rate) (Figure 2), reflecting broad uptake across the team despite variability in individual usage frequency (eFigure 1 in Supplement 1).
Figure 2. Study Flowchart and Use of Artificial Intelligence (AI) Summaries.
EHR indicates electronic health record.
Safety and Error Profile
Physicians provided detailed safety feedback on 100 summaries (88 of 219 used summaries [40.2%] and 12 of 165 unused summaries [7.3%]). In 98 reviews (98.0%), physicians rated the likelihood of any harm occurring as “unlikely” or “extremely unlikely.” Regarding severity, 88 unedited summaries (88.0%) were rated as having “no harm potential” (Figure 3). A probabilistic model of the aggregate risk profile showed a density heavily skewed toward “no harm” (eAppendix 4 in Supplement 1).
Figure 3. Bar Graph of Physician-Reported Safety Assessment of Unedited Artificial Intelligence Summaries.
The figure shows the distribution of maximum harm severity and likelihood ratings across 100 physician reviews. Physicians rated harm severity using the Agency for Healthcare Research and Quality Common Format Harm Scale and assessed likelihood of harm.
One summary (1.0%) was rated as likely to cause moderate harm (AHRQ harm level, 3). In accordance with our safety monitoring protocol, this rating triggered an immediate adjudication by 2 independent hospitalist investigators. The case involved an AI summary stating, “Discharge Plan & Goals: Discontinue IV vancomycin; transition to oral antibiotics.” The reviewing physician noted that the summary failed to mention that a full 9-day course had already been completed and that the indication for oral antibiotics was prophylactic due to an unrelated condition. While the independent adjudication determined that the clinical directive was appropriate and posed no risk, we retained the original high-severity rating in our final dataset to ensure a conservative analysis of physician-perceived risk. No summaries were rated as having potential for severe harm (AHRQ harm level, 4) or death (AHRQ harm level, 5).
Regarding specific error types (Table 1; eTable 1 in Supplement 1), omissions were the most frequent issue, reported in 25 summaries with feedback (25.0%). Inaccuracies were reported in 20 summaries (20.0%); hallucinations (fabrications) were rare, reported in 2 summaries with feedback (2.0%). Incorrect citations were never reported. Despite the frequency of omissions, physicians rated 88 summaries (88.0%) as having no harm potential. Review of the free-text feedback revealed that omitted content typically fell into 3 categories: discharge plans for stable chronic conditions with little change from baseline, incomplete conveyance of diagnostic uncertainty or competing diagnoses, and insufficient emphasis on details that were mentioned but deserved more explicit attention. These omissions, while clinically relevant for completeness, were identifiable during physician review and did not alter immediate management decisions.
Table 1. Frequency and Types of Errors Reported in Unedited Artificial Intelligence Summaries.
| Error type | Reviews, No. (%), (n = 100)a | Representative examples |
|---|---|---|
| Omission | 25 (25.0) |
|
| Inaccuracy | 20 (20.0) |
|
| Hallucination | 2 (2.0) |
|
| Incorrect citation | 0 |
|
Data are based on 100 physician reviews. Percentages reflect the proportion of artificial intelligence–generated summaries where physicians reported the specific error. Multiple error types could be reported for a single summary. Representative examples are drawn verbatim from free-text physician feedback, including parenthetical clarifications provided by reviewing physicians. Omission is defined as the exclusion of clinically relevant information present in clinical notes, inaccuracy as factually incorrect information or misrepresentation of clinical details, hallucination as fabricated information not corresponding to anything in the patient electronic health record, and incorrect citation as a reference link pointing to a note that did not support the statement.
Association With Clinician Well-Being
The survey response rate was 10 of 11 physicians who completed both before and after surveys (90.9%). The pilot was associated with a decrease in physician burnout; the mean Stanford PFI Work Exhaustion score decreased from 1.75 (95% CI, 1.16-2.34) to 1.20 (95% CI, 0.71-1.69; P = .03) (Table 2; eFigure 2 in Supplement 1). This reduction is clinically meaningful; the group mean crossed the established PFI burnout threshold of 1.33,26 shifting from a level consistent with burnout to one below it, with improvements observed across all 4 Work Exhaustion items. Two of 10 physicians had increases in burnout scores, and 3 of 10 had increases in cognitive load, reflecting heterogeneous individual response. Mean cognitive burden, measured by the NASA-TLX, did not show a significant change (57.5; 95% CI, 48.7-66.3 to 52.3; 95% CI, 42.0-62.7; P = .30) (Table 2; eFigure 3 in Supplement 1).
Table 2. Changes in Physician Well-Being Scores Before and After Pilot.
| Measure | Score, mean (95% CI)a | Mean difference (95% CI)b | |
|---|---|---|---|
| Before pilot | After pilot | ||
| Stanford PFI Work Exhaustion Scale score (range, 0-4) | |||
| Sense of dread | 2.00 (1.42 to 2.58) | 1.20 (0.64 to 1.76) | −0.80 (−1.10 to −0.50) |
| Physical exhaustion | 1.70 (1.02 to 2.38) | 1.20 (0.64 to 1.76) | −0.50 (−1.11 to 0.11) |
| Lack of enthusiasm | 1.50 (0.89 to 2.11) | 0.90 (0.27 to 1.53) | −0.60 (−1.29 to 0.09) |
| Emotional exhaustion | 1.80 (1.06 to 2.54) | 1.50 (0.89 to 2.11) | −0.30 (−0.98 to 0.38) |
| Overall | 1.75 (1.16 to 2.34) | 1.20 (0.71 to 1.69) | −0.55 (−1.01 to −0.09) |
| NASA-TLX score (range, 0-100) | |||
| Mental demand | 55.0 (43.2 to 66.8) | 43.0 (26.1 to 59.9) | −12.0 (−31.9 to 7.9) |
| Physical demand | 29.0 (12.0 to 46.0) | 25.0 (9.1 to 40.9) | −4.0 (−17.1 to 9.1) |
| Temporal demand | 62.0 (49.9 to 74.1) | 56.0 (37.2 to 74.8) | −6.0 (−21.2 to 9.2) |
| Performance | 84.0 (67.1 to 100.0) | 87.0 (73.1 to 100.0) | 3.0 (−0.5 to 6.5) |
| Effort | 65.0 (50.6 to 79.4) | 56.0 (42.9 to 69.1) | −9.0 (−30.2 to 12.2) |
| Frustration | 50.0 (28.1 to 71.9) | 47.0 (26.5 to 67.5) | −3.0 (−19.2 to 13.2) |
| Overall | 57.5 (48.7 to 66.3) | 52.3 (42.0 to 62.7) | −5.2 (−15.7 to 5.4) |
Abbreviations: NASA-TLX, NASA Task Load Index; PFI, Professional Fulfillment Index.
Paired comparison of survey results among 10 physicians for the Stanford PFI Work Exhaustion scale and NASA-TLX. Higher PFI scores indicate greater burnout; higher NASA-TLX scores indicate greater cognitive burden.
P values are from Wilcoxon signed-rank sum tests comparing within-physician discharge summary times across periods. P values for overall scores were .03 for Stanford PFI Work Exhaustion Scale and .34 for NASA-TLX.
Efficiency Metrics
Among the 7 physicians with matched baseline data, 5 physicians (71.4%) saw reductions from baseline to pilot in median time spent per discharge summary of up to 2.9 minutes, which was a nonsignificant difference (physician 1: 10.7; 95% CI, 7.4-13.3 vs 7.8; 95% CI, 5.1-11.7; P = .13), whereas 2 physicians (28.6%) had increases of up to 1.5 minutes (physician 7: 5.6 minutes; 95% CI, 3.9-8.0 minutes vs 7.1 minutes; 95% CI, 5.5-17.9 minutes; P < .001) (eTable 2 in Supplement 1). EHR closure time remained largely unchanged for most physicians, although 1 physician experienced significantly longer time to EHR closure during the pilot period (eTable 3 in Supplement 1).
Subjective assessments of efficiency were notably more positive than audit logs. In feedback surveys, clinicians reported perceived time savings in 67 cases (67.0%), with 32 responses (32.0%) estimating a savings of greater than 15 minutes per summary (eFigure 4 and eTable 4 in Supplement 1). There were 8 reviews (8.0%) that indicated that the AI summary increased documentation time.
Regarding perceived quality, physicians rated unedited AI summaries as equal to or better than their standard documentation in 65 reviews (65.0%), including 38 reviews (38.0%) with “about the same,” 25 reviews (25.0%) with “better,” and 2 reviews (2.0%) with “much better” ratings). In 35 reviews (35.0%), the AI summary was rated as worse than the physician’s typical output; no summaries were rated “much worse” (eFigure 5 in Supplement 1).
Discussion
This prospective pilot quality improvement study provides the essential clinical evidence that an agentic LLM workflow may safely and effectively assist physicians in drafting discharge summaries. We found that our agentic workflow summaries were overall safe (88.0% no harm potential) and used in most cases (57.0%). The intervention was associated with a measurable reduction in physician burnout.
Nature of Errors and Future Safety Mechanisms
Technology assessments typically treat safety as secondary to efficacy.15 Given the pace at which commercial vendors are integrating LLMs into EHRs, often prioritizing speed over validation,29,30 evaluation of these tools to establish safety is urgently needed before demonstrating efficacy at scale. Our results suggest that with appropriate guardrails, agentic LLM workflows for hospital course summarization may be deployed safely in clinical settings.
The observed error profile reveals a fundamental distinction in LLM failure modes. While early commentary on clinical AI focused heavily on risks of hallucination,31 only 2.0% of our summaries contained fabricated content, comparing favorably with rates exceeding 40% reported in studies of single-pass LLM clinical text generation.32 We suggest that this reduction was associated with our agentic workflow architecture: the 3-stage process (draft generation, iterative refinement, and hallucination reduction) cross-references generated claims against source documents before producing the output. Hallucinations and inaccuracies represent verification problems, failures of grounding where generated text contradicts or lacks support from source data, and are increasingly mitigated through advances in retrieval-augmented generation33 and external verification tools.34,35
In contrast, the primary issue identified in this pilot was omissions (25.0%), which may arise from multiple causes. First, our agentic workflow summaries were generated at midnight using notes available at that time; clinical events occurring on the day of discharge (eg, final test results or last-minute care coordination) would not have been captured, contributing to perceived omissions during morning review. Second, some relevant information may not have been available in input documents; for example, certain pathology reports and laboratory data that exist primarily as structured data in the EHR may not have been captured in clinical notes processed by the system. This data integration challenge is addressable through expanded data pipelines and adjusted generation timing. Third, and more persistently, omissions may reflect a value alignment problem; the information is present in the source text, but the model fails to recognize it as clinically important. Physician feedback indicated that many low-harm omissions involved stable chronic conditions, diagnostic uncertainty, or details that were technically mentioned but not given sufficient emphasis. Unlike hallucinations, alignment-driven omissions cannot be solved by simply checking against the source text; they require the AI to reliably predict what human experts value, which involves implicit preferences that are difficult to formalize. Consequently, future development must pursue a dual track: deploying automated verification tools to mitigate hallucinations36,37 and using emerging frameworks to capture human preference data at scale, training models to align with physician judgment and reduce the risk of omission.38
Cognitive Offloading Over Clock-Time Efficiency
A notable finding in this pilot was the discrepancy between subjective and objective efficiency measures. While only 71.4% of physicians showed reductions in median documentation time (and these ranged modestly up to 2.9 minutes), 67.0% of feedback responses reported perceived time savings, with nearly one-third (32.0%) estimating savings exceeding 15 minutes per summary.
This pattern, where perceived value and well-being improvements outpace measured time reductions, is consistent with evaluations of other generative AI documentation tools. Studies of ambient AI scribes39,40 and LLM-generated draft replies41 have similarly reported well-being improvements without proportionate time savings. These convergent findings suggest that the primary benefit of generative AI tools lies in cognitive offloading rather than clock-time efficiency. The AI serves as a scaffolding tool, providing a structured starting point that physicians review and refine rather than generate de novo. This shifts the value proposition from efficiency to sustainability, explaining why burnout improved when clock time did not. Notably, higher use appeared to track with greater improvements in burnout and time savings among individual physicians, suggesting a possible dose-response association. However, with only 10 paired observations, formal mediation analysis is not warranted; this hypothesis merits investigation in adequately powered studies. The 57.0% use rate we observed was achieved without mandated use and compares favorably to 20% for draft message replies41 and 30% to 38% for ambient scribes in pilot settings,39,40 supporting the notion that clinicians embrace AI tools that deliver usable content integrated into existing workflows.
Future Directions
Addressing the omission problem identified in this study, where 25.0% of summaries lacked clinically important information, will require infrastructure for continuous improvement. Relying solely on static, one-off trials is unsustainable given the rapid pace of AI evolution42; instead, scaling this intervention will benefit from a continuously learning health system framework.43,44 Practically, this means integrating automated verification tools to catch hallucinations and inaccuracies45 while embedding mechanisms to capture physician preferences at scale. These data are essential for training models to recognize what constitutes clinically important information and thus reduce omissions.18
Future work must also monitor for unintended consequences of efficiency gains. If health organizations repurpose AI-derived time savings into demands for higher throughput, the well-being benefits we observed could be negated, transforming a supportive tool into a mechanism for work intensification.46 Postdeployment surveillance should therefore track not only rare adverse events, but also shifts in workload expectations and clinician well-being over time.
Limitations
This study has several limitations. The pilot was conducted at a single inpatient unit. Although this unit has high discharge volume, results may not generalize to settings with different patient populations, acuity levels, or documentation norms. Additionally, given that less experienced physicians may be more susceptible to overreliance on AI-generated content, the attending-only setting may not generalize to the more common academic model where residents draft discharge summaries. The study involved 11 physicians but encompassed 384 discharges for 331 unique patients with systematic assessment; nonetheless, the sample size limits statistical power for subgroup analyses, and we did not stratify by case complexity or length of stay. Future work should examine performance in complex, prolonged hospitalizations where summarization is most difficult and most valuable.
The 40.2% feedback response rate, while high for a prospective pilot conducted during routine clinical care, may introduce selection bias. Physicians may have been more likely to provide feedback on summaries with notable errors or exceptional quality rather than routine cases. Additionally, we cannot rule out that some physicians discarded summaries they judged to be problematic without taking the additional step of reporting their concerns, which would mean that our safety data are drawn disproportionately from better-performing summaries. However, we believe any such bias is likely conservative; physicians encountering no issues would have less motivation to report, whereas those identifying safety concerns would be more likely to do so.
Our safety assessments relied on prospective physician review during active clinical care; while physicians under time pressure may miss errors detectable through formal retrospective adjudication, our evaluators were the treating physicians at the time of discharge and thus best positioned to assess clinical accuracy for their own patients. Harm was also assessed by authoring physicians rather than downstream care recipients (eg, primary care physicians), who may weigh omissions and clinical importance differently. We lacked a contemporaneous control group and a systematic assessment of errors in human-authored discharge summaries, making it difficult to quantify the incremental risk or benefit associated with the AI system.
The pilot used Gemini 2.5 Pro as the underlying LLM; although our agentic workflow is model agnostic and prior work suggests that the agentic workflow itself is associated with improved output quality,18 performance may vary across models. The 10-week duration precludes assessment of long-term outcomes, such as potential degradation of clinical synthesis skills47 or rare adverse events.
Conclusions
This quality improvement study found that an agentic LLM workflow could generate safe, useful clinical summaries within clinical care, with an associated reduction in physician burnout despite modest time savings. While the workflow architecture effectively mitigated hallucinations, omissions remained the predominant error type. Addressing these will require incorporating structured EHR data, adjusting generation timing, and developing scalable methods to align model outputs with physician judgment.
eAppendix 1. Agentic Workflow
eAppendix 2. Anonymized Sample of a Agentic Workflow Hospital Course Summary
eAppendix 3. Prospective Physician Feedback Survey Instrument
eAppendix 4. Statistical Methodology for Modeling Harm Probability Density and Physician-Reported Safety Assessment of Unedited AI Summaries
eFigure 1. Physician-Level Use Rates
eFigure 2. Physician-Level Burnout Scores (Stanford PFI)
eFigure 3. Physician-level Cognitive Burden Scores (NASA-TLX)
eFigure 4. Subjective Association With Documentation Time
eFigure 5. Physician-Reported Quality of AI Summaries Compared With Standard Documentation
eTable 1. Frequency of Reported Errors by Physician
eTable 2. Active Documentation Time Per Discharge Summary
eTable 3. Time from Discharge to EHR Closure
eTable 4. Cognitive Offloading: Objective Efficiency vs. Subjective and Sustainability Outcomes
Data Sharing Statement
References
- 1.Kripalani S, LeFevre F, Phillips CO, Williams MV, Basaviah P, Baker DW. Deficits in communication and information transfer between hospital-based and primary care physicians: implications for patient safety and continuity of care. JAMA. 2007;297(8):831-841. doi: 10.1001/jama.297.8.831 [DOI] [PubMed] [Google Scholar]
- 2.Forster AJ, Murff HJ, Peterson JF, Gandhi TK, Bates DW. The incidence and severity of adverse events affecting patients after discharge from the hospital. Ann Intern Med. 2003;138(3):161-167. doi: 10.7326/0003-4819-138-3-200302040-00007 [DOI] [PubMed] [Google Scholar]
- 3.van Walraven C, Seth R, Austin PC, Laupacis A. Effect of discharge summary availability during post-discharge visits on hospital readmission. J Gen Intern Med. 2002;17(3):186-192. doi: 10.1046/j.1525-1497.2002.10741.x [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Moy AJ, Schwartz JM, Chen R, et al. Measurement of clinical documentation burden among physicians and nurses using electronic health records: a scoping review. J Am Med Inform Assoc. 2021;28(5):998-1008. doi: 10.1093/jamia/ocaa325 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Sinsky C, Colligan L, Li L, et al. Allocation of physician time in ambulatory practice: a time and motion study in 4 specialties. Ann Intern Med. 2016;165(11):753-760. doi: 10.7326/M16-0961 [DOI] [PubMed] [Google Scholar]
- 6.Adler-Milstein J, Zhao W, Willard-Grace R, Knox M, Grumbach K. Electronic health records and burnout: time spent on the electronic health record after hours and message volume associated with exhaustion but not with cynicism among primary care clinicians. J Am Med Inform Assoc. 2020;27(4):531-538. doi: 10.1093/jamia/ocz220 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Ham PB III, Anderton T, Gallaher R, et al. Development of electronic medical record-based “rounds report” results in improved resident efficiency, more time for direct patient care and education, and less resident duty hour violations. Am Surg. 2016;82(9):853-859. doi: 10.1177/000313481608200950 [DOI] [PubMed] [Google Scholar]
- 8.Dziadzko MA, Herasevich V, Sen A, Pickering BW, Knight AMA, Moreno Franco P. User perception and experience of the introduction of a novel critical care patient viewer in the ICU setting. Int J Med Inform. 2016;88:86-91. doi: 10.1016/j.ijmedinf.2016.01.011 [DOI] [PubMed] [Google Scholar]
- 9.Thirunavukarasu AJ, Ting DSJ, Elangovan K, Gutierrez L, Tan TF, Ting DSW. Large language models in medicine. Nat Med. 2023;29(8):1930-1940. doi: 10.1038/s41591-023-02448-8 [DOI] [PubMed] [Google Scholar]
- 10.Hartman VC, Bapat SS, Weiner MG, Navi BB, Sholle ET, Campion TR Jr. A method to automate the discharge summary hospital course for neurology patients. J Am Med Inform Assoc. 2023;30(12):1995-2003. doi: 10.1093/jamia/ocad177 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Williams CYK, Subramanian CR, Ali SS, et al. Physician- and large language model-generated hospital discharge summaries. JAMA Intern Med. 2025;185(7):818-825. doi: 10.1001/jamainternmed.2025.0821 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Bedi S, Jiang Y, Chung P, Koyejo S, Shah N. Fidelity of medical reasoning in large language models. JAMA Netw Open. 2025;8(8):e2526021. doi: 10.1001/jamanetworkopen.2025.26021 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Goodman KE, Yi PH, Morgan DJ. AI-generated clinical summaries require more than accuracy. JAMA. 2024;331(8):637-638. doi: 10.1001/jama.2024.0555 [DOI] [PubMed] [Google Scholar]
- 14.Morgan DJ, Branch-Elliman W, Goodman KE. Time to study implementation of AI-generated discharge summaries. JAMA Intern Med. 2025;185(7):825-826. doi: 10.1001/jamainternmed.2025.0827 [DOI] [PubMed] [Google Scholar]
- 15.Bedi S, Liu Y, Orr-Ewing L, et al. Testing and evaluation of health care applications of large language models: a systematic review. JAMA. 2025;333(4):319-328. doi: 10.1001/jama.2024.21700 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Comanici G, Bieber E, Schaekermann M, et al. Gemini 2.5: pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv. Preprint posted online December 19, 2025. doi: 10.48550/arXiv.2507.06261 [DOI]
- 17.Ng MY, Helzer J, Pfeffer MA, Seto T, Hernandez-Boussard T. Development of secure infrastructure for advancing generative artificial intelligence research in healthcare at an academic medical center. J Am Med Inform Assoc. 2025;32(3):586-588. doi: 10.1093/jamia/ocaf005 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Grolleau F, Alsentzer E, Keyes T, et al. MedFactEval and MedAgentBrief: a framework and workflow for generating and evaluating factual clinical summaries. Pac Symp Biocomput. 2026;31:388-399. doi: 10.1142/9789819824755_0027 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Health Level 7 International . HL7 FHIR release 4. 2019. Accessed April 17, 2026. https://www.hl7.org/fhir/R4/
- 20.Chase H. LangChain. GitHub. Accessed April 17, 2026. https://github.com/langchain-ai/langchain
- 21.Berri I. LiteLLM. GitHub. Accessed April 17, 2026. https://github.com/BerriAI/litellm
- 22.Salesforce . MuleSoft. Accessed April 17, 2026. https://www.mulesoft.com
- 23.Williams T, Szekendi M, Pavkovic S, Clevenger W, Cerese J. The reliability of AHRQ Common Format Harm Scales in rating patient safety events. J Patient Saf. 2015;11(1):52-59. doi: 10.1097/PTS.0b013e3182948ef9 [DOI] [PubMed] [Google Scholar]
- 24.Ratcliff JW, Metzener DE. Pattern matching: the gestalt approach. Dr Dobb’s Journal. 1988. Accessed April 17, 2026. https://jacobfilipp.com/DrDobbs/articles/DDJ/1988/8807/8807c/8807c.htm
- 25.Hart SG, Staveland LE. Development of NASA-TLX (Task Load Index): results of empirical and theoretical research. Advances in Psychology. 1988;52:139-183. doi: 10.1016/S0166-4115(08)62386-9 [DOI] [Google Scholar]
- 26.Trockel M, Bohman B, Lesure E, et al. A brief instrument to assess both burnout and professional fulfillment in physicians: reliability and validity, including correlation with self-reported medical errors, in a sample of resident and practicing physicians. Acad Psychiatry. 2018;42(1):11-24. doi: 10.1007/s40596-017-0849-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Rule A, Chiang MF, Hribar MR. Using electronic health record audit logs to study clinical activity: a systematic review of aims, measures, and methods. J Am Med Inform Assoc. 2020;27(3):480-490. doi: 10.1093/jamia/ocz196 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Epic Systems Corporation . Clarity table (NOTE_WRITE_TIMING)—Epic data handbook. Accessed January 20, 2026. https://datahandbook.epic.com
- 29.Mello MM, Guha N. Understanding liability risk from using health care artificial intelligence tools. N Engl J Med. 2024;390(3):271-278. doi: 10.1056/NEJMhle2308901 [DOI] [PubMed] [Google Scholar]
- 30.Mehta V, Komanduri A, Bhadouriya RS, et al. Evaluating transparency in AI/ML model characteristics for FDA-reviewed medical devices. NPJ Digit Med. 2025;8(1):673. doi: 10.1038/s41746-025-02052-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Lee P, Bubeck S, Petro J. Benefits, limits, and risks of GPT-4 as an AI chatbot for medicine. N Engl J Med. 2023;388(13):1233-1239. doi: 10.1056/NEJMsr2214184 [DOI] [PubMed] [Google Scholar]
- 32.Williams CYK, Bains J, Tang T, et al. Evaluating large language models for drafting emergency department encounter summaries. PLOS Digit Health. 2025;4(6):e0000899. doi: 10.1371/journal.pdig.0000899 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Zakka C, Shad R, Chaurasia A, et al. AlmanacRetrieval—augmented language models for clinical medicine. NEJM AI. Published online January 25, 2024. doi: 10.1056/AIoa2300068 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Asgari E, Montaña-Brown N, Dubois M, et al. A framework to assess clinical safety and hallucination rates of LLMs for medical text summarisation. NPJ Digit Med. 2025;8(1):274. doi: 10.1038/s41746-025-01670-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Aali A, Bikia V, Varma M, et al. MedVAL: toward expert-level medical text validation with language models. arXiv. Preprint posted online February 6, 2026. doi: 10.48550/arXiv.2507.03152 [DOI]
- 36.Chung P, Swaminathan A, Goodell AJ, et al. Verifying facts in patient care documents generated by large language models using electronic health records. NEJM AI. Published online December 24, 2025. doi: 10.1056/AIdbp2500418 [DOI] [Google Scholar]
- 37.Min S, Krishna K, Lyu X, et al. FActScore: fine-grained atomic evaluation of factual precision in long form text generation. In: Bouamor H, Pino J, Bali K, eds. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics; 2023:12076-12100. doi: 10.18653/v1/2023.emnlp-main.741 [DOI] [Google Scholar]
- 38.Ouyang L, Wu J, Jiang X, et al. Training language models to follow instructions with human feedback. NeurIPS. 2022. Accessed April 17, 2026. https://proceedings.neurips.cc/paper_files/paper/2022/file/b1efde53be364a73914f58805a001731-Paper-Conference.pdf [Google Scholar]
- 39.Lukac PJ, Turner W, Vangala S, et al. Ambient AI scribes in clinical practice: a randomized trial. NEJM AI. Published online November 26, 2025. doi: 10.1056/AIoa2501000 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Afshar M, Baumann MR, Resnik F, et al. A pragmatic randomized controlled trial of ambient artificial intelligence to improve health practitioner well-being. NEJM AI. 2025;2(12):10.1056/aioa2500945. doi: 10.1056/AIoa2500945 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Garcia P, Ma SP, Shah S, et al. Artificial intelligence-generated draft replies to patient inbox messages. JAMA Netw Open. 2024;7(3):e243201. doi: 10.1001/jamanetworkopen.2024.3201 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Shah NH, Pfeffer MA, Ghassemi M. The need for continuous evaluation of artificial intelligence prediction algorithms. JAMA Netw Open. 2024;7(9):e2433009. doi: 10.1001/jamanetworkopen.2024.33009 [DOI] [PubMed] [Google Scholar]
- 43.Friedman CP, Wong AK, Blumenthal D. Achieving a nationwide learning health system. Sci Transl Med. 2010;2(57):57cm29. doi: 10.1126/scitranslmed.3001456 [DOI] [PubMed] [Google Scholar]
- 44.Friedman CP, Lomotan EA, Richardson JE, Ridgeway JL. Socio-technical infrastructure for a learning health system. Learn Health Syst. 2024;8(1):e10405. doi: 10.1002/lrh2.10405 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Shah NH, Ambers N, Pandya A, et al. Adoption and use of LLMs at an academic medical center. arXiv. Preprint posted online January 21, 2026. doi: 10.48550/arXiv.2602.00074 [DOI]
- 46.Adler-Milstein J, Redelmeier DA, Wachter RM. The limits of clinician vigilance as an AI safety bulwark. JAMA. 2024;331(14):1173-1174. doi: 10.1001/jama.2024.3620 [DOI] [PubMed] [Google Scholar]
- 47.Budzyń K, Romańczyk M, Kitala D, et al. Endoscopist deskilling risk after exposure to artificial intelligence in colonoscopy: a multicentre, observational study. Lancet Gastroenterol Hepatol. 2025;10(10):896-903. doi: 10.1016/S2468-1253(25)00133-5 [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
eAppendix 1. Agentic Workflow
eAppendix 2. Anonymized Sample of a Agentic Workflow Hospital Course Summary
eAppendix 3. Prospective Physician Feedback Survey Instrument
eAppendix 4. Statistical Methodology for Modeling Harm Probability Density and Physician-Reported Safety Assessment of Unedited AI Summaries
eFigure 1. Physician-Level Use Rates
eFigure 2. Physician-Level Burnout Scores (Stanford PFI)
eFigure 3. Physician-level Cognitive Burden Scores (NASA-TLX)
eFigure 4. Subjective Association With Documentation Time
eFigure 5. Physician-Reported Quality of AI Summaries Compared With Standard Documentation
eTable 1. Frequency of Reported Errors by Physician
eTable 2. Active Documentation Time Per Discharge Summary
eTable 3. Time from Discharge to EHR Closure
eTable 4. Cognitive Offloading: Objective Efficiency vs. Subjective and Sustainability Outcomes
Data Sharing Statement



