← Back to Projects
ONGOING PROJECT

Capsule — Smart Medicine Reminder & Health Companion

A full-stack health management platform designed to help elderly and chronically ill patients manage their medication schedules reliably. The system delivers smart reminders, real-time dose tracking, missed-dose alerts, and AI-assisted health guidance — with dedicated dashboards for patients, caretakers, and doctors.

Full Stack React Node.js MongoDB FastAPI OCR LLM Chatbot JWT Auth Cloud Storage

Project Status

This project is currently under active development We are building and integrating modules in parallel across patient, caretaker, and doctor roles, with an emphasis on modular architecture and clean API contracts between frontend and backend.

My Role

I am responsible for the Caretaker Dashboard — a dedicated patient oversight interface built for family members, nurses, and professional caretakers managing another person's medication regimen.

Caretaker Dashboard — Key Responsibilities

  • Designed and built the full caretaker-facing dashboard UI, including medication scheduling, alert management, appointment booking, and report generation
  • Implemented color-coded medication status cards (green for taken, blue for upcoming, amber for pending) for at-a-glance daily compliance tracking
  • Built a configurable report export system (PDF/CSV) filtered by date range and report type, with server-side generation
  • Integrated an OCR prescription scanner that extracts medication name, dosage, and frequency from uploaded images for review before saving
  • Developed a weekly adherence bar chart with dynamic color transitions (red to green) based on patient compliance percentage
  • Built and wired all CRUD forms — medication schedule, alerts, doctor appointments, support tickets — with full backend API integration

Problem Statement

Many patients — particularly the elderly and those managing chronic illnesses — struggle to maintain consistent medication schedules. Missed or incorrect doses can lead to serious health complications. Traditional reminder systems are insufficient, and caregivers lack structured tools to monitor adherence. Healthcare providers also need structured reports and real-time adherence insights that conventional tools do not provide.

System Architecture

User Roles & Modules

  • Patient Module — Medicine scheduling, intake tracking, appointment booking, adherence reports, and reminder configuration
  • Caretaker Dashboard — Patient oversight, medication management, alert system, prescription OCR, and report generation
  • Doctor Dashboard — Patient feedback management, status tracking, follow-up scheduling, and adherence analytics
  • Auth Module — JWT-based login with role-based access control (Patient / Doctor / Caretaker)

AI & Intelligence Layer

  • OCR (CNN-based) for automated prescription text extraction
  • LLM-powered health chatbot for answering general medication queries
  • Classification model (Random Forest / Logistic Regression) for missed-dose prediction
  • Pattern analysis for adaptive reminder optimization
  • Speech synthesis for voice-based medication alerts

Backend & Data

  • RESTful API backend handling all business logic — medicine schedules, dose events, alerts, notifications, and reports
  • MongoDB collections: medications, intake histories, appointments, reminder settings, missed dose alerts, notification logs, users
  • Cloud storage module for prescriptions, reports, and intake logs
  • Dockerized deployment for environment reproducibility

Core Features

  • Smart medicine reminders via SMS, voice call, and in-app notifications with configurable language and timing offset
  • Missed-dose detection with automatic alert generation and resolution tracking
  • Dosage and intake history logging with side-effect recording
  • OCR-powered prescription scanning to auto-populate medication details
  • Doctor-patient-caretaker dashboards for role-specific monitoring
  • Daily, weekly, and monthly adherence reports with export to PDF and CSV
  • AI chatbot for general health and medication queries
  • Cloud storage for prescriptions, logs, and medical documents

Current Progress

  • System architecture, ER diagram, and API contracts finalized
  • Patient module fully scaffolded — medicine scheduling, intake tracking, appointment booking, and reminder settings operational
  • Caretaker dashboard built — medication management, alert system, OCR scanner, appointment booking, and report export implemented
  • Doctor dashboard under active development — feedback forms, patient monitoring, and history logs in progress
  • Auth module with JWT and role-based routing configured
  • Backend API endpoints scaffolded for all core modules

Future Roadmap

  • Complete AI chatbot integration and missed-dose prediction model training
  • Implement voice alert generation via speech synthesis
  • Connect SMS and voice call notification channels
  • Full end-to-end testing across all three user roles
  • Deploy to cloud with public demo access