Genomics
Stores per-patient genomic profiles built from VCF uploads. Surfaces a curated risk-gene list and pharmacogenomic interactions.
API endpoints
| Method | Path | RBAC | Purpose |
|---|---|---|---|
POST | /v1/genomics/profiles | clinician | Create a profile from inline JSON |
POST | /v1/genomics/upload/vcf | clinician | Upload a VCF file (multipart) |
GET | /v1/genomics/profiles | clinician | List profiles for a patient |
GET | /v1/genomics/profiles/:id | clinician | Fetch a single profile |
POST | /v1/genomics/profiles/:id/analyze | clinician | Run AI analysis over a profile |
Database tables
genomic_profiles— Per-patient profile + risk-gene + PGx JSONB
Notes
- VCF files are stored on object storage (S3-compatible). Only metadata + parsed variants live in PostgreSQL.
- Analysis is opt-in per profile and writes to the same audit log as note analyses.
