Skip to content
Back to CMS Watch
PolicyJuly 10, 2026·6 min read

An AI hit 91% predicting ICD categories. Its scoring counted sepsis for a UTI as correct.

A new preprint reports 91.45% accuracy at predicting a primary ICD category from hospital records. The scoring rule credits a sepsis prediction on a urinary tract infection case. Those two codes sit on opposite sides of an HCC, and that gap is the coder's job.

AI documentationcomputer-assisted codingV28specificityrisk adjustment
Jess P., CPC

Reviewed by Jess P., CPC

Published July 10, 2026

Labeled sorting bins beside a spilling stack of blank index cards, illustrating the gap between an ICD category and a specific billable code
A June 2026 preprint sorted hospital admissions into seven diagnosis categories. Coders sort them into specific ICD-10-CM codes.Image: HCC Buddy

Key Takeaways

  • A preprint posted to arXiv on June 27, 2026 reported that linear probes on a frozen medical large language model predicted a patient's primary diagnosis category with 87.69% strict accuracy and 91.45% medical accuracy on a MIMIC-IV cohort of 13,645 hospital admissions.
  • The preprint's task was to pick one of seven diagnosis categories, consolidated from the ten most frequent primary ICD-10 codes in a MIMIC-IV critical-care cohort. It was not to assign an ICD-10-CM code.
  • The 91.45% figure uses what the authors call a clinically relaxed soft-matching rule. The paper's own example is that predicting sepsis for a urinary tract infection case is counted as correct, because both fall in its Infection Related category.
  • Under CMS-HCC V28 for PY2026, sepsis (A41.9) maps to HCC 2 with a community coefficient of 0.500, while a urinary tract infection (N39.0) maps to no HCC at all. The study's scoring rule treats that pair as interchangeable.
  • The authors of the June 2026 arXiv preprint state that their study does not include prospective validation or assessment of workflow integration with professional coders, and that its results may not generalize to outpatient settings.

On June 27, 2026, researchers posted a preprint to arXiv reporting that a frozen medical large language model can recover a patient's primary diagnosis category from hospital records with 87.69% strict accuracy and 91.45% "medical accuracy." The work is careful, the authors are candid about its limits, and the number that'll get quoted is the 91.45%.

That number is going to end up on a vendor slide. It's worth knowing what the scoring rule quietly forgives before it does.

What the study actually measured

The researchers built a cohort of 13,645 admissions from MIMIC-IV, a public database of de-identified critical-care records. They took the ten most frequent primary ICD-10 codes in that cohort and consolidated them into seven diagnosis categories. The reported mean age was 64.0 years, and the cohort was 52.9% male. The admissions were split into 9,556 training, 2,042 validation, and 2,047 test records.

The task was a seven-way choice. Given a patient's structured data and a leakage-pruned discharge note, pick the right category. The best configuration, a probe trained on layer 32 of the frozen model with both inputs combined, reached 87.69% strict accuracy and 91.45% medical accuracy.

That's a legitimate result for what it is, which is a representation-probing study. It isn't a coding accuracy number, and the paper never claims otherwise.

The scoring rule credits sepsis for a UTI

"Medical accuracy" is not a stricter metric than strict accuracy. It is a looser one. The paper defines it as a fixed soft-matching rule "that credits clinically related but non-identical predictions," and it gives the example itself: predicting "Sepsis" for a "urinary tract infection" case "is counted as correct because both map to the Infection Related category."

Read that again with a coder's eye. The study's Infection Related category contains exactly two codes, A41.9 and N39.0. Sepsis and a UTI. The headline metric treats a model that confuses them as having gotten the answer right.

The authors flag this plainly in their limitations, noting that medical accuracy "is a clinically relaxed soft-matching metric and should be interpreted alongside strict accuracy and per-class recall." The paper is fine. The trouble starts when that number gets quoted without the sentence sitting next to it.

Where those seven categories land in CMS-HCC V28

We looked up each of the ten codes behind the seven categories against the CMS-HCC V28 model for PY2026 and the FY2026 ICD-10-CM tabular. The categories aren't risk-adjustment-neutral. Several of them straddle the line between a code that carries an HCC and a code that carries none.

Study categoryCodes in itCMS-HCC V28 (PY2026)V28 community coefficient
Infection RelatedA41.9HCC 2, Septicemia, Sepsis, SIRS/Shock0.500
Infection RelatedN39.0No HCC0.000
Hypertensive Heart FailureI11.0, I13.0HCC 226, Heart Failure, Except End Stage and Acute0.360
Cardiovascular EventI21.4HCC 228, Acute Myocardial Infarction0.252
Cardiovascular EventR07.9No HCC0.000
Chemotherapy EncounterZ51.11No HCC0.000
Acute Kidney FailureN17.9No HCC (V24 mapped it to HCC 135)0.000
Major DepressionF32.9No HCC0.000
Alcohol IntoxicationF10.129No HCC (V24 mapped it to HCC 55)0.000

Two of the seven categories pair an HCC-bearing code with a code that carries no HCC. Infection Related pairs sepsis with a UTI. Cardiovascular Event pairs an NSTEMI with unspecified chest pain, a symptom code. A model can be scored correct on either pair while landing on the wrong side of a risk-adjustment boundary worth half a RAF point.

Two categories rest on codes V28 stopped paying

The table holds a second lesson that has nothing to do with AI. Acute kidney failure (N17.9) mapped to HCC 135 under V24. Alcohol abuse with intoxication (F10.129) mapped to HCC 55. Neither maps to an HCC under V28, the model that pays for PY2026. Together those two categories account for 1,645 of the 13,645 admissions in the cohort.

