Skip to content
morfeliPublic

About

Longevity Health EMR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

573 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelixOne

The EMR built for longevity and functional medicine.

Live at helixone.io.

Most EMRs are designed for 15-minute sick-care visits and insurance-driven workflows. HelixOne is different — it's built from the ground up for practices focused on optimization, prevention, and longevity.

What It Does

Physician Portal

  • Dashboard — Weekly calendar, patient health insights, care-team inbox preview wired to real messages, quick actions, biomarker alerts
  • Patient Management — Sortable data tables with expandable rows, search, filtered views (Active, Inactive, High Risk, Best Health)
  • Biomarker Tracking — Trend lab values over time with visual dashboards. Hormones, metabolic panels, inflammatory markers across quarterly draws
  • Lab Results — Review workflow with critical alerts, urgency filtering, accordion-based patient triage, sortable columns, CSV export of filtered views
  • Clinical Notes — SOAP editor with Draft/Signed states, sign-and-lock workflow, print-friendly layout (Cmd+P), PDF export
  • Vitals Entry — Track blood pressure, heart rate, weight, and more over time with trend visualization
  • Prescriptions — Active/past prescription management, refill tracking, medication history
  • Per-dose Adherence — Patient-marked doses persisted per prescription with 7-day strips, streaks, and worst-med callouts surfaced in the messaging sidebar
  • Protocol Management — Build supplement stacks, peptide protocols, and treatment plans with dosing, duration, adherence tracking, and CSV export
  • Wearable Monitoring — Track connected devices across patients, flag disconnections and stale syncs, CSV export of device status
  • Appointments — Desktop table + mobile cards, upcoming/past views, type filtering, new appointment scheduling
  • Tasks — Follow-up reminders and to-dos, plus care-team-assigned tasks that surface on patient dashboards
  • Secure Messaging — HIPAA-compliant real-time messaging with a patient context sidebar (vitals, daily check-ins, flares, adherence)
  • QuickSearch (⌘K) — Command palette for instant navigation to any patient, page, or action
  • Settings — Provider profile, practice configuration, security settings

Patient Portal

  • Health Dashboard — Biological age gauge with explainer dialog, key biomarkers, focus tasks (self-set + care-team-assigned), quick actions
  • Daily Check-ins — Track sleep, energy, stress, and notable wins each day; rolls into the doctor messaging sidebar
  • Symptom Logging — Log episodic flare-ups with severity, duration, and notes
  • Mark Dose — Per-prescription dose tracking (taken / skipped with reason) feeds the adherence strip on the prescriptions page
  • Biomarker Explorer — Categorized biomarker cards with detail panels, trend indicators, status badges
  • Lab Results — Expandable panels by test date, status color coding, doctor's assessment notes
  • Secure Messaging — Real-time chat with care team, presence indicators
  • Appointments — Request scheduling, view upcoming/past/pending appointments
  • Mobile Menu — Drawer-based navigation for sub-768px screens
  • QuickSearch (⌘K) — Command palette for instant navigation

Design Principles

  • Mobile-first — Every feature ships on mobile before desktop enhancements
  • Clarity over beauty — Healthcare UI errors have real consequences; readability and scannability over visual flair
  • Role-specific — Physician portal optimized for speed and density; patient portal for reassurance and simplicity

Coming Soon

  • AI-assisted SOAP drafting for clinical notes
  • Health Plan / Longevity Roadmap with "What If Simulator"
  • CGM / Continuous Glucose Monitoring dashboard
  • HelixAI Co-Pilot (RAG research assistant)
  • Bio-Age Scorecard & Social Sharing
  • Practice-wide Analytics Dashboard

Who It's For

Longevity medicine, functional medicine, anti-aging, and concierge practices that need an EMR that understands their workflow — not one that fights against it.

Tech Stack

Layer Technology
Framework SvelteKit + Svelte 5 + TypeScript
Styling Tailwind CSS v4
Components shadcn-svelte (Bits UI), custom HelixTable
Charts Chart.js + LayerChart
Icons Solar Broken (via unplugin-icons)
Database PostgreSQL (Neon) + Drizzle ORM
Auth Session-based with Argon2 hashing
Messaging SSE + DB polling (real-time)
Email Resend
Deployment Cloudflare Workers (@sveltejs/adapter-cloudflare)

Production Architecture (Planned)

HIPAA hardening migrates from Cloudflare Workers + Neon → AWS:

  • AWS RDS PostgreSQL (Multi-AZ) with AES-256 encryption via KMS
  • ECS Fargate for compute
  • Session auth with TOTP/WebAuthn MFA
  • CloudFront + WAF + Shield for CDN and DDoS protection
  • AWS SES (BAA-covered) for patient-facing email
  • Full HIPAA compliance with signed AWS BAA

Getting Started

# install dependencies
bun install

# set up environment variables
cp .env.example .env
# then add your Neon DATABASE_URL and RESEND_API_KEY

# apply migrations
bun run db:migrate

# (optional) seed demo data
bun run db:seed-doctor
bun run db:seed-new-patients
bun run db:seed-symptom-logs
bun run db:seed-dose-logs

# start dev server
bun run dev

Scripts

Command Description
bun run dev Start dev server
bun run build Production build
bun run preview Preview production build
bun run check Type checking
bun run lint Lint with Prettier
bun run format Format with Prettier
bun run db:push Push schema to database (dev shortcut)
bun run db:generate Generate migrations
bun run db:migrate Run migrations
bun run db:studio Open Drizzle Studio
bun run db:seed-doctor Seed demo doctor + practice
bun run db:seed-new-patients Seed demo patient population
bun run db:seed-symptom-logs Seed episodic symptom logs
bun run db:seed-dose-logs Seed medication dose-log history

License

Proprietary. All rights reserved.


About

Longevity Health EMR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages