MyHealthID
Inspiration
Millions of people struggle to access their medical records when visiting different hospitals or clinics. Paper-based records are often lost, damaged, or unavailable during emergencies. We wanted to build a secure digital health identity platform that allows patients to own and control their medical information while enabling healthcare providers to access authorized records quickly and securely.
What it does
MyHealthID provides a unified, paperless healthcare management platform featuring a unique digital health profile for patients alongside specialized portals for healthcare staff.
Core July 2026 Features (The Blueprint Hackathon Sprint):
💳 Localized Healthcare Payment Gateway: Fully integrated Chapa Payment Gateway to handle secure clinic billing, micro-transactions, patient consultations, and local payment methods.
🧠 Grounded AI Clinical Assistant: Live, context-aware AI assistant widget built directly into the Doctor Dashboard header (powered by Gemini 1.5 Flash), leveraging sanitized patient context for real-time clinical summaries.
🔒 Multi-Tenant Role-Based Privacy: Strict role-isolated interfaces and middleware routing across 7 distinct clinic entities: Doctor, Patient, Pharmacy, Laboratory, Triage, Screening, and Admin.
📷 Instant QR & OCR Identification: Scan patient QR cards or extract text from document images using integrated camera QR scanning (html5-qrcode) and optical character recognition (Tesseract.js).
Key features include:
- Unique digital health identity & QR card generation
- Medical record management & clinical lab requests
- Chapa billing & clinic transaction management
- Real-time queue tracking & triage urgency scoring
- Privacy-focused, role-isolated access control
How we built it
The application was built on modern full-stack web standards optimized for speed, security, and local utility:
- Frontend & Routing: Next.js 14 (App Router), TypeScript, Tailwind CSS, and Radix UI components.
- Backend & Database: Next.js Server Actions, PostgreSQL, and Prisma ORM for database modeling and schema management.
- Payment Processing: Chapa Payment API integration for localized healthcare billing and mobile transactions.
- AI & Vision: Gemini API for grounded clinical assistant streaming, combined with
html5-qrcodeandTesseract.jsfor OCR image text extraction. - Security & Privacy: Anonymized prompt sanitization pipeline and strict Next.js middleware for role-based portal isolation.
Challenges we ran into
During our July hackathon sprint, key engineering hurdles included:
- Chapa Payment Checkout Flow: Configuring seamless transaction verification and dynamic billing allocation within Next.js Server Actions.
- Medical Privacy with External AI: Ensuring patient context sent to the Gemini AI Clinical Assistant is sanitized and stripped of sensitive personal identifiers prior to inference.
- Multi-Portal Architecture: Managing state and access controls across 7 distinct clinic entities without leaking tenant data or cluttering the user interface.
Accomplishments that we're proud of
- Integrated local payment gateway (Chapa) into a production-grade healthcare management workflow.
- Built a working Grounded AI Clinical Assistant embedded into active clinical dashboards.
- Engineered 7 complete, isolated role portals (Doctor, Patient, Pharmacy, Lab, Triage, Screening, Admin).
- Shipped a fast, responsive MVP deployed live on Vercel with PostgreSQL persistence.
What we learned
This project deepened our expertise in integrating localized financial APIs (Chapa), anonymizing clinical data for LLM pipelines, architecting complex multi-role workflows in Next.js 14, and managing database migrations with Prisma.
What's next for MyHealthID
With local payments, AI clinical assistance, and multi-tenant isolation complete, our next milestones are:
📱 Native iOS & Android companion apps for offline patient access and QR identity presentation.
🏥 Direct EHR/EMR API interoperability for integration with national hospital systems.
🚨 Emergency Offline QR Bypass Mode for frontline emergency response teams.
Built With
- api
- chapa-payment-api
- css
- express.js
- gemini-ai-api
- github
- html
- html5-qrcode
- javascript
- jwt
- next.js-14
- node.js
- postgresql
- prisma
- prisma-orm
- react
- rest
- tailwind
- tailwind-css
- tesseract.js
- typescript


Log in or sign up for Devpost to join the conversation.