Retrieval-Augmented Generation for ICD-10 Coding in German Clinical Texts - A Technical Case Report
Abstract
INTRODUCTION
Manual ICD-10 coding of German clinical texts is time-consuming and error-prone. This project aims to develop a semi-automated pipeline for efficient coding of unstructured medical documentation.
STATE OF THE ART
Existing approaches often rely on fine-tuned language models that require large datasets and perform poorly on rare codes, particularly in low-resource languages such as German.
CONCEPT
The proposed system integrates Named Entity Recognition, semantic and lexical retrieval, abbreviation resolution, and context-aware normalization within a Retrieval-Augmented Generation (RAG) framework using a compact generative model.
IMPLEMENTATION
The pipeline utilizes Sentence-BERT embeddings, FAISS indexing, and the Mistral-Small-Instruct model. ICD codes are assigned through a combination of semantic similarity and generative refinement among the top retrieval candidates.
LESSONS LEARNED
Major sources of error were found in semantic retrieval and diagnosis normalization. Future improvements should focus on domain-specific German embeddings, more robust abbreviation handling, and enhanced context-aware prompting to increase accuracy and usability in clinical environments.
How strong is the evidence?
Evidence Hub reads this as a case report, done in people. Its evidence level is 5 of 5 (Very low · case / narrative / animal / in vitro / in silico). Case reports, narrative reviews, and animal, cell or computer-model studies give the weakest evidence for human health.
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.