Skip to content

Diagnosis (ICD-10) prediction from discharge summary by deep learning

TL;DR

This study found that neural NLP models outperformed traditional machine learning for NLP with less effort on feature extraction and leads to earning better performance than regular word embeddings in ICD-10 coding.

Abstract

Standardizing diagnosis data by the International Classification of Diseases and Related Health Problems 10th Revision (ICD-10) provides various benefits for healthcare, including inpatient care, healthcare management, and reimbursement. However, the ICD-10 assignment is a challenging task, which requires understanding the medical domains and also the ICD coding structure, leading to increased workload, time and resource consumption, and coding errors. Therefore, automated ICD-10 coding tools generated by the deep neural natural language processing (NLP) may be a helpful tool in minimizing burdens from manually coding. This study developed automated ICD-10 code assignment models using neural NLP methods utilizing 15,329 discharge summary data of Ramathibodi Hospital during 1st January 2015 to 31st December 2020. Three models were developed: 1) Naïve Bayes with term frequency-inverse document frequency (TF-IDF), 2) deep learning (DL) with neural word embedding, and 3) DL with PubMedBERT models. The results showed that the DL with PubMedBERT model provided the best performance, with the average micro and macro area under precision-recall curve (AUPRC) of 0.6605 and 0.5538, respectively. Followed by the DL with neural word embedding model (AUPRC = 0.6528 and 0.5564) and the Naïve Bayes with TF-IDF model (AUPRC = 0.4441 and 0.3562). The best model derived from Ramathibodi data was also externally validated in Medical Information Mart for Intensive Care III (MIMIC-III) data by three approaches; i.e., 1) directly predicting ICD-10 codes, 2) fine-tuning by default hyperparameters, and 3) fine-tuning by new hyperparameters with the corresponding average micro AUPRC of 0.3745, 0.6704 and 0.6801, and the average macro AUPRC of 0.2819, 0.5377, and 0.5493, respectively. In addition, the result after fine-tuning by the new hyperparameters indicated that the model performed as good as or a little better than the derived model. This study found that neural NLP models outperformed traditional machine learning for NLP with less effort on feature extraction. Additionally, applying a clinical contextual word embedding (i.e., PubMedBERT) leads to earning better performance than regular word embeddings. Hence, the model may be useful when applied as an automated tool for ICD-10 coding. However, external validation in smaller hospitals than Ramathibodi should be further performed. Deployment of this model in Ramathibodi Hospital should be planned and constructed to assess if the model can correctly classify ICD-10 and thus reduce workload for coders.

View source

Similar papers

#natural language process... Open access Jun 2026

Multimodal Dual-Encoder Retrieval for Automated Icd Coding

Accurate International Classification of Diseases (ICD) coding is crucial for large-scale clinical research, documentation, and billing. There are three primary problems with current ICD prediction methods: (1) They are unable to comprehend multimodal patient data because they rely on either structured EHR data or unst...

Abhinav Bohra, Anuj Bohra · 0 citations
#small language model Open access Oct 2025

Instruction-tuning large language models with medical classification data improves ICD coding of German tumor diagnoses

Accurate coding of tumor diagnoses, with the German Modification of the International Classification of Diseases, 10th Revision (ICD-10-GM), and the International Classification of Diseases for Oncology, Third Edition (ICD-O-3), is essential for structured cancer documentation. Large language models (LLMs) offer opport...

S. Lenz, L. O. Rosário, G. Vollmar et al. · 0 citations
Review Open access 2026

PREDICTIVE ANALYTICS IN HEALTHCARE: A REVIEW OF ARTIFICIAL INTELLIGENCE TECHNIQUES USING EHR DATA

The advent of electronic health records (EHRs) has revolutionized the healthcare industry by enabling the digitization and systematic organization of patient data. However, the massive volume and complexity of health data present significant challenges for manual analysis and summarization. This review article focuses...

R. Dondeti, G. R. M. Babu · 0 citations
Review Open access Nov 2026

Structural ICD-10 coding gaps and economic burden of underrecognized chronic conditions: a machine learning analysis of MEPS 2019–2022 and CDC PLACES

To quantify the economic burden of chronic and invisible illness using federal open data, document structural ICD-10 coding gaps, and evaluate machine learning (ML) performance for individual-level healthcare expenditure prediction. We analyzed four consecutive MEPS waves (2019–2022; n  = 17,909–22,552 a...

Sinem Cece, Abuzer Pınar, Rubén Fuentes-Fernández · 0 citations
Open access Sep 2026

Deep Learning-Based Medical Insurance Cost Prediction and Analysis

The rapid advancement of technology is expanding its application possibilities across various human activities. In the healthcare sector, technologies such as the Internet of Things (IoT) support numerous applications, including disease analysis, smart monitoring, survival prediction, and medical cost estimation. Healt...

Raman Kumar · 0 citations
Open access Oct 2026

Low-Resource Automatic ICD Coding for Chinese Electronic Medical Records: An Interpretable Multi-View Linear Framework with Audited Clinical Rules

ICD coding is the backbone of medical-record structuring, insurance payment, and clinical research. Today's best automatic coders are deep models, but they assume tens of thousands of labeled records, GPU servers, and machine-learning engineers. Many hospitals, especially small ones, have none of these. We study Chines...

Y. Xu, J. Yan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.