Major Depression is the sharpest case. The study's code is F32.9, major depressive disorder, single episode, unspecified, and it carries no HCC in either model. Specify the severity and the picture changes. F32.1 and F32.2 map to HCC 155 under V28, and F32.3 maps to HCC 152. The category label "Major Depression" is precisely the thing that doesn't code. The specificity underneath it is what does, which is the same lesson our V28 guide and the RAF calculator exist to make concrete.

What the authors say the study does not show

The paper's limitations section is the most useful page in it, and it's doing the work a vendor deck usually won't.

The authors write that the task "does not capture the full multi-label and long-tail structure of production ICD coding." They note that MIMIC-IV and MIMIC-III are retrospective critical-care datasets, so "performance may not generalize to outpatient settings, non-ICU populations, or institutions with different documentation practices." Most risk-adjustment coding happens in exactly those outpatient settings. And they close by stating that the study "does not include prospective validation or assessment of workflow integration with professional coders."

That's an author telling you, in the paper, that no coder has tested this.

Reported metricWhat it creditsOur read of the miss rate
87.69% strict accuracyThe exact category, out of sevenThe category was wrong on roughly 1 in 8 admissions
91.45% medical accuracyThe category, or a "clinically related" near missRoughly 1 in 12, after crediting near misses

The miss-rate column is our arithmetic, not the paper's. It's simply the complement of each reported figure expressed as a frequency, and it's here because "91.45% accurate" and "wrong on one admission in twelve, before you even get to code selection" describe the same result.

Where a human coder is still required

Nothing in this study picks a code. It picks a bucket, from a menu of seven, on inpatient critical-care records, and it's graded on a curve that forgives sepsis for a UTI.

Everything that makes a diagnosis reportable happens after the bucket. Whether the encounter supports the condition. Whether the documentation carries MEAT for it. Whether the severity, the episode, and the laterality are specified enough to reach a billable code. Whether that code maps to an HCC under the model that pays this year, and not the model that paid three years ago. Every one of those is a judgment about a record, made by someone who can be held to it, and this paper doesn't claim otherwise.

The pattern is familiar. A study earlier this month graded an AI comorbidity reader against the billing codes already sitting on the claim, and agreeing with a billing code doesn't prove the record supported it. Here the yardstick is a category, and agreeing with a category tells you even less, because it never reaches a code at all. Both are worth reading. Neither replaces the coder QA pass on an AI-touched note.

When a tool's accuracy number lands on your desk, the number is the least interesting part. Ask what it was graded against, and at what granularity. If the answer is a category, you've learned nothing yet about a code. Look the code up in the encoder and read the note.

What coders should do now

  1. 1Ask any vendor quoting an accuracy figure two questions before anything else: accuracy at what granularity (a category, a billable code, or a code plus all reportable secondary diagnoses), and graded against what (the note, the claim, or a consolidated bucket). A category-level number tells you nothing about code selection.
  2. 2Get the strict number, not the soft-matched one. If a metric credits clinically related near misses, ask for the exact-match accuracy and the per-class recall, and ask which code pairs the soft-match rule treats as equivalent.
  3. 3Check whether the cohort was inpatient or outpatient before you trust a number for your own panel. Critical-care discharge summaries aren't the outpatient physician-office encounters most risk-adjustment coding runs on, and the authors of this study say so themselves.
  4. 4Never let a category-level tool drive HCC capture. HCC mapping happens at the code level: sepsis (A41.9) carries HCC 2 under V28 while a urinary tract infection (N39.0) carries none, and the two sit in the same category in this study.
  5. 5Re-check any condition your team treats as an automatic HCC against the model that pays this year. Acute kidney failure (N17.9) and alcohol abuse with intoxication (F10.129) both carried an HCC under V24 and carry none under V28.

Frequently Asked Questions

Does this study mean AI can code ICD-10 at 91% accuracy?

No. The study asked a model to pick one of seven diagnosis categories consolidated from the ten most frequent primary ICD-10 codes in a critical-care cohort. It did not ask the model to assign an ICD-10-CM code, and the authors describe it as a representation-probing study, not a production coding system.

What is the difference between strict accuracy and medical accuracy in this paper?

Strict accuracy requires the exact category. Medical accuracy applies a soft-matching rule that credits clinically related but non-identical predictions. The authors give the example of a sepsis prediction on a urinary tract infection case being counted as correct, and they caution that medical accuracy is a clinically relaxed metric that should be read alongside strict accuracy and per-class recall.

Do sepsis and a urinary tract infection map to the same HCC?

No. Under CMS-HCC V28 for PY2026, sepsis, unspecified organism (A41.9) maps to HCC 2, Septicemia, Sepsis, Systemic Inflammatory Response Syndrome/Shock, with a community coefficient of 0.500. Urinary tract infection, site not specified (N39.0) maps to no HCC in either V28 or V24.

Does acute kidney failure still carry an HCC under V28?

No. Acute kidney failure, unspecified (N17.9) mapped to HCC 135, Acute Renal Failure, under CMS-HCC V24. It maps to no HCC under V28, which is the model that pays for PY2026. Alcohol abuse with intoxication, unspecified (F10.129) is in the same position, having mapped to HCC 55 under V24.

Was this study validated with professional coders?

No. The authors state in their limitations that the study does not include prospective validation or assessment of workflow integration with professional coders, and that performance may not generalize to outpatient settings, non-ICU populations, or institutions with different documentation practices.

Related topics:AI documentationcomputer-assisted codingV28specificityrisk adjustment
Jess P., CPC

Jess P., CPC

Certified Professional Coder

Jess reviews HCC Buddy editorial content for accuracy against the current CMS-HCC model and the active FY ICD-10-CM tabular release.

Get CMS Updates in Your Inbox

RADV news, model changes, and coding guidance — within days of CMS publishing, not quarters.