Skip to content

Enayut/proscript-gemini

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🩺 Proscript

Proscript is a precision medicine tool that helps doctors make informed decisions by analyzing historical patient data. It finds patients with similar characteristics (e.g., pregnancy, age, etc.), identifies patterns in symptoms and diagnoses, and highlights potential drug risk combinations.

Originally developed for a healthcare hackathon, Proscript leverages OCR and rule-based medical knowledge to manage prescriptions and assist doctors in providing targeted, safer care. It uses machine learning for case similarity detection and a rule-based system for evaluating risky drug combinations.

🎥 Demo Video

Watch Demo


⚙️ Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: Node.js, Express, MongoDB
  • ML & OCR: Flask, TensorFlow, OpenAI API

✨ Features

  • 🔍 Finds similar patient cases and diagnoses using ML
  • 💊 Detects risk-prone drug combinations using a rule-based system based on patient characteristics (e.g., pregnancy, conditions)
  • 📄 OCR-based prescription extraction using OpenAI API
  • 🧠 Flask-based ML model integration for backend logic
  • 🗃️ Intelligent prescription history and management

🛠️ Installation

1. Clone the Repository

git clone https://github.com/DecayDestructor/airavat-proscript.git
cd airavat-proscript

2. Frontend Setup (React)

cd client
npm install
# Rename `.env.example` to `.env` and add your PORT
npm run dev

3. Backend Setup (Node.js + Express)

cd ../server
npm install
# Rename `.env.example` to `.env` and add:
# GEMINI_API_KEY, MONGO_URL
npm run dev

4. Flask ML API Setup

cd ../xyz  # or your actual Flask folder name
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

# Add .env file with:
# OPENAI_API_KEY=your_key_here
uvicorn main:app --reload

📄 Environment Variables

Service File Location Required Variables
Backend server/.env GEMINI_API_KEY, MONGO_URL
Frontend client/.env PORT
Flask API xyz/.env OPENAI_API_KEY

📁 Folder Structure

airavat-proscript/
├── client/          # React + Tailwind frontend
├── server/          # Node.js + Express backend
├── xyz/             # Flask + ML models + rule-based logic
├── README.md
└── ...

🏆 Hackathon

Proscript was built for Airavat Hackathon 2024, a 24-hour national-level competition.


👨‍💻 Team Credits

Built with ❤️ by:

  • Aaryan Mantri – Fullstack Developer & AI Integration
  • Vriddhi Vashi – Frontend & Backend Developer
  • Harshal Shah – Flask Backend & Rule-based Logic
  • Shreesh Patil – Flask Backend & Integration

🤝 Contributing

This project was built for a closed hackathon. Contributions are currently not open to the public.


📜 License

This project is currently private and not under an open license.


🔗 GitHub Repo

https://github.com/DecayDestructor/airavat-proscript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.7%
  • Python 13.1%
  • Other 0.2%