Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Optimizing Retrieval-Augmented Generation for Evidence-Based Nursing in Wound Care: Evaluation Study Using German Nursing Guidelines
ABSTRACT
Background:
Evidence-based nursing relies on clinical guidelines to ensure high-quality and standardized care. However, in domains such as wound care, guideline consultation is often time-consuming and hindered by lengthy, complex documents. Large language models (LLMs) offer potential support, but their reliability is limited without access to domain-specific knowledge. Retrieval-augmented generation (RAG) can mitigate this by enriching LLMs with external knowledge sources such as nursing guidelines; however, its application to German-language nursing guidelines has not yet been systematically studied.
Objective:
This study aimed to develop and evaluate a novel RAG pipeline optimized for German nursing guidelines in wound care, to assess the impact of different retrieval and generation components on performance, and to identify an effective configuration for supporting time-critical, evidence-based decision-making by nurses in wound care setting.
Methods:
We developed a custom RAG pipeline tailored to German nursing guidelines and conducted a systematic component-wise evaluation using an ablation design. The German S3-level guideline on the local therapy of hard-to-heal and chronic wounds served as the external knowledge source. A gold-standard Q&A dataset comprising 30 guideline-derived clinical questions and reference answers was created. Retrieval performance was evaluated across preprocessing strategies, chunking methods, embedding models, and retrieval approaches using precision, recall, F1-score, mean reciprocal rank (MRR), and normalized discounted cumulative gain (nDCG). Generation performance was evaluated across different LLMs and prompting strategies using BLEU, ROUGE-L, and BERTScore, as well as RAG-specific factuality metrics (faithfulness, answer correctness, and answer relevancy) computed with the RAGAS framework.
Results:
Manual document cleaning, content-aware chunking (top-k = 2), the distiluse-base-multilingual-cased-v1 sentence embedding model, and reranking-based retrieval achieved the best retrieval performance (precision = 0.467, recall = 0.933, F1 = 0.622). In the generation experiments, retrieval augmentation substantially improved the factual grounding of generated answers compared with zero-shot baselines. The highest overall generation performance was achieved when retrieval augmentation was combined with instruction prompting, with Gemma 3 12B reaching BLEU = 0.429, ROUGE-L = 0.612, and BERTScore F1 = 0.860. This configuration also achieved high factual quality, with RAGAS-based faithfulness = 0.873, answer correctness = 0.782, and answer relevancy = 0.630, indicating a marked reduction of unsupported or speculative statements.
Conclusions:
This study demonstrates that an optimized RAG pipeline can substantially improve the factual accuracy and guideline consistency of LLM-generated answers for German nursing guidelines in wound care. The findings highlight the potential of RAG-based assistant systems to improve nurses’ access to evidence-based wound care recommendations at the point of care, where time constraints and lengthy guideline documents often limit guideline adherence. Clinical Trial: None.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.