Skip to content

ankit2061/HealAI

Repository files navigation


# 🩺 Heal AI — Your Partner in Health

> AI-powered platform to simplify and streamline the medical insurance claim process using OCR, NLP, and GenAI.

![Heal AI Banner](https://raw.githubusercontent.com/ankit2061/HealAI/main/heal-ai_1744524741.png)

---

## 🚀 Overview

**Heal AI** helps patients and healthcare providers handle medical insurance claims with ease. It extracts key information from medical documents, explains confusing terms, checks for completeness, and guides users through the entire claims process — all through a conversational AI interface.

### 🔥 Why Heal AI?
Filing insurance claims is often overwhelming due to:
- Messy, unstructured medical documents  
- Confusing insurance jargon  
- Frequent errors and rejections  
- Lack of real-time help or feedback  

**Heal AI solves all of these.**

---

## 🧠 Core Features

✅ Intelligent OCR & PDF Extraction (Tesseract + pdfplumber)  
✅ Auto-detection of Aadhaar, diagnosis, bill amount, etc.  
✅ AI Chatbot for user guidance (Gemini/OpenAI API)  
✅ Medical/Insurance Term Explainer  
✅ Completeness & Consistency Checker  
✅ AI-Generated Claim Summary Documents  
✅ MongoDB Storage & Easy Retrieval  

---

## 🛠️ Tech Stack

| Tech         | Purpose                            |
|--------------|------------------------------------|
| Python       | Backend and Document Processing    |
| Tesseract    | OCR for scanned documents          |
| pdfplumber   | Text extraction from PDFs          |
| Regex        | Pattern-based data cleaning        |
| MongoDB      | NoSQL database for storing claims  |
| Gemini API   | Chatbot, explanation, and summary  |
| Flask/FastAPI| API backend                        |
| React.js     | (Optional) Frontend Interface      |

---

## ⚙️ Getting Started

### 1. Clone the Repo
```bash
git clone https://github.com/ankit2061/HealAI.git
cd HealAI

2. Set Up Environment

# Create a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

# Install dependencies
pip install -r requirements.txt

3. Set Up Environment Variables

Create a .env file with the following:

MONGO_URI=your_mongodb_uri
GEMINI_API_KEY=your_gemini_api_key

4. Run the App

python app.py  # or uvicorn main:app --reload for FastAPI

📂 Project Structure

HealAI/
├── ocr/               # Tesseract + pdfplumber logic
├── ai/                # Gemini API calls for chatbot and explanation
├── db/                # MongoDB models and utils
├── routes/            # API endpoints
├── templates/         # (Optional) Frontend templates
├── main.py            # App entry point
├── requirements.txt   # Python dependencies
└── README.md          # You are here

✨ Demo & Screenshots

Coming soon... (Add your Replit/Vercel demo link + screenshots or Loom video)


🤝 Contributing

We welcome contributions! To get started:

  1. Fork the repo
  2. Create a new branch (git checkout -b feature-name)
  3. Commit your changes (git commit -m 'Added feature')
  4. Push to the branch (git push origin feature-name)
  5. Open a Pull Request 🎉

📄 License

MIT License © Ankit


🙌 Acknowledgements


---

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •