For Saudi hospitals · Arabic + English · NPHIES-style FHIR

Paid in full, the first time.

Cleanpass reads every 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. Front desk to final payment, in one platform.

See the product
Or try it as:

Each visitor gets a private synthetic hospital for 24 hours. No real patients; fictional insurers.

—claims paid in full first time
—more collected in one month
—denial-risk model AUC
—claims sent by the autopilot

Synthetic hospital and insurers; every number is measured, and the assumptions are on this page.

The whole revenue cycle, one engine

Most denials are decided before a claim is ever written. Cleanpass works at every step, with the same payer rules, the same model and the same safety checks.

Front desk

Insurance checked and approvals requested before the visit. Patients hear their share up front.

Coding with evidence

Arabic and English notes coded; every code quotes the words behind it. AI reads what rules miss.

Checks + risk model

Every payer rule, plus a model trained on past claims that learns what the rules miss.

Autopilot

An agent works the queue under a manager's policy. People get only the decisions that need them.

Denials, ranked

Each denial triaged: the fix or the appeal letter, who signs, what it recovers, days left.

Payments reconciled

Remittances matched to the agreed prices. Underpaid, missing and double payments caught.

It learns. Denials no published rule explains are pooled; when a pattern repeats, Cleanpass proposes a new check and a manager approves it. Root causes point at what to fix upstream.

Inside the product

Real screens from a hospital workspace with synthetic data. Open one yourself and every button works.

    Agent, with guardrails

    An autopilot that knows when to stop

    One click works the whole queue. It reads the note, scores the risk, runs every payer check, applies only the fixes the manager's policy allows, re-checks, and sends what is clean. Everything else lands with the right person, prepared.

    • Never changes a diagnosis, signs an appeal, writes off money or bills a patient
    • Every action re-checked by the safety rules and sent exactly once
    • A live trace of each step, and every action in the audit log
    —sent automatically
    —of those later denied
    0unsafe actions
    Autopilot
    Autopilot run: claims sent, and others prepared for coders, doctors and managers

    Machine learning you can explain

    A denial-risk model that beats the rules

    Trained on six months of claim history and tested on the month after. Every score shows the factors that moved it, and it learned insurer habits no published policy describes.

    Calibration on held-out claims: predicted vs observed denial rate

    The pilot: one month, run twice

    September's claims for a synthetic three-department hospital, through the same strict insurer: once the way the hospital works today, once with Cleanpass. The team, payer and deadlines are identical; only prevention, speed and ordering differ.

    Cash paid by insurers, cumulative (SAR)
    Today's processCleanpass

    Where denials came from (today's process)

    Rules Cleanpass learned during the month

    Assumptions

      Safe by construction

      A model may suggest; only plain code decides what reaches an insurer. Every rule is checked again when the action runs, so no screen and no agent can skip it.

      Evidence or nothing

      A diagnosis changes only if the note states it, word for word and not negated. AI suggestions that quote words not in the note, or describe a different code, are dropped.

      The right person signs

      Coders correct; managers write off and bill patients; only a doctor signs a medical-necessity appeal; finance sees everything and changes nothing.

      Never the same mistake twice

      No resubmitting duplicates or claims past the deadline, no prices above the agreed list, no added services. Each submission runs once, by idempotency key.

      Patient data kept small

      Screens show initials and record numbers. Viewing a full name is logged. Notes stay on the server, and the truth used for scoring never leaves it.

      Notes are data, not instructions

      Lines that try to instruct the system ("ignore previous instructions", "تجاهل التعليمات") are flagged in red and never coded.

      Everything audited

      Every fix, approval, submission, autopilot step, AI call and name view is recorded with who, when and what.

      Measured, and gated in CI

      Scored against the synthetic hospital's hidden truth. The build fails if any gate is missed.

      Gates

        Safety tests

          How it is built

          A plain TypeScript engine with no platform code, wrapped in a Cloudflare Worker. Running cost: $0 on free tiers.

          Front deskeligibility · approvals Codingrules + Llama 3.3 70Bverifier: exact evidence Checks + risk modelpayer rules · learned ruleslogistic model, explained Autopilotpolicy-bound agentlive trace InsurerFHIR Claim / Response Denial triagefix · appeal · rebillSAR × deadline Approval by rolecoder · manager · doctorrules re-checked · once Paymentsremittance matchingunder · missing · double Insightsroot causeslearning loop Audit logevery actionwho · when · what
          • TypeScript engine, no dependencies
          • Cloudflare Workers + D1
          • Workers AI (Llama 3.3 70B)
          • Logistic-regression risk model, trained in-repo
          • FHIR R4 Claim · ClaimResponse · CoverageEligibilityResponse
          • A sandbox hospital per visitor
          • 27 unit tests · 8 eval gates · end-to-end checks

          See it work on a hospital of your own

          API and FHIR