# Basepair

- **Event:** [Built with Claude: Life Sciences](https://cerebralvalley.ai/e/built-with-claude-life-sciences)
- **When:** Jul 7 at 12:00 PM – Jul 14 at 12:00 AM (EDT)
- **Where:** Online
- **Team:** [Tyler Gibbs](https://cerebralvalley.ai/u/tylergibbs)
- **GitHub:** https://github.com/tylergibbs1/basepair
- **Demo video:** https://youtu.be/5FBv_NA6fbQ
- **Gallery:** https://cerebralvalley.ai/e/built-with-claude-life-sciences/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/built-with-claude-life-sciences/hackathon/gallery/105

Basepair watches for one specific kind of preventable mistake. A patient's genetics can make a drug useless or dangerous. Clopidogrel does nothing for a CYP2C19 poor metabolizer. Some HLA-B carriers can die from a normal dose of abacavir. The hospital usually has the genetic result sitting in a file somewhere, but when a doctor prescribes months later, nobody re-checks it, and the patient gets the wrong drug.

So I built the thing that re-checks. Basepair listens to prescribing events from the EHR, matches the patient's genotype against 2,115 published CPIC and DPWG rules, and catches the ones that conflict. Each conflict becomes a short, cited alert that a pharmacist clears in one click before the drug goes out. It runs as a durable task that waits for that human decision and records the whole exchange as FHIR.

The part I care about most is that the model never makes the call. A plain lookup finds the rule. Claude only reads the messy inputs and checks each alert against the guideline's actual words. The bar is a published citation.

---

Markdown version of https://cerebralvalley.ai/e/built-with-claude-life-sciences/hackathon/gallery/105. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
