Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 2 min read

Building Malik MediGaurd AI: An Open-Source Healthcare & Medical Bill Audit Assistant with Python

The Problem: Healthcare Information Asymmetry in India Healthcare should heal families, not push them into debt. Yet, every day across India, millions of middle-class and rural patients overpay at pharmacies and hospital

The Problem: Healthcare Information Asymmetry in India
Healthcare should heal families, not push them into debt. Yet, every day across India, millions of middle-class and rural patients overpay at pharmacies and hospital billing desks simply due to a lack of accessible information.
When a family member falls sick, three major challenges immediately arise:
Unreadable Prescriptions: Deciphering a doctor’s handwritten prescription is nearly impossible for a layperson.
Branded vs. Generic Pricing: Patients often pay 5x to 10x more for branded medicines because they don't know the active salt composition or where to find affordable generic alternatives (like Jan Aushadhi Kendras).
Opaque Hospital Bills & Missed Schemes: Families rarely know if a lab test is overpriced compared to standard rates, or if they qualify for government healthcare schemes like Ayushman Bharat (PM-JAY).
To bridge this gap, I conceptualized and built Malik MediGuard AI (v3.1.0)β€”an open-source AI healthcare and medical savings assistant designed for everyday people.
✨ Key Features
πŸ“„ Multimodal Prescription & Bill Reader: Users can upload a photo of a handwritten prescription or a printed hospital invoice. The AI extracts the text, decodes complex medical jargon, and explains it in plain, simple language.
πŸ’Š Affordable Generic Medicine Finder: Identifies the exact chemical salt composition of prescribed branded drugs and suggests budget-friendly generic equivalents available at Jan Aushadhi Kendras and local pharmacies.
🧾 Hospital Bill Overcharge Audit: Scans itemized hospital bills, compares diagnostic and procedure charges against standard baseline rates, and flags potential overcharging so families can question unfair billing with confidence.
πŸ›οΈ Government Health Scheme Matcher: Evaluates the diagnosed condition or serious illness to recommend eligible state and central government schemes (such as PM-JAY).
πŸ“ Disease & Hospital Locator: Includes a dedicated module (locator_and_diseases.py) to help users learn about critical illnesses and locate nearby hospitals during emergencies.
πŸ› οΈ Tech Stack & Project Structure
I kept the architecture lightweight, modular, and easy to deploy so any developer can fork and run it locally:
Frontend & Web UI: Python + Streamlit
AI & Vision Engine: Google Gemini AI (leveraging multimodal capabilities for handwritten OCR and structured medical reasoning)
License: MIT License (100% Open-Source)

πŸš€ Running It Locally
If you want to test or contribute to the project, you can set it up in just a few commands:
bash

1. Clone the repository

git clone https://github.com
cd Malikmedigaurd-ai

2. Install dependencies

pip install -r requirements.txt

3. Set your Google Gemini API key and run the app

streamlit run app.py
Use code with caution.
πŸ’‘ What’s Next & Feedback
My goal with Malik MediGuard AI is to make healthcare transparent and accessible, especially for non-English speakers in semi-urban and rural India. Next, I plan to add multi-language voice support (Hindi and regional languages) and offline caching for low-connectivity areas.
I would love for the DEV community to inspect the code, test it out, and share your feedback, pull requests, or ideas!
πŸ”— GitHub Repository: shailendra-codes/Malikmedigaurd-ai
Disclaimer: This tool is built for informational and educational purposes to promote price transparency and awareness. Always consult a qualified doctor before changing any prescribed medication.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.