Evaluating the accuracy and reliability of a large language model in coding common orthopaedic procedures

Background: Current Procedural Terminology (CPT) codes are critical for billing and documentation in orthopaedic surgery, yet coding can be complex and costly. Large language models (LLMs) have shown promise in automating CPT coding. Methods: Ten orthopaedic procedures were selected from each of the subspecialties of sports, foot and ankle, and hand. Procedure names were generated by the authors to reflect practice at our institution, and CPT codes for each procedure were secondarily validated for ground truth analysis using the American Association of Professional Coders “Codify” tool. An institutional Health Insurance Portability and Accountability Act (HIPAA)-compliant, ChatGPT-4 Omni (ChatGPT4o)-based LLM was prompted to generate CPT codes based on a procedure name. Three independent trials were performed per procedure. Responses were categorized as “correct”, “partially correct”, or “incorrect” and assigned a score (+1, +0.5, or +0, respectively). Model performance was assessed as a percentage of the maximum possible score. For incorrect responses, the model was prompted to try again. Results: The LLM generated the correct response in 86.7% of trials, with an overall performance of 88.9% of the maximum possible score. Performance varied by subspecialty ( P =0.018), with lower scores in hand compared to sports ( P =0.019). After re-prompting, LLM performance improved to 93.9% of the maximum possible score. The LLM had the most difficulty distinguishing between closely related codes for hand procedures. Conclusions: This study demonstrates promising potential for rapid, accurate, and cost-effective LLM-driven orthopedic coding, suggesting practical applications in reducing administrative workload, improving coding consistency, and potentially lowering costs in orthopaedic clinical practices.

Authors

Institutions

Publication Details

Journal
Current Orthopaedic Practice
Published
2025-10-20
DOI
https://doi.org/10.1097/bco.0000000000001332
Primary Topic
Healthcare cost, quality, practices
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating the accuracy and reliability of a large language model in coding common orthopaedic procedures

Daniel E. Pereira, Ameer A. Haider, Daniel E. Fulkerson
Current Orthopaedic Practice
Healthcare cost, quality, practices
article

Evaluating the accuracy and reliability of a large language model in coding common orthopaedic procedures

Daniel E. Pereira, Ameer A. Haider, Daniel E. Fulkerson
article en

Abstract

Background: Current Procedural Terminology (CPT) codes are critical for billing and documentation in orthopaedic surgery, yet coding can be complex and costly. Large language models (LLMs) have shown promise in automating CPT coding. Methods: Ten orthopaedic procedures were selected from each of the subspecialties of sports, foot and ankle, and hand. Procedure names were generated by the authors to reflect practice at our institution, and CPT codes for each procedure were secondarily validated for ground truth analysis using the American Association of Professional Coders “Codify” tool. An institutional Health Insurance Portability and Accountability Act (HIPAA)-compliant, ChatGPT-4 Omni (ChatGPT4o)-based LLM was prompted to generate CPT codes based on a procedure name. Three independent trials were performed per procedure. Responses were categorized as “correct”, “partially correct”, or “incorrect” and assigned a score (+1, +0.5, or +0, respectively). Model performance was assessed as a percentage of the maximum possible score. For incorrect responses, the model was prompted to try again. Results: The LLM generated the correct response in 86.7% of trials, with an overall performance of 88.9% of the maximum possible score. Performance varied by subspecialty ( P =0.018), with lower scores in hand compared to sports ( P =0.019). After re-prompting, LLM performance improved to 93.9% of the maximum possible score. The LLM had the most difficulty distinguishing between closely related codes for hand procedures. Conclusions: This study demonstrates promising potential for rapid, accurate, and cost-effective LLM-driven orthopedic coding, suggesting practical applications in reducing administrative workload, improving coding consistency, and potentially lowering costs in orthopaedic clinical practices.

Current Orthopaedic PracticeVol. 37(1)
Washington University in St. Louis (US)
Openalex Percentile: Top 53%
Healthcare cost, quality, practices
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.