Subscribe to RSS
DOI: 10.1055/a-2707-2862
Leveraging Electronic Health Record Data and Up-to-Date Clinical Guidelines for High-Accuracy Clinical Diabetes Drug and Dosage Recommendation
Authors

Abstract
Background
Existing drug recommendation systems lack integration with up-to-date clinical guidelines (the latest diabetes association standards of care and clinical guidelines that align with local government health care regulations) and lack high-precision drug interaction processing, explainability, and dynamic dosage adjustment. As a result, the recommendations generated by these systems are often inaccurate and do not align with local standards, greatly limiting their practicality.
Objective
To develop a personalized drug recommendation and dosage optimization system named Diabetes Drug Recommendation System (DDRs), integrating Fast Healthcare Interoperability Resources-standardized electronic health record (EHR) data and up-to-date clinical guidelines for accurate and practical recommendations.
Methods
We analyzed patients' EHR and International Classification of Diseases-tenth edition codes and integrated them with a drug interaction database to reduce adverse reactions. ADA guidelines and Taiwan's National Health Insurance (NHI) chronic disease guidelines served as data sources. Bio-GPT and Retrieval-Augmented Generation (RAG) were used to build the clinical guideline database and ensure recommendations align with the latest standards, with references provided for interpretability. Finally, optimal dosage was dynamically calculated by integrating patient disease progression trends from the EHR.
Results
DDRs achieved superior drug recommendation accuracy (Precision–Recall Area Under the Curve = 0.7951, Jaccard = 0.5632, F1-score = 0.7158), with a low drug–drug interaction rate (4.73%) and dosage error (±6.21%). Faithfulness of recommendations reached 0.850. Field validation with three physicians showed that the system reduced literature review time by 30 to 40% and delivered clinically actionable recommendations.
Conclusion
DDRs is the first system to integrate EHR data, LLMs, RAG, ADA guidelines, and Taiwan NHI policies for diabetes treatment. The system demonstrates high accuracy, safety, and interpretability, offering practical decision support in routine clinical settings.
Keywords
drug recommendation system - drug interactions - clinical decision support systems - electronic health records - large language modelsPublication History
Received: 31 May 2025
Accepted: 22 September 2025
Accepted Manuscript online:
24 September 2025
Article published online:
10 October 2025
© 2025. Thieme. All rights reserved.
Georg Thieme Verlag KG
Oswald-Hesse-Straße 50, 70469 Stuttgart, Germany
-
References
- 1 Zhu F, Cui L, Xu Y, Qu Z, Shen Z. A survey of personalized medicine recommendation. Int J Crowd Sci. 2024; 8 (02) 77-82
- 2 Luo R, Sun L, Xia Y. et al. BioGPT: generative pre-trained transformer for biomedical text generation and mining. Brief Bioinform 2022; 23 (06) bbac409
- 3 Choi E, Bahadori MT, Sun J. et al. RETAIN: an interpretable predictive model for healthcare using reverse time attention mechanism. In: Lee DD, Sugiyama M, Luxburg UV, Guyon I, Garnett R. eds. Advances in Neural Information Processing Systems 29 (NeurIPS 2016). Curran Associates Inc.; 2016: 3512-3520
- 4 Symeonidis P, Chairistanidis S, Zanker M. Deep reinforcement learning for medicine recommendation. In: Proceedings of the 2022 IEEE 22nd International Conference on Bioinformatics and Bioengineering (BIBE); November 7–9, 2022; Taichung, Taiwan. IEEE; 2022
- 5 Chairat S, Sae-Ang A, Suvirat K, Ingviya T, Chaichulee S. Medication recommendation using word embedding and recurrent neural network. Paper presented at: 2023 15th Biomedical Engineering International Conference (BMEiCON); October 28–31, 2023; Tokyo, Japan. IEEE
- 6 Bhoi S, Lee ML, Hsu W, Tan NC. REFINE: a fine-grained medication recommendation system using deep learning and personalized drug interaction modeling. In: Proceedings of the 37th International Conference on Neural Information Processing Systems (NeurIPS 2023); December 10, 2023; New Orleans, LA. Article no. 1043: 24013–24024
- 7 Shang J, Xiao C, Ma T, Li H, Sun J. GAMENet: graph augmented memory networks for recommending medication combination. In: Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19); January 27, 2019; Honolulu, HI. Article No. 139:1126–1133
- 8 Sun Y, Wang X, Wang Y. et al. MedGPT: a large language model for medical domain. May 5, 2021
- 9 Wu R, Qiu Z, Jiang J, Qi G, Wu X. Conditional generation net for medication recommendation. In: Proceedings of the ACM Web Conference 2022 (WWW '22). April 25, 2022:935–945
- 10 Liu Q, Wu X, Zhao X. et al. Large language model distilling medication recommendation model. January 27, 2025
- 11 Lyu H, Jiang S, Zeng H. et al. LLM-Rec: personalized recommendation via prompting large language models. April 2, 2024
- 12 Wang Y, Jiang Z, Chen Z. et al. RecMind: large language model powered agent for recommendation. In: Findings of the Association for Computational Linguistics: NAACL 2024; June 2024:4351–4364. Mexico City, Mexico
- 13 Zhang J, Xie R, Hou Y. et al. Recommendation as instruction following: a large language model empowered recommendation approach. ACM Trans Inf Syst 2024. December 20, 2024
- 14 Huang X, Lian J, Lei Y, Yao J, Lian D, Xie X. Recommender AI agent: integrating large language models for interactive recommendations. arXiv. Published online January 30, 2024
- 15 Li J, Zhang W, Wang T, Xiong G, Lu A, Medioni G. GPT4Rec: a generative framework for personalized recommendation and user interests interpretation. arXiv. Published online April 8, 2023
- 16 Xi Y, Liu W, Lin J. et al. Towards open-world recommendation with knowledge augmentation from large language models. In: Proceedings of the 18th ACM Conference on Recommender Systems (RecSys '24). Association for Computing Machinery; 2024: 12-22
- 17 Vrdoljak J, Boban Z, Vilović M, Kumrić M, Božić J. A review of large language models in medical education, clinical decision support, and healthcare administration. Healthcare (Basel) 2025; 13 (06) 603
- 18 Tatonetti NP, Ye PP, Daneshjou R, Altman RB. Data-driven prediction of drug effects and interactions. Sci Transl Med 2012; 4 (125) 125ra31
- 19 American Diabetes Association Professional Practice Committee. 9. Pharmacologic approaches to glycemic treatment: standards of care in diabetes—2024. Diabetes Care 2024; 47 (Suppl. 01) S158-S178
- 20 Shahul Es, James J, Espinosa-Anke L, Schockaert S. RAGAS: Automated evaluation of retrieval augmented generation. September 26, 2023
- 21 Zeng A, Zhang H, Liu X. et al. Breeze-7B technical report. March 5, 2024
- 22 Touvron H, Lavril T, Izacard G. et al. LLaMA: open and efficient foundation language models. February 27, 2023