Evaluating a Natural Language Processing–Driven, AI-Assisted International Classification of Diseases, 10th Revision, Clinical Modification, Coding System for Diagnosis Related Groups in a Real Hospital Environment: Algorithm Development and Validation Study (Preprint)
Authors: Dai Hong-Jie , Wang Chen-Kai , Chen Chien-Chang , Liou Chong-Sin , Lu An-Tai , Lai Chia-Hsin , Shain Bo-Tsz , Ke Cheng-Rong , Wang William Yu Chung , Mir Tatheer Hussain , Simanjuntak Mutiara , Kao Hao-Yun , Tsai Ming-Ju , Tseng Vincent S 
Published: September 2024

BACKGROUND

International Classification of Diseases codes are widely used to describe diagnosis information, but manual coding relies heavily on human interpretation, which can be expensive, time consuming, and prone to errors. With the transition from the <i>International Classification of Diseases, Ninth Revision</i>, to the <i>International Classification of Diseases, Tenth Revision</i> (<i>ICD-10</i>), the coding process has become more complex, highlighting the need for automated approaches to enhance coding efficiency and accuracy. Inaccurate coding can result in substantial financial losses for hospitals, and a precise assessment of outcomes generated by a natural language processing (NLP)–driven autocoding system thus assumes a critical role in safeguarding the accuracy of the Taiwan diagnosis related groups (Tw-DRGs).

OBJECTIVE

This study aims to evaluate the feasibility of applying an <i>International Classification of Diseases, Tenth Revision, Clinical Modification</i> (<i>ICD-10-CM</i>), autocoding system that can automatically determine diagnoses and codes based on free-text discharge summaries to facilitate the assessment of Tw-DRGs, specifically principal diagnosis and major diagnostic categories (MDCs).

METHODS

By using the patient discharge summaries from Kaohsiung Medical University Chung-Ho Memorial Hospital (KMUCHH) from April 2019 to December 2020 as a reference data set we developed artificial intelligence (AI)–assisted <i>ICD-10-CM</i> coding systems based on deep learning models. We constructed a web-based user interface for the AI-assisted coding system and deployed the system to the workflow of the certified coding specialists (CCSs) of KMUCHH. The data used for the assessment of Tw-DRGs were manually curated by a CCS with the principal diagnosis and MDC was determined from discharge summaries collected at KMUCHH from February 2023 to April 2023.

RESULTS

Both the reference data set and real hospital data were used to assess performance in determining <i>ICD-10-CM</i> coding, principal diagnosis, and MDC for Tw-DRGs. Among all methods, the GPT-2 (OpenAI)-based model achieved the highest <i>F</i><sub>1</sub>-score, 0.667 (<i>F</i><sub>1</sub>-score 0.851 for the top 50 codes), on the KMUCHH test set and a slightly lower <i>F</i><sub>1</sub>-score, 0.621, in real hospital data. Cohen κ evaluation for the agreement of MDC between the models and the CCS revealed that the overall average κ value for GPT-2 (κ=0.714) was approximately 12.2 percentage points higher than that of the hierarchy attention network (κ=0.592). GPT-2 demonstrated superior agreement with the CCS across 6 categories of MDC, with an average κ value of approximately 0.869 (SD 0.033), underscoring the effectiveness of the developed AI-assisted coding system in supporting the work of CCSs.

CONCLUSIONS

An NLP-driven AI-assisted coding system can assist CCSs in <i>ICD-10-CM</i> coding by offering coding references via a user interface, demonstrating the potential to reduce the manual workload and expedite Tw-DRG assessment. Consistency in performance affirmed the effectiveness of the system in supporting CCSs in <i>ICD-10-CM</i> coding and the judgment of Tw-DRGs.