Android app · React Native + Firebase

HealthSync

One app that connects patients, doctors, hospital staff and admins: secure chat and video calls, clinical tasks, health notes and AI that reads brain MRI scans.

H DESIGNED & DEVELOPED BYHassaan
4User roles
10Hospital staff roles
15Departments
2AI services
Features

Everything a hospital team needs, in one app

Built for real hospital workflows, from a patient's first symptom note to the lab result.

💬

Chat & video calls

Real-time messaging with voice notes, files, read receipts and one-tap video calls that ring even when the app is closed.

📋

Clinical task Management

Doctors send tasks to a department or named staff. The first person to complete a task claims it, and the doctor is notified.

📝

Health notes

Patients keep a health journal and share a single note with a doctor, who replies with comments right on the note.

🧠

AI brain MRI analysis

Lab staff upload a scan and get a tumour classification, a Grad-CAM heatmap of what the model saw, and a PDF report.

🤖

AI health assistant

Ask medical questions and get clear, structured answers: overview, key facts, when to see a doctor and treatment options.

🔔

Smart notifications

Push notifications arrive whether the app is open, in the background or closed, and open the right screen when tapped.

Built for every role

Four dashboards, one app

Each person sees exactly what they need. Pick a role to explore.

For patients

Track your health and stay in touch with your doctors.

  • Health journal, searchable by day or date
  • Share one note with a chosen doctor and read their comments
  • Chat, voice notes and video calls with doctors
  • AI health assistant for medical questions
  • Sign up with email or phone number (OTP) and fingerprint login
Health notes Doctor AI assistant Health note shared in chat

For doctors

Coordinate care with patients and the hospital team.

  • Create tasks for a patient with priority and notes
  • Route tasks to any of 15 departments or to named staff
  • Track incomplete and completed tasks live
  • Review notes patients share and reply in context
  • Messaging and video calls with patients and colleagues
Doctor dashboard Create a task Task history

For hospital staff

Nurses, medical officers, lab staff and more: 10 roles across 15 departments.

  • Task inbox for your department and tasks assigned to you
  • Tap Complete to claim a task; the doctor is notified instantly
  • AI brain MRI analysis with heatmap and PDF report (lab staff)
  • Chat and voice notes with doctors
Staff task inbox AI MRI analysis MRI diagnosis result

For admins

Oversee the whole team, safely.

  • Directory of every doctor, staff member and patient
  • Search, filter by role and manage on-call status
  • Create new admins from inside the app
  • Nobody can sign themselves up as an admin
Admin dashboard Create a new admin Team directory
AI inside

AI that supports the care team

Two AI services built into the app: one reads brain MRI scans, the other answers health questions.

🧠

Brain tumour detection

Lab staff upload a brain MRI and, in a few seconds, get a diagnosis with a confidence score: glioma, meningioma, pituitary tumour or no tumour. A deep-learning model (MobileNetV3 with attention) does the analysis, and a Grad-CAM heatmap shows where it looked.

1Upload an MRI scan
UploadPick a brain MRI
2Crop the scan
CropFocus on the brain
3Enter patient name
PatientName for the report
4AI analysing the scan
AnalyseDeep learning at work
5Diagnosis result
ResultDiagnosis + confidence
PDF report page 1
PDF report: diagnosis, risk factors, MRI and attention map
PDF report page 2
PDF report: AI confidence for each tumour type
🤖

Doctor AI assistant

Patients and staff can ask health questions any time and get clear answers, organised into sections so they're easy to follow. Answers come from large language models on Hugging Face (Mistral 7B, with fallbacks).

📖 Overview of the condition 📌 Key facts and recommendations 🩺 When to see a doctor 💊 Treatment options
Doctor AI chat
Screens

A closer look

Real screens from the app on an Android phone. Tap any screen to enlarge. Personal details are blurred.

Security & privacy

Health data, handled with care

Security was designed in from the start and reviewed throughout development.

🔒Private by rule

Database rules let each person read only their own chats and health notes. Tasks are visible only to hospital staff.

🗝️No keys in the app

Notifications go through a small serverless service that holds the secret key and checks the sender's login first.

🛡️Protected roles

Nobody can make themselves an admin. Only an existing admin can create one, and the rules enforce it.

✉️Verified accounts

Email accounts are verified before first login; phone accounts are verified by OTP.

👆Secure on device

Sessions live in encrypted storage, and fingerprint login uses the Android keystore.

Architecture

How it fits together

A React Native app backed by Firebase, a serverless push service, and two Python AI services.

🔥
FirebaseAuth, Realtime Database, Cloud Messaging
☁️
Push serviceCloudflare Worker
🎥
Video callsZEGOCLOUD
HealthSync appReact Native · Android
🧠
MRI analysis serviceFlask, PyTorch, Grad-CAM
🤖
AI assistant serviceFlask, Hugging Face models
Tech stack

Built with

⚛️ React Native 0.76 🧭 React Navigation 🔥 Firebase Auth 🗄️ Realtime Database 🔔 Cloud Messaging ☁️ Cloudflare Workers 🎥 ZEGOCLOUD 🐍 Python & Flask 🔦 PyTorch 🤗 Hugging Face 🎞️ Lottie & Reanimated 👆 Android Keystore
H
DESIGNED & DEVELOPED BY

Hassaan

I built HealthSync end to end: the mobile app, the Firebase backend and security rules, the push service and the AI integrations. The source code is private. Reach out on GitHub to learn more.

GitHub @hassaan2077