Abstract
Hospital discharge instructions are critical for post-operative care and medication adherence, yet they are often written in dense medical jargon that patients struggle to comprehend. This paper introduces EHRTutor, a multi-component framework leveraging Large Language Models (LLMs) to act as an interactive medical tutor. Unlike traditional question-answering systems, EHRTutor employs a "Reasoning + Acting" (ReAct) framework to engage patients in pedagogical dialogues, using hints to foster active recall. Our evaluation demonstrates that EHRTutor significantly improves information coverage and factuality compared to standard LLM baselines, offering a promising tool for improving health literacy.
Introduction
The transition from hospital to home is a high-risk period. Patients are often overwhelmed by complex instructions regarding medication changes, follow-up appointments, and warning signs. Poor comprehension leads to non-adherence, which is a primary driver of hospital readmissions. While digital health tools have attempted to bridge this gap, most provide direct answers that do not ensure long-term retention. EHRTutor addresses this by applying educational psychology principles—specifically active recall and hinting—within a conversational AI framework to ensure patients truly understand their care plans.
Methodology: The EHRTutor Pipeline
EHRTutor is structured into three specialized modules designed to ensure safety, pedagogical effectiveness, and clarity.
1. Question Generation
The system does not simply prompt the patient. It first identifies critical "key points" from the discharge notes. Using expert-designed templates, it generates questions covering medications, tests, and follow-ups. A final Verification Chain ensures that every question is grounded in the provided text, mitigating the risk of hallucination.
2. Interactive Conversation (ReAct Framework)
The core of EHRTutor is the "Doctor Agent," which utilizes the ReAct (Reasoning + Acting) framework. The agent maintains an internal "scratchpad" to reason about patient responses. If a patient provides an incomplete or incorrect answer, the agent provides a hint rather than the direct answer, prompting the patient to think critically about their instructions.
3. Summarization
Upon completion of the dialogue, EHRTutor generates a summary for both the patient and the clinician. This summary highlights areas of successful comprehension and identifies specific topics where the patient may require further clarification.
Datasets and Synthetic Dialogue Generation
The framework was developed using the MIMIC-III database. To enhance model robustness, the researchers generated a dataset of 5,000 synthetic patient education dialogues. These dialogues simulate a variety of patient behaviors—including correct, incorrect, and irrelevant responses—allowing for the training of specialized models that can operate without reliance on external APIs.
Evaluation and Results
EHRTutor was benchmarked against a GPT-4 baseline using evaluations from medical practitioners and advanced LLMs (GPT-4 and Claude-2).
- Information Coverage: EHRTutor achieved a coverage score of 4.59/5, significantly outperforming the GPT-4 baseline (3.36/5).
- Factuality: In human evaluations, EHRTutor maintained a perfect 5/5 factuality score, ensuring no medical misinformation was introduced during the tutoring process.
- Preference: In head-to-head comparisons, EHRTutor was preferred over the baseline in 69% of cases, with evaluators noting its superior ability to guide patients toward correct understanding.
Discussion and Limitations
Despite the success of the Verification Chain, the potential for LLM hallucination remains a concern in clinical applications. Furthermore, EHRTutor currently operates under a "closed-world" assumption, meaning it may struggle if a patient asks questions about symptoms or conditions not explicitly mentioned in the discharge notes. Future research will focus on integrating external medical knowledge bases and further refining the system's ability to handle out-of-distribution patient queries.
Conclusion
EHRTutor represents a shift from passive information delivery to active patient education. By combining the reasoning capabilities of LLMs with pedagogical strategies, the framework provides a scalable and effective method for ensuring patients leave the hospital with the knowledge necessary for a safe recovery.
Summary updated