Evidence Hub

Retrieval-Augmented Generation for ICD-10 Coding in German Clinical Texts - A Technical Case Report

Mario Krumscheid, Johannes Blömer, Matthias Becker

Jahrestagung der Deutschen Gesellschaft für Medizinische Informatik, Biometrie und Epidemiologie, 2025

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.

How the five levels of evidence work. The level is assigned automatically from the abstract and can be wrong, so check the paper.

Read the paper

Related studies

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.

Open this study Sign up free