Design and implementation of an intelligent ICD coding system using large language model

Abstract Background As the universal standard for health data maintained by the World Health Organization (WHO), the International Classification of Diseases (ICD) underpins global healthcare communication. Manual ICD coding is labor-intensive and error-prone. We aim to extract the workflow of manual coders into a humanized intelligent coding process, thereby establishing an automated, procedural, precise and interpretable ICD coding system for real-world hospital settings. Methods We developed an automated coding system leveraging the Qwen3.6-35B-A3B model to perform core semantic comprehension and reasoning. By structuring the clinical knowledge base and integrating a multi-agent collaborative framework with Retrieval-Augmented Generation (RAG), the system automates the assignment of diagnostic and procedural codes and identifies the principal diagnosis and procedure. This study retrospectively collected ophthalmology electronic medical records and associated diagnostic reports from January 1 to June 30, 2026 to construct a research dataset. System performance was assessed by comparing predicted and manually assigned codes for ICD-10 Chapter VII (H00-H59) and ICD-9-CM-3 Chapter IV (08–16) at four granularity levels (category, subcategory, subclass, full-code), with precision (P), recall (R), micro-averaged F1-score (micro-F1), and macro-averaged F1-score (macro-F1). We additionally measured performance via the accuracy of principal diagnosis and principal procedure identification. Results The P, R, micro-F1 and macro-F1 for diagnosis codes at the full-code granularity level reached 91.7%, 94.0%, 92.8%, 82.1%, respectively. The corresponding metrics for procedure codes were 81.4%, 89.8%, 85.4%, 46.6%, respectively. The accuracy rates of principal diagnosis and principal procedure identification were 90.3% and 87.2%, respectively.

Link
https://doi.org/10.21203/rs.3.rs-10911760/v1
Found by
Crossref
Authors
Lingling Zhou, Cheng Cheng, Xu Luo, Xianjiao Tan, Yuzhu Hu
Organizations
Daping Hospital of Army Medical University
Categories
dataset
Published
2026-09-29
Last seen by the radar
2026-10-01
Citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: dataset; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref