Title: [Proposal] Integrated AI Disease Prediction & Image Detection Suite for O3
Hello OpenMRS Community,
My name is Alivia Hossain and I am a developer passionate about leveraging AI to support healthcare in resource-constrained settings. I am writing to propose a technical integration of an end-to-end Disease Prediction Suite into the OpenMRS 3.0 ecosystem.
The Project Overview
I have developed (and improving) a system designed to move from record-keeping to active clinical assistance. Key features include:
-
Predictive ML Models: Trained on numeric patient data (vitals, labs) to flag risks.
-
Bayesian Screening: A probability calculator for rapid symptom-based triage.
-
Medical Imaging AI: CNN-based detection for skin and eye pathologies (e.g., melanoma, cataracts).
-
Integrated Dashboards: An O3-compatible Doctor Dashboard for clinicians and a standalone Patient Dashboard (utilizing OMRS Auth).
-
AI Chatbot: To assist with triage and context-aware patient/doctor FAQs.
Proposed Technical Approach
To maintain scalability and follow GSoC 2026 standards, I am planning the following:
-
Architecture: A Sidecar API approach (Python/FastAPI) to host the models, keeping the heavy ML processing separate from the OMRS Core.
-
Data Exchange: Utilizing REST/FHIR R4 to fetch observations linked to specific Concept IDs.
-
UI/UX: Building O3 Microfrontends (ESMs) to embed prediction widgets directly into the Patient Chart.
A Note on My Workflow & Strengths
My core strength lies in system architecture and clinical logic. I am a “thought-partner” developer—I leverage AI/LLM tools heavily to assist with the code generation and implementation phases. While I have a strong grasp of the project’s logic and data flow, I am still gaining experience with the specific nuances of the OpenMRS Java/React codebase and have occasionally faced hurdles with local environment setup.
My Current Status
I am currently familiarizing myself with the following repositories to ensure my project aligns with your standards:
-
openmrs-esm-patient-chart(to understand dashboard widgets) -
openmrs-module-webservices.rest(for data fetching)
Request for Community Feedback
I would appreciate guidance from the core architects on:
-
Does the Sidecar API + O3 Widget approach align with the GSoC 2026 roadmap?
-
What are the best practices for storing/accessing clinical images for ML detection within the
attachmentsmodule? -
Are there specific “Good First Issues” in O3 that would help me master the environment setup more effectively?
I am excited to “Write Code, Save Lives” and contribute to the evolution of O3!
Best regards, [Alivia Hossain / aliviahossain]