Leveraging BERT for embedding ICD codes from large scale cardiovascular EMR data to understand patient diagnostic patterns

The integration of electronic medical records (EMRs) with artificial intelligence (AI) is enhancing medical research, particularly in real-world evidence (RWE) studies. Extracting insights from coded medical data, such as ICD-10 codes, is essential for patient characterization. Traditional techniques, such as one-hot encoding (OHE), face limitations, particularly in managing high-dimensional data. In this study, a Bidirectional Encoder Representations from Transformers (BERT) approach is introduced to encode ICD-10 diagnostic codes, significantly improving model performance and reducing dimensionality. Data from 495,269 patients who visited the Cardiology Department at Asan Medical Center between 2000 and 2020 were used. The performance of models trained with OHE and ClinicalBERT embeddings was compared. For predicting major adverse cardiovascular events within one year following percutaneous coronary intervention (PCI) or coronary artery bypass grafting (CABG), the ClinicalBERT (code-embedded) model outperformed OHE. It achieved an AUC of 0.746 compared to 0.719, while also significantly reducing the dimensionality from 2,492 to 128. This method, which integrates diagnostic and medication data, provides valuable insights into patient care, enhancing the precision of predictions and supporting healthcare professionals in making more informed decisions.

Authors

Institutions

Publication Details

Journal
BMC Medical Informatics and Decision Making
Published
2025-08-11
DOI
https://doi.org/10.1186/s12911-025-03145-x
Citations
1
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging BERT for embedding ICD codes from large scale cardiovascular EMR data to understand patient diagnostic patterns

Gaeun Kee, Young‐Hak Kim, Hyeram Seo, Hee Jun Kang et al.
1 citations
BMC Medical Informatics and Decision Making
Machine Learning in Healthcare
2.48
article

Leveraging BERT for embedding ICD codes from large scale cardiovascular EMR data to understand patient diagnostic patterns

Gaeun Kee, Young‐Hak Kim, Hyeram Seo, Hee Jun Kang, Yunha Kim, Tae Joon Jun, Heejung Choi, B. Kim, Boeun Choi, Jiye Han, Min Kyoung Kim, Soyoung Ko, HyoJe Jung
article en
1 citations

Abstract

The integration of electronic medical records (EMRs) with artificial intelligence (AI) is enhancing medical research, particularly in real-world evidence (RWE) studies. Extracting insights from coded medical data, such as ICD-10 codes, is essential for patient characterization. Traditional techniques, such as one-hot encoding (OHE), face limitations, particularly in managing high-dimensional data. In this study, a Bidirectional Encoder Representations from Transformers (BERT) approach is introduced to encode ICD-10 diagnostic codes, significantly improving model performance and reducing dimensionality. Data from 495,269 patients who visited the Cardiology Department at Asan Medical Center between 2000 and 2020 were used. The performance of models trained with OHE and ClinicalBERT embeddings was compared. For predicting major adverse cardiovascular events within one year following percutaneous coronary intervention (PCI) or coronary artery bypass grafting (CABG), the ClinicalBERT (code-embedded) model outperformed OHE. It achieved an AUC of 0.746 compared to 0.719, while also significantly reducing the dimensionality from 2,492 to 128. This method, which integrates diagnostic and medication data, provides valuable insights into patient care, enhancing the precision of predictions and supporting healthcare professionals in making more informed decisions.

BMC Medical Informatics and Decision MakingVol. 25(1)
Ulsan College (KR), Asan Medical Center (KR), University of Ulsan (KR)
Korea Health Industry Development Institute
Openalex Percentile: Top 9%
Machine Learning in Healthcare
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.