Evidence map›Paper›PMID 39608761›Full record

ArticleApplied clinical informatics2025

Extracting International Classification of Diseases Codes from Clinical Documentation Using Large Language Models.

Ashley Simmons, Kullaya Takkavatakarn, Megan McDougal, Brian Dilcher, Jami Pincavitch, Lukas Meadows, Justin Kauffman, Eyal Klang, Rebecca Wig, Gordon Smith and 7 more

Abstract read
In one paragraph

Article in Applied clinical informatics, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 11 papers.

0numbers the graph read from it
0cells of the map it votes in
11citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

11 citing papers in PubMed.

  1. Article
  2. Article
  3. Article
  4. Article
  5. Article
  6. Article
  7. Article
  8. Review
  9. Article
  10. Article
  11. Article
4 · The record

Corrections and comments

5 · Who and what money

Authors and funding

17 authors.

Ashley Simmons *Department of Human Performance - Health Informatics and Information Management, West Virginia University, Morgantown, West Virginia, United States.
Kullaya Takkavatakarn *Division of Nephrology, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Megan McDougal *Department of Human Performance - Health Informatics and Information Management, West Virginia University, Morgantown, West Virginia, United States.
Brian DilcherDepartment of Emergency Medicine, West Virginia University, Morgantown, West Virginia, United States.
Jami PincavitchDepartment of Orthopedics, West Virginia University, Morgantown, West Virginia, United States.
Lukas MeadowsDepartment of Radiology and Imaging Sciences, Emory University, Atlanta, Georgia, United States.
Justin KauffmanDivision of Data Driven and Digital Medicine, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Eyal KlangDivision of Data Driven and Digital Medicine, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Rebecca WigDepartment of Medicine, The University of Arizona, Tucson, Arizona, United States.
Gordon SmithDepartment of Epidemiology and Biostatistics, West Virginia University, Morgantown, West Virginia, United States.
Ali SoroushDivision of Data Driven and Digital Medicine, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Robert FreemanThe Charles Bronfman Institute for Personalized Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Donald J ApakamaDepartment of Emergency Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Alexander W CharneyDepartment of Psychiatry, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Roopa Kohli-SethInstitute for Critical Care Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Girish N Nadkarni *Division of Nephrology, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.
Ankit Sakhuja *Division of Data Driven and Digital Medicine, Department of Medicine, Icahn School of Medicine at Mount Sinai, New York, New York, United States.

Funding

Using Novel Machine Learning Methods to Personalize Strategies for Prevention of Persistent AKI after Cardiac SurgeryK08DK131286 · NIDDK · WEST VIRGINIA UNIVERSITY · PI Ankit Sakhuja · 2022 to 2026
$774k
Digestive and Kidney Diseases NIH/NIDDK grant K08DK131286NIDDK NIH HHS K08 DK131286NIDDK NIH HHS K08DK131286
6 · The paper itself

Abstract

backgroundLarge language models (LLMs) have shown promise in various professional fields, including medicine and law. However, their performance in highly specialized tasks, such as extracting ICD-10-CM codes from patient notes, remains underexplored.

objectiveThe primary objective was to evaluate and compare the performance of ICD-10-CM code extraction by different LLMs with that of human coder.

methodsWe evaluated performance of six LLMs (GPT-3.5, GPT-4, Claude 2.1, Claude 3, Gemini Advanced, and Llama 2-70b) in extracting ICD-10-CM codes against human coder. We used deidentified inpatient notes of authentic patient cases from American Health Information Management Association Vlab for this study. We calculated percent agreement and Cohen's kappa values to assess the agreement between LLMs and human coder. We then identified reasons for discrepancies in code extraction by LLMs in a 10% random subset.

resultsAmong 50 inpatient notes, human coder extracted 165 unique ICD-10-CM codes. LLMs extracted significantly higher number of unique ICD-10-CM codes than human coder, with Llama 2-70b extracting most (658) and Gemini Advanced the least (221). GPT-4 achieved highest percent agreement with human coder at 15.2%, followed by Claude 3 (12.7%) and GPT-3.5 (12.4%). Cohen's kappa values indicated minimal to no agreement, ranging from -0.02 to 0.01. When focusing on primary diagnosis, Claude 3 achieved highest percent agreement (26%) and kappa value (0.25). Reasons for discrepancies in extraction of codes varied among LLMs and included extraction of codes for diagnoses not confirmed by providers (60% with GPT-4), extraction of nonspecific codes (25% with GPT-3.5), extraction of codes for signs and symptoms despite presence of more specific diagnosis (22% with Claude 2.1), and hallucinations (35% with Claude 2.1).

conclusionCurrent LLMs have poor performance in extraction of ICD-10-CM codes from inpatient notes when compared against the human coder.

Indexed as

DocumentationInternational Classification of DiseasesNatural Language ProcessingHumansLarge Language Models

Identifiers

PMID39608761
PMCPMC12020521

What OpenQuestion holds

Textmetadata
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.