Swasthya-Sampark is a healthcare platform designed to connect patients with doctors for real-time symptom tracking, consultations, and AI-driven health advice. The project was developed as part of a hackathon entry for Technoverse 2024, where it reached the finalist stage among 500+ teams.
-
Smart Health Solutions (Symptom Triage)
- AI-powered symptom checker for real-time health insights.
- Key Features: 24/7 symptom assessments, AI-driven care navigation, instant recommendations.
-
Doctor Portal
- Manage appointments, view patient records, and perform consultations.
- Key Features: Schedule management, access to patient records.
-
HealthGPT (AI Chatbot)
- Interactive AI chatbot for health queries, symptoms, and treatments.
- Key Features: Instant health answers, information on health conditions, medication guidance.
-
Report Summary Generation
- Converts medical reports from images to text using ML algorithms and OCR technology.
- Key Features: AI-driven report transformation, quick and precise conversion.
-
Patient Portal
- Access health records, track medical history, and manage appointments.
- Key Features: Health record access, appointment scheduling.
-
Consultation Management
- Streamlines patient-doctor consultation processes.
- Key Features: Manage consultation flow, real-time interaction through chat or video calls.
The platform aims to simplify healthcare accessibility by providing AI-powered consultations and enabling patients to connect directly with doctors. The AI chatbot analyzes symptoms and suggests health advice, enhancing consultation efficiency and user engagement.
- Backend: Node.js, Express.js, MongoDB
- Frontend: React
- Security: JWT for authentication
- Real-time Communication: socket.io
- AI Engine: Gemini LLM
- Validation: Zod for schema validation
- Node.js (>= 14.x)
- npm or yarn
- MongoDB
- Python 3.8+
pip
for installing Python dependencies
- Clone the repository:
git clone -b localhost https://github.com/ozearkhan/Swasthya-Sampark.git
- Navigate to the backend directory and install dependencies:
cd ./backend npm install
- Navigate to the frontend directory and install dependencies:
cd ./swasthyaSampark npm install
- Install Python dependencies for the
./6ml/6ml
server:cd ./6ml/6ml pip install -r requirements.txt
Create a .env
file in the backend
directory with the following template. Replace the placeholders with your generated keys and URLs:
# Environment Configuration for Swasthya-Sampark Backend
# Application Environment
NODE_ENV=development
# Server Configuration
PORT=3001
# Database Configuration
MONGODB_URI=<your_mongodb_connection_string>
# JWT Secret for Authentication
JWT_SECRET=<your_jwt_secret_key>
# AI Engine Configuration
GEMINI_API_KEY=<your_gemini_api_key>
GEMINI_API_URL=https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest
MODEL_NAME=gemini-1.5-pro
# Email Configuration
EMAIL=<your_email@example.com>
PASS=<your_email_password>
-
MongoDB URI:
- Create a MongoDB Atlas account and generate a connection string for your database.
-
JWT Secret:
- Generate a secure secret string for JSON Web Token (JWT) authentication.
-
Gemini API Key:
- Sign up for access to the Google Generative Language API and obtain your API key.
-
Email and Password:
- Use a secure email service for transactional emails. If using Gmail, consider setting up an App Password if 2FA is enabled.
- Start the backend server:
cd ./backend npm start
- Start the frontend application:
cd ./swasthyaSampark npm run dev
- Start the ML server
cd ./6ml/6ml python server.py
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, feel free to reach out to the project maintainers via ozearkhan1224@gmail.com.