Skip to content

Basepair

Web AppJuly 13, 2026

An EHR-embedded pharmacogenomics safety service that catches dangerous drug-gene mismatches at prescribing time and gates each alert on a pharmacist's one-click sign-off with the exact CPIC guideline citation. Built for the Built with Claude: Life Sciences hackathon.

Next.js
TypeScript
Claude Opus 4.8
Vercel AI SDK
Medplum
FHIR
Trigger.dev
Drizzle
Supabase
Pharmacogenomics
Open Source

Key Features

  • Deterministic clinical core covering 2,115 CPIC rules across 19 genes
  • LLM verifier grades every alert against the literal guideline text to suppress false positives
  • Durable, approval-gated evaluation loop over Trigger.dev with wait-token pharmacist sign-off
  • EHR integration via Medplum (FHIR datastore, SMART on FHIR auth, CDS Hooks trigger)
  • Prescriber-facing CDS card, pharmacist console, and full audit view
  • Agent parses messy free-text genotype notes; clinical decisions stay deterministic
  • Writes DetectedIssue, Task, Communication, AuditEvent, and Provenance FHIR resources