Genomics

Stores per-patient genomic profiles built from VCF uploads. Surfaces a curated risk-gene list and pharmacogenomic interactions.

API endpoints

MethodPathRBACPurpose
POST/v1/genomics/profilesclinicianCreate a profile from inline JSON
POST/v1/genomics/upload/vcfclinicianUpload a VCF file (multipart)
GET/v1/genomics/profilesclinicianList profiles for a patient
GET/v1/genomics/profiles/:idclinicianFetch a single profile
POST/v1/genomics/profiles/:id/analyzeclinicianRun AI analysis over a profile

Database tables

  • genomic_profilesPer-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.