# BloodAI

- **Event:** [Built with Opus 4.7: a Claude Code hackathon](https://cerebralvalley.ai/e/built-with-4-7-hackathon)
- **When:** Apr 21 at 12:00 PM – Apr 27 at 2:00 AM (EDT)
- **Where:** Online
- **Team:** [Antoni Pater](https://cerebralvalley.ai/u/Bobi)
- **GitHub:** https://github.com/antoniopater/BloodAI-Hackathon-Claude
- **Demo video:** https://youtu.be/gD1mwlyJXwI
- **Gallery:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/208

BloodAI is an end-to-end clinical triage system that bridges the gap between a confused patient and an overworked doctor. 

PROBLEM: In Poland, doctors have 7 minutes per patient. 47% of patients don't understand their lab results. Wait time for a specialist on public insurance is 3-18 months.

SOLUTION: Photograph your lab report. In 10 seconds:
- Opus 4.7 Vision extracts 9 lab parameters
- Custom BERT model (18MB, trained from scratch on 408,214 Synthea+MIMIC sequences) performs 8-class triage with calibrated probabilities (ECE 0.012)
- 52 vocab-aware adaptive questions empirically shift predictions by up to 37 percentage points
- Opus 4.7 generates patient-mode (plain language) and clinical-mode (structured assessment) explanations
- 37 personalized follow-up tests recommended with 14 conditional rules
- Real doctor finder integrates live NFZ public health in Poland API + Google Places for private clinics
- Trend analysis with 6 cross-parameter comorbidity detectors (CKD progression, pancytopenia, etc.) with R^2 up to 0.99

13 live endpoints. Zero mocks. Built solo in 36 hours.

---

Markdown version of https://cerebralvalley.ai/e/built-with-4-7-hackathon/hackathon/gallery/208. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
