{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T16:45:14Z","timestamp":1795193114966,"version":"4.10.3"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"4","license":[{"start":{"date-parts":[[2026,9,14]],"date-time":"2026-09-14T00:00:00Z","timestamp":1789344000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,9,14]],"date-time":"2026-09-14T00:00:00Z","timestamp":1789344000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"The University of Wollongong","id":[{"id":"https:\/\/ror.org\/00jtmb277","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Healthc Inform Res"],"published-print":{"date-parts":[[2026,12]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Clinical information extraction from unstructured electronic health records is important for supporting clinical decision making and healthcare research. However, large language models can struggle to accurately extract domain-specific information without effective adaptation. Retrieval-augmented generation offers a promising approach, but the optimal configuration for clinical information extraction remains unclear. This study evaluated different retrieval-augmented generation configurations for extracting frailty index items, malnutrition risk factors, and agitation in dementia from clinical notes collected from 40 Australian residential aged care facilities. We compared general and biomedical embedding models, LangChain and LlamaIndex retrieval frameworks, top-k values of 1, 5, 10, 15, and 20, and one to five few-shot examples using Llama-3.1-8B-Instruct. Performance was evaluated using accuracy, precision, recall, and F1 score. The best results were achieved using LangChain with the BAAI\/bge-m3 embedding model, three-shot prompting, and a top-k value of five. This configuration achieved F1 scores of 97.08% for frailty index extraction, 97.14% for malnutrition risk factor extraction, and 90.52% for agitation in dementia extraction. These findings provide empirical evidence on how retrieval, embedding, and prompting choices influence clinical information extraction performance. The study offers practical guidance for researchers and healthcare informatics practitioners seeking to optimise retrieval-augmented large language model systems for extracting clinically meaningful information from unstructured aged care records.<\/jats:p>","DOI":"10.1007\/s41666-026-00254-8","type":"journal-article","created":{"date-parts":[[2026,9,14]],"date-time":"2026-09-14T08:27:04Z","timestamp":1789374424000},"page":"952-972","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Evaluating RAG Configurations for Clinical Information Extraction from EHR Notes: Aged Care Case Study"],"prefix":"10.1007","volume":"10","author":[{"given":"Dinithi","family":"Vithanage","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Quang Vinh","family":"Duong","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chao","family":"Deng","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rajendra","family":"Acharya","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhanzhong","family":"Gu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ting","family":"Song","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ping","family":"Yu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,9,14]]},"reference":[{"key":"254_CR1","doi-asserted-by":"publisher","DOI":"10.1007\/s41666-025-00190-z","author":"D Vithanage","year":"2025","unstructured":"Vithanage D et al (2025) Adapting generative large language models for information extraction from unstructured electronic health records in residential aged care: a comparative analysis of training approaches. J Healthc Inform Res. https:\/\/doi.org\/10.1007\/s41666-025-00190-z","journal-title":"J Healthc Inform Res"},{"key":"254_CR2","doi-asserted-by":"publisher","first-page":"34","DOI":"10.1016\/j.jbi.2017.11.011","volume":"77","author":"Y Wang","year":"2018","unstructured":"Wang Y et al (2018) Clinical information extraction applications: a literature review. J Biomed Inform 77:34\u201349","journal-title":"J Biomed Inform"},{"key":"254_CR3","doi-asserted-by":"crossref","unstructured":"Vithanage D, Zhu Y, Zhang Z, Deng C, Yin M, Yu P (2024) Extracting Symptoms of Agitation in Dementia from Free-Text Nursing Notes Using Advanced Natural Language Processing. MEDINFO 2023\u2014The Future Is Accessible. IOS, pp 700\u2013704","DOI":"10.3233\/SHTI231055"},{"key":"254_CR4","unstructured":"Hu Y et al (2024) Information Extraction from Clinical Notes: Are We Ready to Switch to Large Language Models? arXiv preprint arXiv:2411.10020"},{"key":"254_CR5","doi-asserted-by":"publisher","DOI":"10.1016\/j.compbiomed.2025.111013","volume":"197","author":"D Vithanage","year":"2025","unstructured":"Vithanage D, Yu P, Xie Q, Xu H, Wang L, Deng C (2025) A comprehensive evaluation of large language models for information extraction from unstructured electronic health records in residential aged care. Comput Biol Med 197:111013","journal-title":"Comput Biol Med"},{"key":"254_CR6","doi-asserted-by":"publisher","DOI":"10.1016\/j.jbi.2024.104662","author":"M Alkhalaf","year":"2024","unstructured":"Alkhalaf M, Yu P, Yin M, Deng C (2024) Applying generative AI with retrieval augmented generation to summarize and extract key clinical information from electronic health records. J Biomed Inform. https:\/\/doi.org\/10.1016\/j.jbi.2024.104662","journal-title":"J Biomed Inform"},{"key":"254_CR7","unstructured":"Hsia J, Shaikh A, Wang ZZ, Neubig G RAGGED: Towards Informed Design of Scalable and Stable RAG Systems, in Forty-second International Conference on Machine Learning"},{"key":"254_CR8","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-024-01377-1","volume":"8","author":"I Lopez","year":"2025","unstructured":"Lopez I et al (2025) Clinical entity augmented retrieval for clinical information extraction. NPJ Digit Med 8:45. https:\/\/doi.org\/10.1038\/s41746-024-01377-1","journal-title":"NPJ Digit Med"},{"issue":"4","key":"254_CR9","doi-asserted-by":"publisher","first-page":"642","DOI":"10.3390\/psychiatryint5040046","volume":"5","author":"Y Zhu","year":"2024","unstructured":"Zhu Y et al (2024) COVID-19 and Its Influence on Prevalence of Dementia and Agitation in Australian Residential Aged Care: A Comparative Study. Psychiatry Int 5(4):642\u2013659","journal-title":"Psychiatry Int"},{"issue":"9868","key":"254_CR10","doi-asserted-by":"publisher","first-page":"752","DOI":"10.1016\/S0140-6736(12)62167-9","volume":"381","author":"A Clegg","year":"2013","unstructured":"Clegg A, Young J, Iliffe S, Rikkert MO, Rockwood K (2013) Frailty in elderly people. lancet 381(9868):752\u2013762","journal-title":"lancet"},{"issue":"6","key":"254_CR11","doi-asserted-by":"publisher","first-page":"2267","DOI":"10.3233\/THC-230229","volume":"31","author":"M Alkhalaf","year":"2023","unstructured":"Alkhalaf M et al (2023) Malnutrition and its contributing factors for older people living in residential aged care facilities: Insights from natural language processing of aged care records. Technol Health Care 31(6):2267\u20132278","journal-title":"Technol Health Care"},{"issue":"4","key":"254_CR12","doi-asserted-by":"publisher","first-page":"57","DOI":"10.3928\/00989134-20220309-01","volume":"48","author":"Y Zhu","year":"2022","unstructured":"Zhu Y et al (2022) Agitation prevalence in people with dementia in australian residential aged care facilities: Findings from machine learning of electronic health records. J Gerontol Nurs 48(4):57\u201364","journal-title":"J Gerontol Nurs"},{"key":"254_CR13","doi-asserted-by":"crossref","unstructured":"Zhu Y, Song T, Zhang Z, Yin M, Yu P (2024)\u00a0A Five-Step Workflow to Manually Annotate Unstructured Data into Training Dataset for Natural Language Processing, in MEDINFO 2023\u2014The Future Is Accessible. IOS, pp 109\u2013113.","DOI":"10.3233\/SHTI230937"},{"key":"254_CR14","unstructured":"Jeon H-K, Jeong M-K, Kim K-R, Kim G-Y, Park J-H (2024) Building and Evaluation of a Korean Retrieval-Augmented Generation Dataset Using Public Data, in Annual Conference on Human and Language Technology\u00a0: Human and Language Technology, pp. 256\u2013260"},{"key":"254_CR15","unstructured":"Do TS (2025) A Retrieval Augmented Approach to Improving Accuracy of Biomedical Term Normalization by Large Language Models"},{"key":"254_CR16","doi-asserted-by":"crossref","unstructured":"Shimada M, Bian K, Ling Z, Komachi M, HIT-YOU at (2025) TSAR Shared Task Leveraging Similarity-Based Few-Shot Prompting, Round-Trip Translation, and Self-Refinement for Readability-Controlled Text Simplification, in Proceedings of the Fourth Workshop on Text Simplification, Accessibility and Readability (TSAR 2025), 2025, pp. 231\u2013241","DOI":"10.18653\/v1\/2025.tsar-1.20"},{"key":"254_CR17","doi-asserted-by":"crossref","unstructured":"Pavlyshenko B, Stasiuk M\u00a0(2025) Semantic similarity analysis using transformer-based sentence embeddings, Electronics and information technologies\/\u0415\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0456\u043a\u0430 \u0442\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0439\u043d\u0456 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0456\u0457. 30:43\u201358","DOI":"10.30970\/eli.30.4"},{"key":"254_CR18","doi-asserted-by":"crossref","unstructured":"Vithanage D, Yu P, Wang L, Deng C (2024) Contextual Word Embedding for Biomedical Knowledge Extraction: a Rapid Review and Case Study. J Healthc Inf Res, pp. 1\u201322","DOI":"10.1007\/s41666-023-00157-y"},{"key":"254_CR19","doi-asserted-by":"crossref","unstructured":"Ganesh J, Bansal A (2023) Transformer-based automatic mapping of clinical notes to specific clinical concepts, in 2023 IEEE 47th Annual Computers, Software, and Applications Conference (COMPSAC), : IEEE, pp. 558\u2013563","DOI":"10.1109\/COMPSAC57700.2023.00080"},{"issue":"11","key":"254_CR20","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btad651","volume":"39","author":"Q Jin","year":"2023","unstructured":"Jin Q et al (2023) Medcpt: Contrastive pre-trained transformers with large-scale pubmed search logs for zero-shot biomedical information retrieval. Bioinformatics 39(11):btad651","journal-title":"Bioinformatics"},{"key":"254_CR21","doi-asserted-by":"publisher","DOI":"10.1109\/tbdata.2025.3618474","author":"M Douze","year":"2025","unstructured":"Douze M et al (2025) The faiss library. IEEE Trans Big Data. https:\/\/doi.org\/10.1109\/tbdata.2025.3618474","journal-title":"IEEE Trans Big Data"},{"key":"254_CR22","unstructured":"Khan AA, Hasan MT, Kemell KK, Rasku J, Abrahamsson P (2024) Developing Retrieval Augmented Generation (RAG) based LLM Systems from PDFs: An Experience Report, arXiv preprint arXiv:2410.15944"},{"key":"254_CR23","unstructured":"Purwar A (2024) Evaluating the efficacy of open-source llms in enterprise-specific rag systems: A comparative study of performance and scalability, arXiv preprint arXiv:2406.11424"},{"key":"254_CR24","doi-asserted-by":"crossref","unstructured":"Kazemian FS, Galvez Vallejo JL, Barca GM (2024) High-Performance, Accurate Large-Scale Quantum Chemistry Calculations on GPU Supercomputers using Coulomb-Perturbed Fragmentation, in Proceedings of the 53rd International Conference on Parallel Processing, pp. 1092\u20131102","DOI":"10.1145\/3673038.3673087"},{"key":"254_CR25","unstructured":"Dudley R (2023) The Shapiro\u2013Wilk test for normality. MIT Mathematics"},{"key":"254_CR26","doi-asserted-by":"publisher","DOI":"10.3389\/fmolb.2024.1335174","volume":"11","author":"S Seiffert","year":"2024","unstructured":"Seiffert S, Weber S, Sack U, Keller T (2024) Use of logit transformation within statistical analyses of experimental results obtained as proportions: example of method validation experiments and EQA in flow cytometry. Front Mol Biosci 11:1335174","journal-title":"Front Mol Biosci"},{"issue":"16","key":"254_CR27","doi-asserted-by":"publisher","first-page":"1260","DOI":"10.1002\/bdr2.1755","volume":"112","author":"PI Feder","year":"2020","unstructured":"Feder PI, Aume LL, Triplett CA, Simmons JE, Narotsky MG (2020) Analysis of proportional data in reproductive and developmental toxicity studies: Comparison of sensitivities of logit transformation, arcsine square root transformation, and nonparametric analysis. Birth defects Res 112(16):1260\u20131272","journal-title":"Birth defects Res"},{"key":"254_CR28","doi-asserted-by":"publisher","DOI":"10.1016\/j.conctc.2023.101119","volume":"33","author":"Y Zhou","year":"2023","unstructured":"Zhou Y, Zhu Y, Wong WK (2023) Statistical tests for homogeneity of variance for clinical trials and recommendations. Contemp Clin Trials Commun 33:101119","journal-title":"Contemp Clin Trials Commun"},{"issue":"1","key":"254_CR29","doi-asserted-by":"publisher","first-page":"59","DOI":"10.22271\/maths.2021.v6.i1a.636","volume":"6","author":"A Nanda","year":"2021","unstructured":"Nanda A, Mohapatra BB, Mahapatra APK, Mahapatra APK, Mahapatra APK (2021) Multiple comparison test by Tukey\u2019s honestly significant difference (HSD): Do the confident level control type I error. Int J Stat Appl Math 6(1):59\u201365","journal-title":"Int J Stat Appl Math"},{"key":"254_CR30","doi-asserted-by":"publisher","DOI":"10.54724\/lc.2022.e1","author":"SW Lee","year":"2022","unstructured":"Lee SW (2022) Methods for testing statistical differences between groups in medical research: statistical standard and guideline of Life Cycle Committee. Life Cycle. https:\/\/doi.org\/10.54724\/lc.2022.e1","journal-title":"Life Cycle"},{"issue":"1","key":"254_CR31","doi-asserted-by":"publisher","DOI":"10.1186\/s12903-021-01588-y","volume":"21","author":"MR Taalab","year":"2021","unstructured":"Taalab MR, Mahmoud SA, Moslemany RME, Abdelaziz DM (2021) Intrapocket application of tea tree oil gel in the treatment of stage 2 periodontitis. BMC Oral Health 21(1):239","journal-title":"BMC Oral Health"},{"issue":"3","key":"254_CR32","doi-asserted-by":"publisher","DOI":"10.1148\/radiol.231593","volume":"310","author":"R Doshi","year":"2024","unstructured":"Doshi R, Amin KS, Khosla P, Bajaj SS, Chheang S, Forman HP (2024) Quantitative evaluation of large language models to streamline radiology report impressions: a multimodal retrospective analysis. Radiology 310(3):e231593","journal-title":"Radiology"},{"key":"254_CR33","doi-asserted-by":"crossref","unstructured":"Zhao X, Liu S, Yang S-Y, Miao C (2025) Medrag: Enhancing retrieval-augmented generation with knowledge graph-elicited reasoning for healthcare copilot, in Proceedings of the ACM on Web Conference 2025, pp. 4442\u20134457","DOI":"10.1145\/3696410.3714782"},{"key":"254_CR34","first-page":"1877","volume":"33","author":"T Brown","year":"2020","unstructured":"Brown T et al (2020) Language models are few-shot learners. Adv Neural Inf Process Syst 33:1877\u20131901","journal-title":"Adv Neural Inf Process Syst"},{"key":"254_CR35","doi-asserted-by":"publisher","first-page":"157","DOI":"10.1162\/tacl_a_00638","volume":"12","author":"NF Liu","year":"2024","unstructured":"Liu NF et al (2024) Lost in the middle: How language models use long contexts. Trans association Comput linguistics 12:157\u2013173","journal-title":"Trans association Comput linguistics"},{"issue":"1","key":"254_CR36","doi-asserted-by":"publisher","DOI":"10.1038\/s41746-025-01651-w","volume":"8","author":"G Zhang","year":"2025","unstructured":"Zhang G et al (2025) Leveraging long context in retrieval augmented language models for medical question answering. npj Digit Med 8(1):239","journal-title":"npj Digit Med"}],"container-title":["Journal of Healthcare Informatics Research"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s41666-026-00254-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s41666-026-00254-8","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s41666-026-00254-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,29]],"date-time":"2026-10-29T13:12:46Z","timestamp":1793279566000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s41666-026-00254-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,14]]},"references-count":36,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2026,12]]}},"alternative-id":["254"],"URL":"https:\/\/doi.org\/10.1007\/s41666-026-00254-8","relation":{},"ISSN":["2509-4971","2509-498X"],"issn-type":[{"value":"2509-4971","type":"print"},{"value":"2509-498X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,14]]},"assertion":[{"value":"23 March 2026","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"30 August 2026","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 September 2026","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"14 September 2026","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"This manuscript has not been published elsewhere and is not under consideration by another journal. All authors have approved the manuscript and agree with its submission to the Journal.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"All authors have approved the manuscript and agree with its submission to the Journal.","order":2,"name":"Ethics","label":"Consent for Publication","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":3,"name":"Ethics","label":"Competing interests","group":{"name":"EthicsHeading","label":"Declarations"}}]}}