Inspiration

Healthcare systems often face appointment overload, where patients wait too long while providers are overbooked. I wanted to build a fair, automated, and scalable booking system that ensures timely appointments while distributing workload evenly across doctors.

Inspired by:

  • The need for digital-first healthcare platforms,
  • The challenge of designing a serverless, scalable backend,
  • My interest in applying scheduling algorithms like round-robin to solve real-world problems.

What it does

Mediwox Health is a serverless healthcare booking platform that:

  • Fairly distributes patient appointments among available providers using round-robin scheduling,
  • Sends automatic email confirmations and SMS reminders,
  • Provides a patient-friendly booking interface,
  • Stores prescriptions, reports, and attachments securely,
  • Scales seamlessly to handle thousands of concurrent bookings.

How we built it

The system is designed as a serverless web app on AWS:

  • AWS Lambda → Core booking + notification logic
  • DynamoDB → Stores patient, provider, and appointment data
  • S3 → Secure storage for prescriptions and reports
  • SES → Email confirmations
  • SNS → SMS reminders
  • API Gateway → REST API for frontend communication
  • React.js + TailwindCSS → Patient-facing booking UI

The round-robin scheduling algorithm ensures fairness:
ProviderIndex = (Counter \mod NumberOfProviders)

Challenges we ran into

  • Idempotency → Preventing duplicate bookings when multiple requests hit Lambda simultaneously
  • Hot counters in DynamoDB → Avoiding performance bottlenecks with heavy traffic
  • Notifications → Configuring SES verification & SMS delivery in multiple regions
  • Scalability → Designing DynamoDB schemas for high concurrency
  • Security → Protecting sensitive patient health data with encryption + IAM least-privilege policies

Accomplishments that we're proud of

  • Successfully built a scalable, fault-tolerant serverless system
  • Automated fair distribution of patient load across providers
  • Integrated real-time notifications (email + SMS)
  • Delivered a modern, easy-to-use booking interface

What we learned

  • Designing scalable serverless systems on AWS
  • Applying DynamoDB best practices (idempotency, conditional writes, partitioning)
  • Implementing round-robin scheduling in production systems
  • Managing cloud notifications (SES & SNS)
  • Securing sensitive healthcare data end-to-end

What's next for Mediwox Health

  • AI-powered prioritization → urgent cases get faster slots
  • Patient self-service rescheduling & cancellation
  • Integration with EHR systems & insurance providers
  • Multi-language support for inclusivity
  • Analytics dashboard for providers to track workload and efficiency
Share this project:

Updates