All Projects
Featured Project

OrbitHealth EMR

A full rewrite of a hospital EMR system from a single monolith into six independent clinical microservices — enabling team autonomy, faster feature delivery, and zero-downtime deployments per domain.

Overview

OrbitHealth EMR is a complete architectural rewrite of a hospital's Electronic Medical Record system. The existing monolith was decomposed into six domain-driven microservices, enabling independent deployment, team autonomy, and significantly faster feature delivery across clinical departments.

Modules

  • Auth Service: JWT-based authentication with role management across doctor, nurse, pharmacist, lab technician, radiologist, and admin roles.
  • Patient Service: Patient registration, medical history, appointment scheduling, consultation records, and referral management.
  • Laboratory Service: Test order management, result entry with reference ranges, abnormal result flagging, and physician notification.
  • Imaging Service: Radiology request routing, DICOM image storage references, and structured radiologist report delivery to ordering physicians.
  • Pharmacy Service: Prescription processing, drug inventory tracking with reorder alerts, and dispensing workflow with patient verification.
  • Finance Service: Patient billing, insurance claim submission, payment collection, and department-level revenue reporting.

Architecture

All services communicate through a Hasura GraphQL gateway using event-driven patterns for cross-service workflows — for example, a completed lab result automatically triggers a physician notification and updates the patient's consultation record. Each service owns its own PostgreSQL schema for true data isolation. The system is fully containerized with Docker and deployed behind Nginx, enabling zero-downtime rolling deployments per service. The Nuxt.js front end renders server-side for fast load performance across varying hospital network conditions.