Automated translation of chronic disease diagnosis codes across versions of the International Classification of Diseases using the GPT-4 large language model.
Barret A Monchka, Hassan Maleki Golandouz, Amani F Hamad, Lisa M Lix
George and Fay Yee Centre for Healthcare Innovation, University of Manitoba, 3rd Floor, 753 McDermot Ave, Winnipeg, Manitoba, Canada. Barret.Monchka@umanitoba.ca. · College of Community and Global Health, University of Manitoba, Winnipeg, Canada.
Key points
From the paper's conclusion- LLMs are highly sensitive to prompting strategy, substantially impacting both accuracy and variability. Testing multiple prompting strategies is recommended when employing LLMs for clinical or research applications. GPT-4 achieved moderately high accuracy when predicting broad diagnostic categories (first three characters) but performed poorly when generating more specific diagnoses. While GPT-4 performance was insufficient for deployment, LLMs show promise for automated ICD code translation and could become reliable with targeted refinement.
Abstract
BACKGROUND: The International Classification of Diseases (ICD) is a medical coding system used for healthcare system administration, public health surveillance, and research. Crosswalk tables, which map diagnosis codes across ICD versions, are time-consuming and costly to produce but are essential to reduce medical coding errors when healthcare systems periodically adopt ICD updates. Automated crosswalk development could better support clinical staff during transition periods and facilitate research spanning multiple ICD versions. Our aim was to evaluate the ability of a pre-trained large language model (LLM) to generate ICD crosswalks. METHODS: We evaluated the accuracy of the fourth-generation OpenAI Generative Pre-trained Transformer (GPT-4) model to translate chronic disease diagnoses across the 9th and 10th revisions of U.S. and Canadian ICD systems. Nine prompting strategies were developed. The three most-accurate prompts were combined to form composite prompts for Canadian and U.S. CONTEXTS: Accuracy was evaluated against crosswalks developed by Canadian and U.S. health services organizations. Each prompt was executed 10 times to assess variability, with mean accuracy ± standard deviation (SD) reported across replications. RESULTS: Across the nine prompting strategies evaluated for translating Canadian ICD codes, accuracy ranged from 32.5% to 47.4%, with the highest accuracy attained when prompts included diagnosis code labels. Prompting also impacted model variability, with SDs ranging from 0.6% to 3.6%. When combining the three best-performing prompts, GPT-4 achieved accuracies of 48.3% ± 0.8% (Canada) and 38.8% ± 0.6% (U.S.). Accuracy varied substantially across disease categories: 39.0%-70.0% (Canada), 30.1%-58.3% (U.S.). When evaluating only the first three characters of predicted codes, GPT-4 achieved 84.7% ± 0.6% (Canada) and 86.2% ± 0.4% (U.S.). CONCLUSIONS: LLMs are highly sensitive to prompting strategy, substantially impacting both accuracy and variability. Testing multiple prompting strategies is recommended when employing LLMs for clinical or research applications. GPT-4 achieved moderately high accuracy when predicting broad diagnostic categories (first three characters) but performed poorly when generating more specific diagnoses. While GPT-4 performance was insufficient for deployment, LLMs show promise for automated ICD code translation and could become reliable with targeted refinement.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Laya-IsoToken: Day-One Clinical Codebook Switching via Closed-Form Operator CompilationarXiv · 2026
- Gold-standard-guided direct preference optimisation for ICD-10-AM and ACHI code assignment from discharge summaries.BMC medical informatics and decision making · 2026
- Call-Efficient ICD-10 Code Prediction via Supervised Candidate Generation and Selective LLM InvocationarXiv · 2026
- Assessing Retrieval-Augmented Large Language Models for Medical Coding.NEJM AI · 2025
- Towards understanding the disease landscape of clinical trials in Germany: Ontology and embedding-based pipelines versus Large Language Models for ICD-10 HarmonizationmedRxiv · 2026
- Instruction-tuning large language models with medical classification data improves ICD coding of German tumor diagnosesScientific Reports · 2026