You book a visit for a cough that won’t go away. While you’re in the exam room, you point to a dark spot on your arm that has been bugging you for weeks. The doctor listens to your lungs, sends a prescription to your pharmacy, then numbs the spot and takes a tiny sample for the lab. Twenty minutes, two problems handled.
Then your visit turns into data. The conversation becomes a short string of codes, the codes get packed into a standard electronic claim, and that claim passes through several layers of software before anyone talks about money. In many cases, no person reads it at all. Instead, an algorithm checks it against a huge library of rules and decides whether your doctor gets paid in full, gets paid less, or gets nothing.
Most patients never see this layer. Doctors see it every week, usually in the form of a denial. So let’s open the hood and look at how the software actually makes that call, and why care that really happened can still come back with a zero next to it.
What happens to your visit after you walk out
By the time you reach your car, your visit has already begun to turn into a claim. And a claim looks a lot more like a row in a spreadsheet than a page in your chart. For a typical office visit, the trip goes something like this:
- The doctor, or more and more often an AI scribe, writes up what happened: your symptoms, the exam, the reasoning, and the procedure.
- Next, each service gets a CPT code that says what was done, and each problem gets an ICD-10 code that says why. Your cough and that biopsy turn into an office visit code, a biopsy code, and a couple of diagnosis codes.
- The billing system then packs those codes, your insurance details, and the doctor’s ID numbers into a standard electronic file called the 837. Because HIPAA requires that format, every insurer can read it.
- Most practices send that file through a clearinghouse, a middleman that checks its structure and routes it to the right insurer. Think of it as the post office of medical billing.
- After that, the insurer’s system runs its own checks, applies your plan’s benefits and fee schedule, and makes a decision.
- Finally, a payment file called the 835 comes back. It lists what was paid, what was cut, and a reason code for every cut.
The catch here is that the rules behind each step keep moving. On October 1, 2026, for example, the ICD-10 code set changed again, adding 190 new diagnosis codes and deleting 30 with no grace period. One of those changes swapped out the go-to code for the most common cause of heel pain for three codes that require a side. So a claim that sailed through in September can now bounce over a missing “left” or “right.”
The rulebooks the software checks first
Before any money moves, software on both sides runs the claim through a stack of rulebooks. The biggest public one is Medicare’s National Correct Coding Initiative, usually shortened to NCCI, and many commercial insurers use it as their starting point.
NCCI itself rests on two simple ideas. The first is a list of code pairs that typically shouldn’t be billed together because one service is already included in the other. The second is a cap on the number of service units that make sense in a single day. You can’t remove two gallbladders from the same patient, for example, so a claim that says otherwise gets stopped.
These tables don’t sit still, though.
CMS updates them every quarter, and version 32.3 took effect on October 1, 2026. The April 2026 update alone added more than 3,750 new code pairs and deleted more than 4,800.
On top of Medicare’s rules, commercial insurers stack their own. Some are published as payment policies. Others live within proprietary claim-editing software that doctors never see. And over the past year, a few big insurers have started using that software to do something bolder than accept or reject a claim.
When the insurer’s algorithm rewrites the bill
Some insurers no longer stop at yes or no. Their software now edits the claim itself.
The clearest example is automatic downcoding. Office visits are billed at different levels, from simple to complex, and higher levels pay more. Since late 2025, major payers have all launched or expanded programs that algorithmically lower the level of care for complex visits. These tools rely on claims data, such as diagnosis codes, rather than on the medical record.
Not everyone is going along with it, though.
In March 2026, Maryland’s insurance regulator fined Cigna $80,000 and ordered it to stop automatic downcoding. Under the state’s ruling, Cigna must formally dispute a claim and request records instead. Aetna, meanwhile, kept moving in the opposite direction and expanded its claims review program from 12 pilot states to every state where it sells commercial plans, except Louisiana.
Even a paid claim isn’t really final anymore. A recent Kodiak Solutions analysis of more than 2,300 hospitals and 375,000 physicians found that insurers clawed back more already-paid money in the first half of 2026 than a year earlier. Takebacks reached 1.57% of accounts receivable, up from 1.38%, while the money providers won back through appeals went down.
Traditional Medicare is experimenting, too. In January 2026, CMS launched the WISeR model, which uses AI-supported prior authorization for services such as knee replacements and nerve stimulators in six states. Practices that skip the approval step see their claims routed to prepayment review instead. In Washington State, hospitals report that approvals that used to take about two weeks now take four to eight weeks.
Your doctor’s office is running software, too
Practices have their own software in this fight. Their side runs on claim scrubbers, which check every claim against the same kinds of rules before it leaves the building. A decent scrubber catches the boring mistakes that sink many claims, like a typo in a member ID or a code that was deleted on October 1.
The newer tools go a step further. They read the clinical note, compare it with the codes, and flag the gaps an insurer’s algorithm is likely to find. There’s a reason for the upgrade. “As we move into an AI-based world, there’s more real-time adjudication,” Valerie Rock of the advisory firm PYA told Healthcare Finance News in May. She also noted that payers now use AI to review full datasets instead of small samples, so problems surface faster than many billing teams can keep up with.
To be fair, insurers describe this race differently. In the same article, Aetna’s chief digital and technology officer said the company never uses AI to deny prior authorizations and that a physician reviews every one. CVS Health and Aetna also plan to spend $20 billion on AI over the next decade, and Aetna says one of its newer tools flags claims with missing information so they don’t stall.
Still, provider-side software can backfire when it makes a note say more than the visit did. On October 7, Texas clinic group Heal 360 and its owner agreed to pay $20 million to settle allegations that quick COVID-19 swabs were billed as full office visits backed by template notes. There was no finding of liability, but the lesson for anyone using AI scribes or note templates is simple. The note has to match the visit, line for line.
The two-problems-one-visit trap
Now go back to that cough and the dark spot. To you, it was one appointment. To the software, it was two services on the same day: an office visit and a minor procedure. That’s exactly the combination claim engines are built to distrust.
The logic is fairly simple. Every procedure payment already includes a little bit of evaluation, the quick “let’s take a look” before a doctor numbs and cuts. So when a claim shows a visit and a procedure on the same date, the default assumption is that the visit was already paid for inside the procedure. As a result, the edit bundles them, and the office visit drops to zero.
Modifier 25 indicates to the software that the visit was standalone. It’s a two-digit flag added to the visit code, and it says the doctor did significant, separate work, like working up your cough, on top of the procedure. Used correctly, it gets both services paid. Used carelessly, or attached to a note that conflates the two problems, it becomes one of the most commonly denied flags in physician billing.
Meanwhile, CMS wants to change the math. Under the proposed 2027 Medicare Physician Fee Schedule, when an office visit happens on the same day as a procedure with a global period, Medicare would pay the higher-priced service in full and cut each additional service by 50%. The AMA and more than 150 medical organizations have urged CMS to drop it, noting that the agency floated a similar idea in 2019 and never finalized it. CMS usually publishes the final fee schedule around the start of November, so the answer is only weeks away.
Either way, the practical lesson stays the same. A visit with a procedure needs documentation that tells two clean stories, one for each service, because that’s what both the software and any human auditor will look for. When the note does that, modifier 25 works as designed and gets both paid.
What it means for patients and small practices
For patients, most of this stays invisible until it suddenly isn’t. It shows up as a procedure pushed to a second appointment, or an approval that drags on for weeks. The California Medical Association, for one, has warned that the proposed cut to modifier 25 could lead some doctors to schedule procedures on a separate day. For you, that means another trip and another copay.
For small and independent practices, the math is harsher still. While a large health system can afford a team that does nothing but fight denials and track policy changes, a three-doctor family practice usually can’t. Prior authorization alone eats a big chunk of the week. In an AMA survey released in May 2026, physicians reported about 40 requests a week, which take roughly 13 hours of doctor and staff time. That’s 13 hours not spent with patients.
Some relief is coming, at least partly. Starting January 1, 2027, many health plans must handle prior authorization through standardized electronic connections to a practice’s EHR. However, the rule doesn’t cover employer-sponsored commercial plans or traditional Medicare, and plans don’t have to switch off their fax lines. For a while, then, practices will run old and new systems side by side, and the software they pick will decide how much of that mess lands on their staff.
So, who really decides?
In the end, the software merely reads the codes. It checks them against rulebooks that change every quarter, compares your doctor’s billing with everyone else’s, and, increasingly, it edits a claim or claws back a payment on its own.
Doctors can’t opt out of that system. What they can control is the software on their own side of the table. Family doctors feel this sharply, because their days are packed with exactly the visits algorithms scrutinize: a child’s checkup that turns into an ear exam, or a blood pressure follow-up that ends with a suspicious mole being removed. For those practices, family practice software that keeps the note, the codes, and the claim checks in one place can decide whether they get paid for the care they gave or spend weeks arguing about it.
The next time one appointment handles two problems, remember that the visit is only half the story. The other half is a few lines of code, and whether they make it past the algorithm.


