Over the last few years, and especially lately as people have started talking about AI swarms working through problems, systems and datasets, I've had a vision of AI to AI interaction as an artificial immune system. AI offense attacks a system or a problem. AI defense has to adapt, in milliseconds, to whatever exploit turns up. A very fast immune system.
This week I found a discussion that illustrates the point. Hospitals are using AI to comb medical records for diagnoses that support a higher level of intensity, and a higher payment. Insurers are fighting back with defensive AI that downcodes the claims. (Hospitals would say the insurers started it. Both sides say they're losing.) The hospital's AI reads the whole chart. The insurer's usually reads only the claim.
I'm not sure whether this becomes an endless spiral of agentic fighting or evolves into agents negotiating prices in real time across wide ranges of care. Imagine your hospital submitting a thousand claims at once. The insurer's agent grades them against your own history and against every other organization submitting similar claims, then negotiates the whole batch on the spot.
It would make cash flow harder to predict, and it isn't far off. My Tesla's insurance already reprices every month based on how I drive.
A hemoglobin of 9 after bowel surgery surprises no surgeon. For most of my career it also didn't surprise the billing office. Now an algorithm reads the lab value, proposes acute posthemorrhagic anemia, and the same operation moves up a payment tier.
The Blue Cross Blue Shield Association says that move, repeated tens of thousands of times, cost its plans $942 million over two years. Its evidence is that the diagnoses went up and the transfusions didn't.
Inpatient payment runs on diagnosis related groups. Many surgical and medical DRGs come in three steps. The base case, the case with a complication or comorbidity (a CC), and the case with a major one (an MCC). Medicare sets the weights, and many commercial contracts pay off the same grouper. One secondary diagnosis can move a stay up a step, and the step is worth thousands of dollars.
Anemia, hyponatremia and acidosis are common and easy to miss in a busy note. For decades hospitals hired clinical documentation specialists to find them. Every hospitalist knows the query asking whether a sodium of 131 is clinically significant. AI does the same job without getting tired, on every chart, including the old ones.
What BCBSA reported. Claims from Blue plan members, first quarter 2023 through fourth quarter 2025, measured against a 2023 baseline.
| Measure | Value |
|---|---|
| Stays billed as medically complex | 37% rising to 40% |
| Excess complex stays | More than 55,000 |
| Total excess cost | $942 million |
| Share from secondary diagnoses | About 70% ($653 million, roughly $11,800 a case) |
| Major bowel procedures in highest tier | Rose to 22.7%, about $61 million |
| Posthemorrhagic anemia, top quartile hospitals vs peers | 13.7% vs 9.9% coded; 16.9% vs 19.3% transfused |
BCBSA is the trade group for the independent Blue plans. The analysis comes from Luke Chalker, its senior vice president of product and data science, with clinical commentary from Razia Hashmi, its vice president of clinical affairs. It is at least the second report in this vein this year. An earlier one attributed $22 million in maternity costs to a single anemia code.
The interest is plain. Every dollar of coding intensity is a dollar the plans pay. That does not make the numbers wrong. It explains why the counterfactual is built the way it is, with 2023 as the honest baseline and everything since as drift.
The American Hospital Association is no more neutral. Its July fact sheet says case mix rose about 5% from 2019 to 2024 because patients are older and sicker, calls payer downcoding programs automated and unilateral, and points out that insurers claim sicker members when it raises their Medicare Advantage risk scores. MedPAC has estimated that coding intensity in Medicare Advantage runs to tens of billions a year. Both sides know how this game works because both sides play it.
A three point rise in the complex share across a national book of business is large and hard to fake. Neither side seriously disputes the drift. They dispute why.
The caveatWe see the headline numbers only. No published method, no peer review, no hospital level data.
If you freeze the 2023 mix and price the difference, you get a number in this range. The arithmetic is simple.
What the number assumesThat patients in late 2025 were exactly as sick as patients in early 2023. Some real acuity change belongs in the denominator, and some 2023 charts were undercoded. The AHA's 5% case mix figure covers a different window and all payers, so it does not settle the question either.
This is the cleverest part of the analysis. Hospitals coding the most anemia transfused less often than their peers. If the anemia were clinically important, you would expect the opposite.
Where the proxy bendsModern transfusion practice is restrictive on purpose. Most postoperative patients with a hemoglobin of 8 or 9 should not get blood. Hyponatremia is often managed with a fluid restriction, which generates no claim. A condition can be real, documented, relevant to the stay and still untreated in any billable way. The treatment test catches some upcoding. It also catches good medicine.
The timing fits. AI coding and ambient documentation tools spread through hospitals over exactly this window, and one industry survey cited by Fierce put AI use in revenue cycle work at 63% of organizations. The mechanism fits too.
What the headline stretchesThe public summary does not link specific hospitals' AI adoption to their coding changes. Without that, AI is the leading suspect, not a conviction. Aggressive human documentation programs and yearly code set changes overlap the same years.
The Blue Cross report reads as if hospitals brought software to a paper fight. They didn't. In October 2025 Cigna launched a policy to automatically knock high level office visit codes down a level for clinicians whose billing looked like outliers against their peers. It paused after California regulators got involved. In April my own state's Insurance Administration fined Cigna $80,000 and ordered it to stop automatic downcoding and ask for records instead. Aetna's Level of Severity policy for Medicare Advantage, pushed to January 1 after hospital objections, pays many one to four midnight emergency admissions at a reduced rate close to observation.
Notice the asymmetry. The hospital's software reads the whole chart, every note and every lab. Most automated downcoding reads the claim. The AHA complains that payers cut codes without reviewing the documentation at all, and the Maryland order amounts to an instruction to open the chart before swinging.
HCA's chief financial officer says hospitals are behind the payers on AI claims processing. The revenue chief at NYC Health + Hospitals called it a rock 'em, sock 'em robot fight in which nobody wins. Hospitals think they are losing. Insurers think they are losing. That is usually a sign both sides are spending a lot.
An immune system is an arms race with a memory. A pathogen finds a surface the body doesn't recognize. The body builds an antibody. The pathogen mutates. Neither side wins permanently, and the Red Queen keeps them both running to stay in place.
Computer scientists borrowed the idea long before large language models. In 1994 Stephanie Forrest and colleagues at the University of New Mexico built software that learned what normal looked like on a machine (the self) and flagged everything else. In 2016 DARPA put seven autonomous systems on an air gapped network in Las Vegas for nearly twelve hours, finding flaws, patching their own software and probing each other's, with no human at the keyboard. Offense and defense at machine speed is no longer a thought experiment in security. Billing is just a slower host.
Billing now works the same way, with agents on both sides. The hospital's model reads the chart and presents every true diagnosis it can defend. The payer's model reads the claim and flags every pattern that looks inflated. Each learns from the other's last move. The hospital's next model documents the fluid restriction. The payer's next model asks for the sodium trend.
Immunologists know the two ways this ends. Tolerance, where the system learns what belongs to the self and stops attacking it. Or autoimmunity, where the response itself becomes the disease. In billing, the inflammation is administrative cost, and the host who pays for it is the patient, in premiums and in time.
There is a hopeful version. Two agents negotiating every stay, with full access to the chart and the contract, could discover something close to a fair price for that stay faster than any rate committee (I sit on one, so I say this with some humility). Scale it up and a hospital submits a thousand claims at once, the insurer's agent scores the batch against the hospital's own history and against its peers, and a price clears for the whole lot. The pieces already exist. Cigna's policy flagged outliers against peers. CMS mails physicians Comparative Billing Reports that do the same thing on paper. Usage based auto insurance reprices drivers monthly from telematics. The staircase would stop mattering because the price would follow the care instead of the codes. The cost is predictability. A CFO who can't forecast next month's reimbursement will want a very good reason to sign up. Medicare has a blunter tool. When coding intensity rose after the 2007 switch to MS-DRGs, CMS simply clawed the gains back through years of payment adjustments. Tolerance by decree.
The less hopeful version is the one we have now. Each side buys a better weapon, the other side buys a better shield, and the vendors selling to both are the only ones with a clean balance sheet.
Evidence I'd want
- Independent chart audits of a random sample of the excess complex stays. Was the anemia real?
- Hospital level AI adoption dates matched to coding changes before and after.
- The same analysis run on Medicare fee for service claims, where no commercial contract shapes the incentive.
What to watch
- Whether CMS proposes a coding intensity offset in the next inpatient rule.
- Whether other states follow Maryland on automatic downcoding.
- Whether any payer and health system pilot agent to agent claim negotiation in a contract, and who audits the agents.
The software didn't invent upcoding or downcoding. It removed the fatigue that used to limit both. A billing system designed around a staircase will now be climbed and guarded at machine speed.
The immune system analogy has one more lesson. The most dangerous moment in an infection is often the body's own response. The fight between these agents will settle on a price, or it will settle on a permanent fever. The humans writing the contracts get to decide which.
Sources
Primary coverage: Muoio D. Hospitals' use of AI coding tools cost BCBSA plans $942M more for similar care: analysis. Fierce Healthcare, Sept 24, 2026. fiercehealthcare.com
BCBSA release: BCBSA analysis: how AI coding tools affect healthcare costs. bcbs.com
Hospital side: Hospitals say they're losing the AI billing war. A new BCBS study suggests otherwise. Becker's Hospital Review, Sept 2026. beckershospitalreview.com
AHA rebuttal: Fact sheet: artificial intelligence and coding intensity. American Hospital Association, July 31, 2026. aha.org
Maternity anemia report: Wilkins B. AI battle between insurers and hospitals jacked up patient prices. Common Dreams, Sept 24, 2026 (republished by Pagosa Daily Post). pagosadailypost.com
Reuters: AI tools generated nearly $1 billion in extra costs, Blue Cross insurers say. Sept 24, 2026. reuters.com
Cigna pause: Cigna agrees to pause controversial downcoding policy. California Medical Association. cmadocs.org
Maryland order: Maryland orders Cigna to stop automatic downcoding, issues $80,000 fine. ADA News, April 2026. adanews.ada.org
Aetna policy: Aetna delays, issues additional details on level of severity inpatient payment policy. AHA News, Nov 14, 2025. aha.org
Payer downcoding overview: Insurance companies are on a new slippery slope: downcoding. STAT, Sept 29, 2025. statnews.com
Payer peer profiling: What to know about Cigna's and Aetna's new downcoding policies. Experity. experityhealth.com; CMS comparative billing reports, what you need to know. American Optometric Association. aoa.org
Artificial immune systems: Forrest S, Perelson AS, Allen L, Cherukuri R. Self-nonself discrimination in a computer. Proc IEEE Symposium on Research in Security and Privacy, 1994. doi:10.1109/RISP.1994.296580
Machine vs machine security: Cyber Grand Challenge. DARPA, final event Aug 4, 2016. darpa.mil
Usage based insurance: Tesla real-time insurance. Tesla Support. tesla.com