Welcome to Pocket Missy, an innovative all-in-one app built to advance value-based healthcare in Singapore and support seniors in living independently.
By unifying essential healthcare services into one powerful platform, Pocket Missy leverages cutting-edge vector search and Retrieval-Augmented Generation (RAG) technology to deliver hyper-personalized medical advice. Beyond that, it provides advanced data analytics and actionable healthcare insights, empowering users to make smarter, data-driven decisions for their health.
- Overview
- Problem Statement & Context
- Our Approach
- Key Features
- Architecture & Workflow
- Setup & Installation
-
Fragmented Healthcare Ecosystem:
The current healthcare landscape is cluttered with multiple disjointed apps for appointments, prescriptions, teleconsultations, and medical records. This fragmentation makes it difficult for users — especially seniors — to manage their health holistically and conveniently. -
Underreporting Among Seniors:
Elderly users often underreport symptoms or health events, either due to forgetfulness or the complexity of navigating multiple healthcare platforms. This leads to missed opportunities for timely intervention and preventive care. -
Strain on the Healthcare System:
Clinicians are frequently overwhelmed, having to comb through extensive medical records, lifestyle data, and dietary habits to make informed decisions. In reality, time constraints often prevent doctors from fully leveraging this data, resulting in rushed or incomplete diagnoses.
Our solution directly tackles these challenges through:
-
Unified Platform:
A one-stop shop app where users log vitals, activities, and diet in a single interface—eliminating the need for multiple apps. -
Personalized Multi-Language Chatbot ("Ask Missy"):
A medical-tuned, AI-powered chatbot that accesses personal health records to deliver tailored advice. For instance, it can flag critical events like a persistent cough in patients with a history of lung cancer or log falls automatically for clinician review. -
Data-Driven Insights & AI Analytics:
Leveraging advanced AI, our platform processes sensor data and user inputs to monitor consumption and fitness patterns, providing personalized recommendations and enabling proactive care. -
Advanced Data Retrieval Using IRIS & RAG:
We use vector search in our IRIS database combined with Retrieval-Augmented Generation (RAG) to prompt engineer our requests to Azure OpenAI—ensuring that responses are contextually relevant and data-driven.
-
Comprehensive Health Dashboard:
View real-time vitals, activity logs, diet information, and medical records in one place. -
"Ask Missy" Chatbot:
- Symptom Checker: Analyzes symptoms using historical health data.
- Medical Summary: Retrieves and synthesizes vitals and activity data.
- Treatment Recommendations: Offers tailored advice based on individual health profiles.
- General Health Queries: Supports multi-language conversations for accessible health information.
-
AI-Driven Data Embedding:
Utilizes the SentenceTransformer model (pritamdeka/S-PubMedBert-MS-MARCO) to generate embeddings for medical records, enhancing search and retrieval capabilities. -
Proactive Health Monitoring:
Automatically logs critical health events and integrates multiple data sources to reduce underreporting and ensure comprehensive data is available to healthcare providers.
-
Frontend (React Native - Typescript):
Delivers the mobile interface for the health dashboard and chatbot.
-
Backend (Flask - Python):
Provides RESTful API endpoints to interact with the IRIS database and Azure OpenAI.
-
Database (IRIS):
Stores user data across tables: MedicalRecords, Vitals, Activity, PastPrompts, and Diet.
Utilizes vector search to support efficient data retrieval and prompt engineering. -
Embedding Service (pritamdeka/S-PubMedBert-MS-MARCO):
Generates semantic embeddings using SentenceTransformer for advanced natural language processing.
-
Logger:
Users save sensor data, logs and any information about their health they wish to store here. The saved data is sent to the backend for updating. -
Backend Vector Embeddings: The backend embeds all unstructured data into vector embeddings before updating the IRIS Intersystems RAG Database.
- RAG and AI-Powered Insights using OpenAI:
When chatting with Missy, users will be sending prompts for any of the 4 prompt modes:
- Symptom Checker: Retrieves past symptoms in logs using the vector search from IRIS Intersystems database that are most relevant to enrich the full fine-tuned prompt that generates in-depth analysis of their symptoms and possible diagnoses for users.
- Medical Summary: Retrieves and synthesizes historical vitals and activity data from the IRIS Intersystems database to build a fine-tuned prompt outlining the users' current general health based on their previous logs.
- Treatment Recommendations: Offers tailored advice on treatment options based on individual health profiles.
- General Health Queries: Supports multi-language conversations for accessible health information.
git clone https://github.com/awpbash/healthhack.git
cd healthhackpip install -r requriements.txtpython database.py
# populating database
python populate.pycd krr
# Add Azure API key
npm run android or npm run ios



