Skip to content

Repository files navigation

VaidyaCare - Smart Care Assistant

🩺 A modern healthcare platform designed to help doctors manage patient data efficiently and detect potential health issues early.

TypeScript Next.js MongoDB TailwindCSS

VaidyaCare Dashboard

🌟 Project Overview

VaidyaCare is a web application that empowers healthcare providers with intelligent tools to deliver better patient care:

👨‍⚕️ For Doctors

  • 🔒 Secure dashboard to manage patient information
  • 📅 Smart appointment scheduling with priority-based queueing
  • ⚠️ Early detection of adverse drug reactions (ADRs)
  • 📝 Patient history and medical records tracking
  • 📊 Auto-generated reports and handoff sheets

🧑‍⚕️ For Patients

  • 🗓️ Easy appointment booking with symptom tracking
  • 💊 Medication management and reminders
  • 📈 Visual representation of symptom trends over time
  • 📋 Medical history documentation

🎯 Solution Objectives

VaidyaCare addresses critical healthcare challenges:

  1. Reduce Medical Errors - Intelligent symptom tracking and ADR detection
  2. Optimize Physician Time - Priority-based scheduling and automated documentation
  3. Improve Patient Outcomes - Early detection and preventive care recommendations
  4. Enhance Healthcare Access - Streamlined appointment system and digital health records
  5. Data-Driven Decisions - Analytics and visualizations for better clinical insights

💎 Key Features

🩺 Smart Symptom Tracking

Record structured symptom data with severity, duration, and relevant information

⚠️ ADR Detection System

Automatically flag potential adverse drug reactions

🚨 Priority-Based Appointments

Intelligent algorithm to assign emergency ratings (0-10)

⏱️ Estimated Appointment Duration

Calculate consultation time based on symptoms

🔮 Early Warning System

Predict potential conditions based on reported symptoms

📊 Health Analytics

Visualize patient health trends over time

🔧 Technology Stack

graph TD;
    Frontend[Frontend: Next.js, React, TailwindCSS]
    Backend[Backend: Node.js, Next.js API Routes]
    Database[Database: MongoDB]
    Auth[Authentication: NextAuth.js]
    TypeSafety[Type Safety: TypeScript]
    
    Frontend --> Backend
    Backend --> Database
    Frontend --> Auth
    Backend --> Auth
    Frontend --> TypeSafety
    Backend --> TypeSafety
Loading
  • Frontend: Next.js, React, TailwindCSS
  • Backend: Node.js, Next.js API Routes
  • Database: MongoDB
  • Authentication: NextAuth.js
  • Type Safety: TypeScript

Demo Video [![Watch the Video](at https://drive.google.com/file/d/1ubL9q6hy9_LqWg0C-8oCHIUjLCZAQnuD/view)]

🚀 Getting Started

Prerequisites

  • Node.js 16+
  • npm or yarn
  • MongoDB instance (local or Atlas)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/vaidya-care.git
cd vaidya-care
  1. Install dependencies
npm install
  1. Create a .env.local file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
  1. Start the development server
npm run dev
  1. Open http://localhost:3000 in your browser to see the application

📁 Project Structure

vaidya-care/
├── app/                  # Next.js app directory
│   ├── (auth)/           # Authentication pages (login, register)
│   ├── (dashboard)/      # Dashboard pages
│   ├── api/              # API routes
│   └── page.tsx          # Landing page
├── components/           # Reusable UI components
├── lib/                  # Utility functions and libraries
│   ├── adrDetection.ts   # Adverse Drug Reaction detection
│   ├── earlyDetection.ts # Early symptom detection and analysis
│   └── mongodb.ts        # MongoDB connection utility
├── models/               # MongoDB schema models
├── public/               # Static assets
└── tailwind.config.js    # TailwindCSS configuration

🧠 Intelligent Features Explained

ADR Detection

The system uses a predefined medication database to:

  • Detect potential drug-drug interactions
  • Identify symptoms that may be related to adverse drug reactions
  • Flag dangerous medication combinations

Symptom Analysis

For each symptom collected, the system:

  • Evaluates severity based on patient input
  • Considers duration and intensity
  • Cross-references with existing conditions
  • Suggests possible diagnoses for the physician to consider

Emergency Rating

Appointments are automatically assigned a priority score (0-10) based on:

  • Symptom severity
  • Known high-risk combinations
  • Patient history and risk factors
  • Duration of symptoms

🔮 Future Enhancements

  • Integration with wearable health devices
  • Machine learning for improved symptom analysis
  • Voice-to-text for easier data entry
  • Mobile application development
  • Integration with hospital EHR systems
  • Telemedicine features

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ for healthcare professionals and patients

About

AI-powered Healthcare Platform for quick patient consultancy and medicine prescription by doctor

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages