This walkthrough usesDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sputhenofficial/claimjumper/llms.txt
Use this file to discover all available pages before exploring further.
samples/eob-001.png, the demo remittance screenshot included in the repository root. The sample is purpose-built to exercise all five denial routing lanes in a single upload — appeal, corrected claim, patient bill, write-off, and human review — and it is the same file used by the Vitest regression suite to validate invariants and pipeline behavior. Work through the steps below for a repeatable, end-to-end view of everything ClaimJumper does between receiving a PNG and producing an approved-drafts download.
Start the app
Start the Next.js development server from the project root.Once Next.js prints the local URL, open it in your browser. You will see the ClaimJumper upload interface — a drop zone and a Triage button. The app has no login, no database, and no persistent state; everything lives in the current browser session.
Upload the sample EOB
Click the drop zone or drag
samples/eob-001.png onto it, then click Triage.The browser sends a multipart/form-data POST request to POST /api/triage with the file attached as the eob field. The route handler validates that the file is a PNG (checking the eight-byte PNG signature), then runs the full server-side pipeline:- Ingest (
lib/pipeline/ingest.ts) — GPT-5.6 Sol receives the PNG bytes via the OpenAI Responses API with a structured vision prompt. It returns a Zod-validated list of claims and service lines. If the same image has been processed before, the cached result insamples/parsed/is returned immediately. - Triage (
lib/pipeline/triage.ts) — GPT-5.6 Sol receives each extractedAdjustmentLineand returns a structured decision: lane, rationale, evidence needed, confidence score, and recovery probability. Code-enforced invariants run immediately after the model — aCOgroup code can never produce apatient_billrecommendation, and a CARC197denial is escalated tohuman_review. - Prioritize (
lib/pipeline/prioritize.ts) — a deterministic function (no model calls) computes the appeal deadline from the notice date, an urgency score from days remaining, and a priority score from billed amount × recovery probability × urgency. Lines are sorted by appeal deadline first, then priority score descending. - Draft (
lib/pipeline/draft.ts) — GPT-5.6 Terra drafts cited appeal letters and corrected-claim worklists. Citations are validated against the extracted data before the artifact is returned. Human-review lines receive a deterministic safety brief built entirely from the triage record — no model call required.
TriageResponse is returned to the browser as JSON and rendered as the ranked denial queue.Review the ranked queue
The denial queue renders one row per denied service line. Each row shows:
- Billed amount — the dollar amount billed for the service line.
- Lane badge — a color-coded label:
appeal,corrected_claim,patient_bill,write_off, orhuman_review. - Appeal deadline — computed as the remittance notice date plus a five-day receipt presumption plus a 120-day redetermination window.
- Priority score — billed amount × recovery probability × urgency. Higher scores surface first within each deadline group.
Expand a line
Click any row to expand it. The expanded view shows the full triage detail for that service line:
- Rationale — the model’s plain-language explanation of why the line was routed to its lane.
- Evidence needed — a list of supporting documents or data points required to act on the denial.
- Routing confidence — the model’s routing confidence displayed as a percentage.
- Override reasons — shown when a safety invariant fired and escalated the line to
human_review.
appeal and corrected_claim lines, the expanded view also shows the draft artifact body. For human_review lines, it shows the safety brief — a deterministic summary of the override reasons that caused the line to be escalated, built without a model call.Inspect an appeal draft
Expand an
appeal line and read the draft body. The draft is a cited appeal letter produced by GPT-5.6 Terra. A few things to look for:- Denial codes — the draft body must include the group code, CARC, and RARC (when present) for the service line. The pipeline enforces this; a draft that omits a required code is rejected before it reaches the UI.
- Citation chips — each factual claim in the draft is backed by a citation chip showing
source → value. Thesourceis eitherparse(a value extracted from the remittance) orlegend(a CARC/RARC code description from the reference data). Both are validated against the actual extracted data before the artifact renders. - No submission language — the draft does not contain phrases like “we have submitted” or “this appeal has been filed.” The pipeline rejects any draft containing prohibited submission or automation language.
Approve eligible drafts
When you are satisfied with an
appeal or corrected_claim draft, click Approve on that row. The row is marked as approved and the Download approved drafts button counter increments.Lane-specific approval rules:appealandcorrected_claim— eligible for Approve. Clicking Approve adds the artifact to the export queue.human_review— cannot be approved or exported. The safety brief is for decision support only; the billing team must take the next action manually outside ClaimJumper.patient_billandwrite_off— no draft is generated. These rows show a Mark handled disposition control only, which records that the line has been acknowledged in the current session.
Download approved drafts
Once one or more lines are approved, click Download approved drafts (N) — where N is the count of approved items. The browser downloads a plain-text file named
claimjumper-approved-drafts.txt.The bundle contains one section per approved artifact. Each section includes:- The artifact title (e.g.,
Appeal DraftorCorrected Claim Worklist). - The claim ID, patient name, and service-line context.
- The full draft body.
- The complete citation list with every
source: field_path = valuereference.
Sample EOB lane breakdown
samples/eob-001.png contains service lines that cover every routing outcome. The table below summarizes what each lane produces when triaged by ClaimJumper.
| Lane | Artifact type | Notes |
|---|---|---|
appeal | Cited appeal draft letter | Body includes group code, CARC, and RARC. Citations validated against extracted remittance data. |
corrected_claim | Cited corrected-claim worklist | Names the specific fields to correct. Citations validated against extracted remittance data. |
patient_bill | Disposition only | No letter generated. Billing team verifies patient responsibility per organization policy. |
write_off | Disposition only | No letter generated. Billing team obtains required internal approval per organization policy. |
human_review | Deterministic safety brief | Lists explicit override reasons. Cannot be approved or exported. Built without a model call. |
For a detailed explanation of what each lane means, when invariants fire, and how the routing decision is made, see Denial Lanes.