LiveIndependent · Healthcare revenue cycle2026

Cleanpass

An AI revenue-cycle platform for Saudi hospitals: front desk to final payment · live, with a private demo hospital per visitor

76→96%claims paid in full first time (simulated month, same insurer)
01The problem

Why it exists

Hospitals lose money when insurers deny claims, and most denials are decided before a claim is written: a missing approval, a code the note does not support, an expired policy. Cleanpass reads every Arabic or English clinical note, predicts which claims an insurer will deny, fixes what is safe to fix, and sends the rest to the right person with the evidence ready. An autopilot works the whole queue under a manager's policy, denials arrive triaged with appeal letters the doctor signs, and insurer payments are reconciled against the agreed prices.

02The system

What I built

Front deskeligibility · approvals
Codingrules + LLM, verified
Checks + risk modelpayer rules · AUC 0.984
Autopilotpolicy-bound agent
Denials + paymentsappeals · reconciliation
  1. Evidence-cited coding from Arabic and English notes: rules with negation and prompt-injection screening, plus Llama 3.3 70B for wording the rules miss; a model suggestion is kept only if it quotes the note word for word and names the code it describes
  2. Nine payer-rule checks tied to policy sections, and a logistic-regression denial-risk model trained in-repo on 7,222 claims that explains every score and learned insurer habits no published policy describes
  3. A policy-bound autopilot agent with a live trace: it applies only administrative fixes and sends clean, low-risk claims; diagnosis changes, appeals, write-offs and patient bills always go to a person
  4. Denial triage with look-ahead re-checks, role-enforced approvals (only a doctor signs a medical-necessity appeal), exactly-once resubmission, and NPHIES-style FHIR Claim / ClaimResponse
  5. Front desk eligibility and prior-approval requests, remittance reconciliation that finds underpaid, missing and double payments, root-cause insights, and a sandbox hospital per visitor on Cloudflare Workers + D1
  6. Payer drift monitoring: actual vs predicted denials, AUC change and claim-mix shift per insurer, raised as proposals for a manager
03The result

What it achieved

In a simulated month run twice through the same strict insurer, claims paid in full the first time rose from 76.0% to 96.3%, insurers paid SAR 398,590 more, write-offs fell from SAR 439,570 to 87,490 and coder hours on denials from 273 to 29. The denial-risk model scores AUC 0.984 against 0.925 for the rules on a held-out month (Brier 0.028 vs 0.042) and caught 16 of 35 denials from unpublished payer rules that the rules cannot see. The autopilot sends 80% of claims on its own and 0.7% of those are later denied, with 0 unsafe actions; rules plus the LLM code notes at 100% precision and 99.3% recall (88.9% for rules alone); 15/15 safety attacks are blocked. All data and insurers are synthetic, and every assumption is published. In a test where one insurer secretly became stricter, the monitor flagged that insurer only (221 denials against 138 predicted, AUC 0.98 → 0.76) and raised nothing in the control run.

Stack

TypeScriptLogistic regressionLLM + verifierAI agentFHIRArabic NLPCloudflare Workers · D1Evaluation gates

Timeline

2026

My role

Product + engineering + ML