godmodefounder
Initial commit: Prescription Explainer with MedGemma and FHIR export
b15df3c
|
Raw
History Blame Contribute Delete
1.72 kB

A newer version of the Streamlit SDK is available: 1.58.0

Upgrade
metadata
title: Prescription Explainer
emoji: 💊
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.40.0
app_file: app.py
pinned: false
license: mit

💊 Prescription Explainer

AI-powered prescription understanding for Southeast Asian patients using Google's MedGemma.

What it does

  1. Upload a prescription image (photo or scan)
  2. Get a clear, patient-friendly explanation
  3. Translate to your preferred language (Thai, Indonesian, Vietnamese, Cambodian, Hindi, Mandarin, English)
  4. Export FHIR-compliant health data for sharing with healthcare providers

Features

  • MedGemma-powered extraction - Reads prescription images directly using Google's multimodal medical AI
  • Plain-language explanations - No medical jargon, just clear instructions
  • Multilingual support - 7 Southeast Asian languages
  • FHIR R4 export - MedicationStatement and MedicationRequest resources for health data portability
  • Privacy-first - No data stored, images processed and discarded

Technology Stack

  • AI Model: MedGemma 1.5 4B (google/medgemma-1.5-4b-it)
  • Translation: Gemma 3
  • Frontend: Streamlit
  • FHIR: fhir.resources (Python)
  • Deployment: Hugging Face Spaces

Usage

pip install -r requirements.txt
streamlit run app.py

Supported Languages

  • English
  • Thai (ไทย)
  • Indonesian (Bahasa Indonesia)
  • Vietnamese (Tiếng Việt)
  • Cambodian/Khmer (ភាសាខ្មែរ)
  • Hindi (हिन्दी)
  • Mandarin Simplified (简体中文)

Disclaimer

This tool provides general information only. Always consult your healthcare provider for medical advice.


Built for the Google AI Hackathon 2026 - MedGemma Track