Hygeia
Patient-consented health data exchange between patients, doctors, labs and pharmacies, with verifiable audit trails.
- Role
- Full-Stack Developer
- Year
- 2026
- Status
- Prototype
The problem
Health data moves between doctors, labs and pharmacies without the patient being able to see or control who reads it.
What I built
Hygeia puts the patient in charge: every lab order and prescription needs their approval, CarePass shares a single record for 15 or 60 minutes, and every access is written to an audit trail an administrator can verify.
Hygeia connects lab requests, lab results and prescriptions into one care journey. Patients approve where their data goes, choose a pharmacy, share specific records with a doctor, and review who accessed their data. Doctors, labs and pharmacies each get a workspace for their role, and the Go backend checks access based on identity, care relationship, service assignment and active permissions. The demo uses synthetic data.
Features
- 01Care relationships started by doctor invite, accepted by the patient
- 02Lab orders and results with patient-approved delivery
- 03Prescriptions sent to a pharmacy the patient chooses
- 04CarePass: share one result or prescription for 15 or 60 minutes
- 05Access history and live notifications
- 06Admin audit verification and emergency access review
Under the hood
- Go 1.26 REST API with role and relationship based access checks
- Argon2id local sessions, Clerk integration, CSRF protection and MFA
- Server-Sent Events for live status updates
- Tested with Go testing, Vitest and Playwright end-to-end
Result
- Working prototype of patient-consented data exchange
- Verifiable audit trail for every data access
- Deployed on Vercel and Azure Container Apps with GitHub Actions CI