FhirHub is a full-stack healthcare data platform built with Next.js, React, .NET 8, and Docker. It implements the FHIR R4 standard for clinical data interoperability with SMART on FHIR authentication via Keycloak.
Key Features
- Patient Management -- Search, create, and view patient demographics with FHIR Patient resources
- Vitals Tracking -- Interactive Recharts visualizations with clinical reference ranges
- Bulk Data Export -- 4-step wizard supporting NDJSON, JSON Bundle, and CSV formats
- SMART on FHIR Auth -- Keycloak OIDC with PKCE, 17 authorization policies across 6 roles
- Clinical Alerts -- Automated alerts based on AHA blood pressure guidelines and lab reference ranges
Architecture
Five Docker services orchestrated with Docker Compose: HAPI FHIR R4 server, Keycloak identity provider, .NET 8 API gateway, and two PostgreSQL databases. Deployed to Kubernetes via Helm charts with ArgoCD GitOps and monitored with Prometheus, Grafana, and Loki.
