About SigmaHealth

Inspiration

Singapore's dense urban environment and tropical climate make it particularly vulnerable to health outbreaks like dengue fever, air pollution spikes, and infectious diseases. During the COVID-19 pandemic, we witnessed how quickly health situations can escalate and how crucial early detection and community awareness are for public health.

We were inspired by Singapore's smart nation initiative and the wealth of open health data available from government sources. We realized that by combining real-time official health data with crowdsourced community reporting, we could create an early warning system that empowers citizens to become active participants in public health monitoring.

What it does

SigmaHealth is a comprehensive health monitoring platform that transforms how Singaporeans interact with public health data:

  • Real-time Health Dashboard: Displays live dengue cluster data (web scrapping from NEA website), air quality PSI readings, and general health data across Singapore (live data from countrymeters.info)
  • AI Health Chatbot (SigmaBoy): Provides personalized health guidance and answers health-related questions using OpenAI's GPT technology
  • Community Health Reporting: Enables citizens to report health observations with geolocation, creating a crowdsourced health surveillance network
  • Interactive Health Maps: Visualizes government health data and community reports on an interactive Singapore map
  • Daily Health Quiz: Gamified learning system with leaderboards to encourage health education and awareness
  • User Profiles: Personalized health tracking and multilingual support for Singapore's diverse population

How we built it

Technology Stack

  • Frontend: React Native with Expo for cross-platform mobile development
  • Backend: Firebase Firestore for real-time data storage and authentication
  • AI Integration: OpenAI GPT API for the intelligent health chatbot
  • Maps: React Native Maps with Google Maps integration
  • Data Sources: Singapore government APIs for dengue, PSI, and COVID-19 data, Countrymeters

Architecture

  1. Data Integration: Built pipelines to process real Singapore health datasets from MOH, NEA, and other government sources
  2. Real-time Sync: Implemented Firebase listeners for live updates across all app features
  3. Geospatial Processing: Created location-based health data visualization and community reporting
  4. AI Implementation: Integrated OpenAI API with custom prompts for health-focused conversations
  5. Gamification Engine: Developed quiz system with scoring, leaderboards, and user progression tracking

Challenges we ran into

Data Integration Complexity

Singapore's health data comes from multiple government sources with different formats and update frequencies. We built a unified processing pipeline to normalize and combine dengue clusters, PSI readings, and COVID-19 statistics. But most of them came fro data.gov.sg

Real-time Performance

Ensuring app responsiveness while handling multiple real-time data sources required implementing efficient Firebase listeners with pagination and smart caching strategies.

Firebase Security Rules

Balancing community features with data privacy meant designing complex Firestore security rules that protect user data while enabling public health reporting.

AI Safety and Accuracy

Ensuring our health chatbot provides helpful information without giving medical advice required careful prompt engineering and safety filters.

Cross-platform Map Integration

Building consistent map experiences across iOS and Android with complex overlays and real-time markers required extensive testing and optimization.

Accomplishments that we're proud of

  • Real Data Integration: Successfully integrated multiple Singapore government health datasets into a unified platform
  • AI-Powered Health Assistant: Created SigmaBoy, an intelligent chatbot that provides contextual health guidance
  • Community Engagement: Built a crowdsourced reporting system that turns citizens into health sensors
  • Comprehensive Health Ecosystem: Combined official data, community reports, education, and AI guidance in one app
  • Production-Ready Architecture: Implemented scalable Firebase backend with proper security and real-time capabilities
  • User Experience: Designed an intuitive, multilingual interface that makes complex health data accessible to all Singaporeans

What we learned

Technical Skills

  • Firebase Mastery: Advanced Firestore security rules, real-time listeners, and authentication systems
  • AI Integration: OpenAI API implementation with custom health-focused prompt engineering
  • Geospatial Development: Location-based data processing and interactive map development
  • React Native Expertise: Cross-platform mobile development with complex state management

Domain Knowledge

  • Public Health Systems: Understanding Singapore's health monitoring infrastructure and data flows
  • Community Health Patterns: Learning about disease clustering, environmental health factors, and community behaviors
  • Health Communication: Importance of clear, accessible health information for public consumption
  • Data Privacy: Balancing transparency with user privacy in health applications

Product Development

  • User-Centered Design: Creating interfaces that make complex health data understandable
  • Gamification Strategies: Using game mechanics to encourage health education and engagement
  • Real-time Systems: Building responsive applications that handle live data updates efficiently

What's next for SigmaHealth

Immediate Roadmap

  • Enhanced AI Features: Expand SigmaBoy's capabilities with symptom checking and health risk assessment
  • Advanced Analytics: Implement predictive modeling for disease outbreak patterns
  • Healthcare Integration: Partner with local clinics and hospitals for seamless health service connections
  • Wearable Integration: Connect with fitness trackers and health devices for comprehensive health monitoring

Long-term Vision

  • Regional Expansion: Adapt the platform for other Southeast Asian countries with similar health challenges
  • Government Partnership: Collaborate with Singapore's Ministry of Health for official health surveillance integration
  • Research Platform: Enable public health researchers to access anonymized community health data
  • Emergency Response: Integrate with Singapore's emergency response systems for rapid health crisis management
  • Personalized Health Insights: Use machine learning to provide personalized health recommendations based on location, behavior, and community trends

Impact Goals

  • Early Detection Network: Create Singapore's first citizen-powered disease surveillance system
  • Health Literacy Improvement: Significantly increase public understanding of health risks and prevention
  • Community Resilience: Build a more informed and prepared population for health emergencies
  • Data-Driven Policy: Provide insights that help shape evidence-based public health policies

SigmaHealth represents the future of public health monitoring where technology, community engagement, and official health systems work together to create a healthier, more resilient Singapore.

Share this project:

Updates