Khadka, S. orcid.org/0009-0008-4126-624X, Jiang, X. orcid.org/0000-0003-4255-5445 and Palade, V. (2026) LLM-assisted clinical coding audit through an interpretable coding pipeline. International Journal of Medical Informatics, 220. 106605. ISSN: 1386-5056
Abstract
Objective: Clinical coding is vital yet complex, often hindered by imperfect training data. This study addresses the overlooked issue of undercoding and coding errors in standard datasets and investigates their impact on automated coding algorithms. Furthermore, it explores the potential of AI-assisted tools to facilitate the challenging process of clinical coding audit.
Methods: We developed a novel and effective interpretable coding pipeline that integrates Large Language Models (LLMs) for evidence extraction and code verification with a multiclass classifier trained on a large-scale silver-standard evidence dataset for code prediction. Using this pipeline as an audit tool, three professional coders systematically identified, categorised, and corrected errors in two widely used datasets containing human-annotated evidence (MDACE and CodiEsp).
Results: The audit uncovered significant data quality issues, including an estimated 76.3% undercoding rate in MDACE and a 29.7% error rate in CodiEsp. Re-evaluating existing models on the corrected datasets improved performance, consistently across all metrics on MDACE, and in recall on CodiEsp. Additionally, the proposed pipeline achieved superior or comparable performance to state-of-the-art LLM-based methods, demonstrating its viability as a high-potential dual-use coding framework. Models and results that are publishable in compliance with the data privacy requirements of the datasets have been made publicly accessible in the accompanied Github repository: https://github.com/Supriya090/LLM-Clinical-Coding-Audit.
Conclusion: Our findings demonstrate that substantial errors in benchmark datasets significantly impact model evaluation. The results underscore a critical need to shift the research focus from purely model-centric approaches to data-centric solutions in clinical AI, highlighting the effectiveness of AI-assisted audits in improving data integrity.
Metadata
| Item Type: | Article |
|---|---|
| Authors/Creators: |
|
| Copyright, Publisher and Additional Information: | © 2026 The Authors. Except as otherwise noted, this author-accepted version of a journal article published in International Journal of Medical Informatics is made available via the University of Sheffield Research Publications and Copyright Policy under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution and reproduction in any medium, provided the original work is properly cited. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ |
| Keywords: | Automated clinical coding; Code quality; Coding audit; Interpretability; Large language model; Large Language Models; Humans; Clinical Coding; Algorithms; Electronic Health Records; Natural Language Processing |
| Dates: |
|
| Institution: | The University of Sheffield |
| Academic Units: | The University of Sheffield > Faculty of Social Sciences (Sheffield) > School of Information, Journalism and Communication |
| Date Deposited: | 17 Sep 2026 09:01 |
| Last Modified: | 09 Oct 2026 20:11 |
| Status: | Published |
| Publisher: | Elsevier BV |
| Refereed: | Yes |
| Identification Number: | 10.1016/j.ijmedinf.2026.106605 |
| Related URLs: | |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:245646 |
Download
Filename: LLM Coding Audit - IJMI - Revised Version Accepted.pdf
Licence: CC-BY 4.0

CORE (COnnecting REpositories)
CORE (COnnecting REpositories)