When an algorithm denies your doctor's order
Before a hospital sends you a bill, an insurer's software filter often decides whether your treatment can happen at all. When clinics fight back with unguarded chatbots, missing codes and invented rules give insurers an easy excuse to say no again.

Insurers use batch filters to deny prior authorizations in seconds, while unguarded chatbots omit codes or invent citations. Pairing a local health vault with a rule-checking appeal harness verifies every coverage rule and statutory deadline offline. Anyone who has waited on a delayed scan or prescription knows the anxiety of watching care stall behind paperwork.
Imagine a town building office where an automated stamp rejects roof-repair permits in two seconds flat. Reversing that rejection takes the local carpenter three hours. They must assemble a twenty-page packet with exact municipal paragraph numbers, dated weather photos, and a stamped return clock.
If one form number is missing, the clerk tosses the packet back into the rejection bin unread. Prior authorization in modern healthcare runs on that same asymmetric clock.1,4
Your physician examines you, reviews your lab results, and orders an imaging scan, an oncology infusion, or physical therapy. Before the clinic schedules the visit, the order hits an insurer's automated screening filter. Within seconds, a rejection notice states that medical necessity has not been established.4
Why fluent chatbot letters still lose the appeal
Faced with thousands of hours of yearly paperwork, many busy clinics ask general-purpose language models to draft appeal letters. At first glance, the drafted letters read well. The prose sounds clinical, summarizes the diagnosis clearly, and explains why earlier treatments failed.
A March 2026 study tested forty-five physician-validated clinical scenarios across rheumatology, psychiatry, oncology, cardiology, and orthopedics.1 Those tests exposed a sharp divide between clinical prose and administrative precision. Moiz Sadiq Awan and Maryam Raza evaluated three leading commercial models.1 All three wrote persuasive medical summaries while dropping the administrative details that insurers require.1
The model-written letters regularly omitted procedure and diagnosis codes, left out coverage duration, or skipped measurable follow-up intervals.1 To an insurer's intake filter, a fluent letter missing a procedure duration is incomplete. The appeal fails on a technicality before a medical reviewer ever reads the doctor's clinical reasoning.
A single conversational model arguing against a complex coverage policy also invents guideline citations. It can stretch a lab detail that never appeared in the patient's chart.2 Federal Inspector General audits confirm that automated insurer denials frequently block medically necessary Medicare care.4 Even one fabricated policy citation gives the insurer a procedural excuse to uphold an improper denial.2
Why the harness around the model matters as much as the model
When a clinic evaluates medical software, vendors usually advertise the size or benchmark score of the underlying language model. In clinical workflows, the model is one piece of the machine. Accuracy comes from the deterministic harness around the model: hard-coded rule tables, schema checks, and citation gates.2,3
In October 2026, Ziqing Wang, Lili Zhao, and Kaize Ding tested 107 medical tasks across five execution harnesses.3 They held the language models constant throughout the study. The surrounding harness and its model interaction accounted for roughly a quarter of all outcome variance.3 Turning off context limits, planning checks, or tool boundaries changed clinical reliability sharply with identical model weights.3
Harshil Lodhiya, Alex McManus, and Reese Walker built a dedicated clinical appeal harness for this problem.2 Managing claim denials costs United States healthcare roughly 260 billion dollars each year in administrative overhead.2 Their pipeline separates appeal drafting into five distinct stages.2 It formalizes the payer's policy graph, pulls chart evidence, maps gaps, runs an adversarial critic, and gates letter synthesis.2
At the center of their pipeline sits a deterministic citation-grounding gate. Every clinical assertion in the draft appeal must carry an exact pointer to a lab result, progress note, or coverage rule.2
Across one thousand synthetic appeals built from de-identified hospital discharge data, the gated pipeline produced zero citation violations.2 Removing that gate and letting the model draft directly pushed citation violations to 100 percent of tested cases.2 When a patient's chart lacks a required lab test, a trustworthy tool stops and names the missing test before submission.2
Locking the statutory deadline clock from your own device
Accurate clinical citations solve half the problem. The other half is holding the insurer to the legal clock while keeping the patient's medical diary private.
Under the federal Interoperability and Prior Authorization Final Rule, regulated payers must decide urgent requests within seventy-two hours.5 Standard requests require a decision within seven calendar days, and every denial must state a specific reason.5
When a patient keeps health records inside a sealed memory vault on their own device, their 1:1 personal assistant prepares the timeline offline. It gathers prior medications, physical therapy dates, and wearable symptom logs without uploading a full medical history to a public web form.
Working alongside the clinic's appeal harness, the assistant shares only the dated records required by the insurer's published coverage rule. Every shared fact carries a cryptographic postmark and starts a verifiable seventy-two-hour urgent or seven-day standard countdown timer.5 If an insurer rejects the request without a specific rule or misses the clock, the signed receipt supports regulatory enforcement.
What patients and family clinics can do today
Even while health systems upgrade their software, patients and independent clinics can apply four practical safeguards after a denial.
- Demand the specific coverage criterion behind the denial. Under federal prior-authorization rules, a vague claim that care is "not medically necessary" falls short for regulated plans.5 Ask for the exact published clinical policy bulletin and the specific unmet criterion.
- Never let a chatbot write an unguarded appeal letter from scratch. Pair any language model draft with a hard administrative checklist before anyone signs.1 Verify procedure codes, diagnosis codes, requested authorization duration, and measurable follow-up dates.1
- Match every sentence to a dated line in the medical chart. Treat every clinical claim in an appeal like a building-code check. Cite the exact start and end dates from progress notes, and flag any missing lab test before submitting.2
- Stamp the submission time and track the statutory window. Record the exact hour an urgent seventy-two-hour or standard seven-day request goes out.5 File an administrative complaint when an automated denial misses the statutory clock or ignores documented step therapy.4,5
Checking an itemized statement after treatment is only half of protecting a family's health. You can read our companion guide on auditing medical billing codes offline, explore how selective proofs protect private records, or test clinical appeal cards in Shared Horizon and Research.
1. Moiz Sadiq Awan and Maryam Raza (2026), "AI-Generated Prior Authorization Letters: Strong Clinical Content, Weak Administrative Scaffolding," arXiv:2603.29366 (evaluating commercial LLMs across 45 physician-validated scenarios in rheumatology, psychiatry, oncology, cardiology, and orthopedics, demonstrating that models produce accurate clinical arguments while consistently omitting billing codes, authorization durations, and follow-up plans).
2. Harshil Lodhiya, Alex McManus, and Reese Walker (2026), "Agentic Governance and Adversarial Verification for Policy-Constrained LLM Healthcare Appeal Generation," arXiv:2609.27844 (introducing the five-agent AGVF constrained Markov decision process architecture with a deterministic citation-grounding gate across 1,000 synthetic appeal cases, eliminating citation violations from 100% ablated to 0%).
3. Ziqing Wang, Lili Zhao, and Kaize Ding (2026), "MedicalHarness: A Controlled Evaluation of LLMs and Agent Harnesses on Medical Tasks," arXiv:2610.05778 (evaluating five open-weight models across five agent harnesses on 107 medical tasks in MedicalHarnessBench, showing that the execution harness and model-harness interaction account for roughly 25% of outcome variance).
4. U.S. Department of Health and Human Services, Office of Inspector General (2022), Some Medicare Advantage Organization Denials of Prior Authorization Requests Raise Concerns About Beneficiary Access to Medically Necessary Care, Report OEI-09-18-00260.
5. Centers for Medicare & Medicaid Services (2024), CMS Interoperability and Prior Authorization Final Rule (CMS-0057-F), 89 FR 8758 (mandating 72-hour expedited and 7-calendar-day standard prior authorization decisions with specific denial reason disclosure).
6. Kevin Fu and Wenyuan Xu (2018), "Risks of Trusting the Physics of Sensors," Communications of the ACM, 61(2), 20-23; Henk Birkholz et al. (2023), IETF RFC 9334: Remote ATtestation procedureS (RATS) Architecture; Coalition for Content Provenance and Authenticity (2024), C2PA Technical Specification v2.1; Jack M. Balkin (2016), "Information Fiduciaries and the First Amendment," UC Davis Law Review, 49(4), 1183-1234.
7. Karl Friston (2013), "Life as We Know It," Journal of the Royal Society Interface, 10(86), 20130475; Jack B. Dennis and Earl C. Van Horn (1966), "Programming Semantics for Multiprogrammed Computations," Communications of the ACM, 9(3), 143-155; Henk Birkholz et al. (2026), IETF RFC 9943: An Architecture for Trustworthy and Transparent Digital Supply Chains (SCITT); Rudolf Meidner (1978), Employee Investment Funds: An Approach to Collective Capital Formation; Elinor Ostrom (1990), Governing the Commons.


