bryan tan
Available for work
Menu
Let’s talk
Back Available for work
PythonSQLiteLLM extraction

MedCare /Production

A patient-companion system for a family: photograph a bill or a lab report, and it files itself.

medcare · today
2/5
2 of 5 doses taken
next: Vitamin D at 19:00
Iron supplement taken
Calcium 500 taken
Vitamin D 19:00
14bills filed
3lab reports
1needs review
  • 01 Built a production family patient-companion system — Claude vision-model extraction of bills and lab reports into SQLite, a Telegram bot interface, and a live web dashboard at medcare.bryantan.au secured behind Cloudflare Access OTP
  • 02 Found and fixed a two-layer XSS hole — template autoescaping silently disabled by a file-extension mismatch, plus 21 client-side sinks rendering extracted document text unescaped — then added a coverage guard so it cannot reopen.
  • 03 Caught a unit-normalisation defect merging incompatible lab units into one series, affecting 21 of 95 shared markers and rendering a haemoglobin reading an order of magnitude wrong across two labs.
  • 04 Built a safety-gate classifier preventing an AI medical assistant from making causal drug-outcome inferences, closing a gap found in live user testing

Interface recreated with invented data — no production screenshot is published. Private system; walkthrough and code review available on request.

Role
Sole engineer
Timeline
2026 — ongoing
Stack
Python · SQLite · Telegram · Cloudflare Access · systemd