Inspiration
Managing personal and family health records is often fragmented across paper prescriptions, scattered lab reports, and clinic portals—making it difficult to organize important medical information and understand complex reports. I wanted to build a secure, mobile-first digital health passport that puts encrypted medical records, AI-driven report analysis, and personalized health coaching directly in the user's hands.
What it does
MyHealthPassport is an AI-powered medical record management and health analytics Android application designed to help users organize their health information, understand their reports, and stay informed:
- 🩺 Digital Medical Records: Keep important medical information organized in one place and easily access health records whenever needed.
- 🤖 Intelligent AI Assistants:
- Medical Report Analyzer: Parses medical report images using Google Gemini AI to extract vital health metrics and automatically update your digital Medical ID.
- Personalized Health Coach: A dedicated AI agent providing custom diet, exercise, and lifestyle recommendations based on your unique medical profile.
- Health Insights: Real-time analysis of blood pressure and glucose trends with AI-generated recommendations.
- 📊 Health Analytics & Automated Tracking: Interactive line charts for blood pressure and blood sugar tracking, pie charts for medication distribution, and automated syncing with your Medical ID to maintain a longitudinal history of vitals.
- 🛡️ Privacy & Security:
- Biometric Authentication: Native integration with the Android Biometric API (Fingerprint/Face Unlock) to protect sensitive health data.
- Advanced Encryption: Local sensitive medical information is encrypted using AES-256 encryption via
CryptoManagerintegrated with the Android Keystore. - Secure Auth & Cloud Sync: Robust authentication powered by Firebase Auth and Google Identity Services, with secure cloud synchronization across supported sessions.
- 🎙️ Voice & Accessibility: Text-to-Speech (TTS) spoken health reports and AI-generated insights paired with a responsive Jetpack Compose (Material Design 3) UI that adapts across screen sizes.
- 📱 Home Screen Widget: Jetpack Glance widgets to keep vital health stats and selected health information accessible right from the home screen.
How we built it
- Language & Modern UI: Built natively in Kotlin with Jetpack Compose, Material Design 3, and Jetpack Glance for home screen widgets.
- Architecture: Engineered with Clean Architecture and MVVM, using Coroutines, StateFlow, and Dagger-Hilt.
- AI & Voice: Powered by Google Gemini AI for medical report image parsing and personalized health coaching, alongside Android Text-to-Speech (TTS).
- Data, Auth & Security: Secured with Android Keystore (AES-256) via
CryptoManagerand BiometricPrompt, backed by Room (SQLite), Firebase Authentication, Google Identity Services, Firebase Firestore, and Firebase Storage. - Development Workflow: Built using Kiro IDE's spec-driven development and agentic workflows to plan features, refine clean architecture layers, and accelerate iteration.
Challenges we ran into
- Balancing Strong Encryption with AI Analysis: Keeping sensitive medical records encrypted at rest with Android Keystore AES-256 via
CryptoManagerwhile safely extracting and analyzing medical report images with Gemini AI required strict data-layer isolation. - Reliable Extraction from Medical Report Images: Handling varied lab report and prescription layouts so vital health metrics can accurately update the user's digital Medical ID without misreading values.
- Glanceable Home Screen Widgets: Designing responsive, informative health stat widgets within Jetpack Glance constraints while staying synced with Room.
Accomplishments that we're proud of
- Built an end-to-end privacy-first health companion combining hardware-backed AES-256 encryption, biometric authentication, cloud sync, and multimodal Gemini AI report analysis.
- Delivered accessible voice-assisted health insights and interactive blood pressure, glucose, and medication charts in a clean Material 3 interface.
What we learned
- Spec-driven development in Kiro keeps multi-module Android architectures (Clean Architecture, Room, Firebase, Gemini AI, and Jetpack Glance) clean and extensible.
- In healthcare apps, clear medical disclaimers, strong local encryption, and intuitive accessibility features like TTS are essential for user trust.
What's next for MyHealthPassport
- Adding multi-language voice and AI report translations so patients and caregivers can understand prescriptions in their native languages.