Skip to main navigation Skip to search Skip to main content

MEDPLAN: A Two-Stage RAG-Based System for Personalized Medical Plan Generation

  • Hsin Ling Hsu
  • , Cong Tinh Dao
  • , Luning Wang
  • , Zitao Shuai
  • , Nguyen Minh Thao Phan
  • , Jun En Ding
  • , Chun Chieh Liao
  • , Pengfei Hu
  • , Xiaoxue Han
  • , Chih Ho Hsu
  • , Dongsheng Luo
  • , Wen Chih Peng
  • , Feng Liu
  • , Fang Ming Hung
  • , Chenwei Wu
  • National Chengchi University
  • National Yang Ming Chiao Tung University
  • Can Tho University
  • University of Michigan, Ann Arbor
  • Stevens Institute of Technology
  • Far Eastern Memorial Hospital
  • Florida International University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Despite recent success in applying large language models (LLMs) to electronic health records (EHR), most systems focus primarily on assessment rather than treatment planning. We identify three critical limitations in current approaches: they generate treatment plans in a single pass rather than following the sequential reasoning process used by clinicians; they rarely incorporate patient-specific historical context; and they fail to effectively distinguish between subjective and objective clinical information. Motivated by the SOAP methodology (Subjective, Objective, Assessment, Plan), we introduce MEDPLAN, a novel framework that structures LLM reasoning to align with real-life clinician workflows. Our approach employs a two-stage architecture that first generates a clinical assessment based on patient symptoms and objective data, then formulates a structured treatment plan informed by this assessment and enriched with patient-specific information through retrieval-augmented generation. Comprehensive evaluation demonstrates that our method significantly outperforms baseline approaches in both assessment accuracy and treatment plan quality. Our demo system and code are available at https://github.com/JustinHsu1019/MedPlan.

Original languageEnglish
Title of host publicationIndustry Track
EditorsGeorg Rehm, Yunyao Li
Pages1072-1082
Number of pages11
ISBN (Electronic)9798891762886
DOIs
StatePublished - 2025
Event63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025 - Vienna, Austria
Duration: 27 Jul 20251 Aug 2025

Publication series

NameProceedings of the Annual Meeting of the Association for Computational Linguistics
Volume6
ISSN (Print)0736-587X

Conference

Conference63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025
Country/TerritoryAustria
CityVienna
Period27/07/251/08/25

Fingerprint

Dive into the research topics of 'MEDPLAN: A Two-Stage RAG-Based System for Personalized Medical Plan Generation'. Together they form a unique fingerprint.

Cite this