An AI-powered diagnostic assistant designed to enhance rural healthcare by addressing language barriers, inconsistent records, and limited diagnostic tools.
Rural healthcare in India faces significant challenges:
- Language Barriers: Diverse languages hinder accurate assessments.
- Inconsistent Records: Manual paperwork leads to incomplete patient histories.
- Limited Diagnostic Tools: Lack of advanced equipment and specialists delays diagnoses.
An AI-driven platform that assists doctors through:
-
Conversation-to-Assessment Assistant:
- Records doctor-patient interactions in any language.
- Translates speech to English using advanced NLP models.
- Extracts symptoms, suggests diagnoses, and highlights red flags via LLMs.
- Presents a concise, visual dashboard of the case assessment.
-
Diagnostic Interpretation Assistant:
- Interprets data from diagnostic devices (e.g., ECGs, X-rays).
- Uses pre-trained models to identify abnormalities.
- Empowers general physicians with informed decision-making tools.
-
B2B SaaS: Offer subscription-based access to hospitals and clinics, providing scalable AI diagnostics and multilingual assistance.
-
Freemium Model: Provide essential features for free to encourage adoption, with premium diagnostics and advanced analytics available through paid tiers.
-
API Licensing: License our AI diagnostic APIs to medical device manufacturers, enabling integration into their products and expanding our reach.
-
Data Analytics Services: Offer anonymized health data insights to researchers and public health agencies, ensuring compliance with data privacy regulations.
-
Training & Certification: Provide online training modules and certification programs for healthcare professionals to ensure effective use of our platform.
HEALTHAI/
├── backend/
│ ├── fastapi/ # Python backend for clinical NLP and ML models
│ └── node-backend/ # Node.js backend for user authentication and session management
├── ecgbackend/ # Backend for ECG data processing
├── frontend/ # React-based responsive frontend
├── .gitignore
├── README.md
Ensure you have the following installed on your system:
-
Python: Version 3.9 or higher
-
Node.js: Version 18 or higher
-
npm or yarn
-
virtualenv (for Python environments)
-
Git (to clone the repository)
-
GPU (recommended for running models like Whisper and LLMs)
Open your terminal and execute:
git clone https://github.com/Nehilsa2/HealthAI.git
cd HEALTHAIa. FastAPI (Python Backend)
cd backend/fastapi
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reloadThis will start the FastAPI server on http://127.0.0.1:8000.
b. Node.js Backend
cd ../node-backend
npm install
node index.jsThis will start the Node.js server on the default port (usually http://localhost:3001).
cd ../../frontend
npm install
npm startThis will start the React frontend on http://localhost:3000.
Open your browser and navigate to http://localhost:3000 to interact with the HealthAI application.
| Layer | Tools Used |
|---|---|
| Frontend | React.js, Tailwind CSS |
| Backend | FastAPI (Python), Node.js |
| Speech & NLP | Whisper, Google Speech-to-Text, NLLB |
| LLM Analysis | GPT-4, LLaMA (fine-tuned on medical data) |
| Diagnostics | CNN Models (ECG, X-rays e.g., CheXNet) |
Our system integrates multiple AI models to enhance diagnostic accuracy and efficiency:
- Whisper: Transcribes multilingual doctor-patient conversations into text.
- NLLB (No Language Left Behind): Translates transcriptions into English, ensuring language inclusivity.
- GPT-4 / LLaMA (fine-tuned): Processes translated conversations to extract symptoms, suggest possible diagnoses, and highlight critical red flags.
- CheXNet: Analyzes chest X-rays to detect potential abnormalities.
- Custom CNN Models: Processes ECG data to identify irregularities and assist in cardiac assessments.
These models collectively provide a comprehensive diagnostic overview, aiding physicians in making informed decisions.
- General Physicians in under-resourced areas.
- Mobile Health Clinics and NGO healthcare providers.
- Public Health Missions like Ayushman Bharat and NHM.