Automated Medical Coding on MIMIC-III and MIMIC-IV: A Critical Review and Replicability Study
Top Cited Papers
Open Access
- 18 July 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 2572-2582
Abstract
Medical coding is the task of assigning medical codes to clinical free-text documentation. Healthcare professionals manually assign such codes to track patient diagnoses and treatments. Automated medical coding can considerably alleviate this administrative burden. In this paper, we reproduce, compare, and analyze state-of-the-art automated medical coding machine learning models. We show that several models underperform due to weak configurations, poorly sampled train-test splits, and insufficient evaluation. In previous work, the macro F1 score has been calculated sub-optimally, and our correction doubles it. We contribute a revised model comparison using stratified sampling and identical experimental setups, including hyperparameters and decision boundary tuning. We analyze prediction errors to validate and falsify assumptions of previous works. The analysis confirms that all models struggle with rare codes, while long documents only have a negligible impact. Finally, we present the first comprehensive results on the newly released MIMIC-IV dataset using the reproduced models. We release our code, model parameters, and new MIMIC-III and MIMIC-IV training and evaluation pipelines to accommodate fair future comparisons.Keywords
All Related Versions
Funding Information
- Innovation Fund Denmark (2050-00040B)
- Research Council of Finland (322653)
This publication has 35 references indexed in Scilit:
- MIMIC-IV, a freely accessible electronic health record datasetScientific Data, 2023
- EHR Coding with Multi-scale Feature Attention and Structured Knowledge Graph Propagation2019
- Administrative Costs Associated With Physician Billing and Insurance-Related Activities at an Academic Health Care SystemJAMA, 2018
- MIMIC-III, a freely accessible critical care databaseScientific Data, 2016
- An empirical evaluation of supervised learning approaches in assigning diagnosis codes to electronic medical recordsArtificial Intelligence in Medicine, 2015
- ICD Code Retrieval: Novel Approach for Assisted Disease Classification2015
- An audit of the nature and impact of clinical coding subjectivity variability and error in otolaryngologyClinical Otolaryngology, 2013
- A systematic literature review of automated clinical coding and classification systemsJournal of the American Medical Informatics Association, 2010
- Medical coding classification by leveraging inter-code relationships2010
- PhysioBank, PhysioToolkit, and PhysioNetCirculation, 2000