Healthcare

Unified Healthcare Platform

Architected a unified healthcare ecosystem connecting 700+ hospitals, 120,000+ pharmacies, and 170M patients with microservices.

700+
Hospitals connected
170M
Potential patients
10
Microservices built
3
Portals delivered

Overview

Led development of a comprehensive healthcare platform designed to connect an entire healthcare ecosystem—hospitals, pharmacies, diagnostic centers, and patients across a major region. Production-grade, multi-tenant platform serving 700+ healthcare institutions and 170M potential patients.

The Challenge

Healthcare providers operated in silos. Patients couldn’t easily book appointments, access medical records, or get prescriptions filled across different providers. No unified inventory or patient communication system. No interoperability between healthcare entities.

The Solution

Architected a unified healthcare ecosystem using a microservices backend with an API Gateway pattern and three separate Next.js portals for different user types. Uses FHIR-compliant health records for interoperability and supports multi-tenant operations.

Tech Stack

Backend

NestJS monorepo10 microservices (API Gateway, Auth, Core, Hospital, Pharmacy, Diagnostic, Notification, Payment, Asset, Core-Worker)

Frontend

Turborepo monorepo3 Next.js 15 portalsReact 19TanStack React QueryZustandnext-intlZodReact Hook FormAxios

Architecture

API Gateway patternTCP/Redis microservice communication

Database

Multi-schema design per microservice

Deployment

Docker Compose

Auth

JWT with RBAC

Key Features

Patient Portal

Appointment booking, medical history, prescriptions, and test results.

Provider Portal

OPD/IPD management, patient records, and prescription writing.

Admin Portal

System administration, user management, analytics, and compliance.

Hospital Management

Patient management, scheduling, and billing.

Pharmacy System

Inventory, B2B ordering, POS, and prescription fulfillment.

Diagnostic Services

Lab management, sample processing, and report generation.

Payment Integration

bKash, Nagad, and SSLCommerz payment gateways.

Notifications & i18n

SMS, email, and push notifications with internationalization.

FHIR Compliance

Interoperable health records following FHIR standards.

Background Jobs

Asynchronous processing for heavy tasks and scheduled operations.

My Role

Full-Stack Architect & Lead Developer

Full-stack architect and lead developer—designed microservices architecture, led frontend monorepo setup, implemented core backend services, managed database schemas, ensured FHIR compliance.

Results & Impact

  • Connected 700+ hospitals into a unified digital ecosystem
  • Enabled 15,000+ diagnostic centers to manage and distribute test results digitally
  • Capacity to serve 170M patients with scalable multi-tenant architecture
  • Streamlined pharmacy operations for 120,000+ locations