Yash Gupta

Know what your next lab report says.

Commits
735
Tickets shipped
164
Cost of a 3-page report
0.48 cents
Languages
2
First commit
Oct 2026

Upload a report from any lab as a PDF, photos or a patient portal screenshot. MediWise explains every marker and shows each value against the printed range and a range for your age, sex and ancestry.

Then it tracks each marker across visits. I built it with Dispatch. It is open source and live.

Open the app
A MediWise report with a score of 89 and the marker to work on first. The Vitamin B12 marker page with the value shown in its range. A marker tracked across several lab reports.

The LLM reads. It never scores.

A health score cannot change between two runs of the same report. So the model copies values off the page, and fixed rules do the rest.

0.48 centsfor the three Claude passes on a 3-page report

How a report becomes a score

  • Text comes out of the PDF with no LLM. A page goes to Claude as an image only when it has no text layer.
  • Extract: a small model copies each value, unit and printed range through a tool schema.
  • Map: most printed names match a marker through an alias table with no LLM. A larger model maps only the names that no alias matches.
  • Engine: pure TypeScript with no I/O and no clock. It sets the status, the score, the tier and the ranking. Fixtures pin its output, so a changed range fails a test.
  • Narrative: a small model writes the summary. A validator rejects a sentence over 20 words, a semicolon, or a marker that is not in the report. One retry, then engine text only.

Cost control

The design target is at most 6 cents for a long report. A monthly spend cap pauses the worker when the spend reaches it.

What a person gets

Where they stand, what to work on first, and something to take to their doctor.

The report

  • A score from 0 to 100 and a tier. The same values always give the same score.
  • The markers to work on first, in order, plus follow-ups and the important markers the lab did not measure.
  • A print-ready page or a link. The doctor can open the link without an account.

Every marker, over time

  • Each marker has its own page, and every range names its source.
  • Rules join two or more markers into one signal, such as B12 with homocysteine.
  • Trends across visits, a compare view and a year in review.
  • One account keeps a profile for each person in the family.
  • Scan reports sit in the same history. A line that names a finding shows first.
  • The app, the marker explanations and the summary show in English and Hindi.
The upload screen for PDFs and photos. Findings from a scan report, with the line to ask a doctor about shown first. An alert on a marker that needs attention.

Stack

A pnpm and Turborepo monorepo.

Parts

  • Web app: Vite, React 19, TanStack Router and Query, Tailwind CSS v4.
  • API and job worker: Hono on Node 24, zod, Drizzle ORM, the Anthropic SDK.
  • Engine: pure TypeScript with Vitest fixtures.
  • Data and auth: Supabase Postgres, Auth and Storage.

Links