What AI Solutions Are You Working On? - OpenMRS AI Hackathon, July 2026

The OpenMRS AI Hackathon is coming in early July 2026 (3–5 days), and the community is already buzzing with ideas about what it could look like.

But before we get there, we have a question for you:

What AI solutions are you already working on or excited to explore within the OpenMRS ecosystem?

Whether you have something fully built, an early prototype, a wild idea, or just a problem you desperately wish AI could solve - we want to hear it. The goal is to surface what’s already in motion across the community, connect, and build on each other’s work - so that together, we can take things further.

On the OpenMRS side, we’ve developed a prototype for Chart Search AI and look forward to sharing more about its progress during the hackathon.

CC: @EMR4All @Madiro @PIH @OpenConceptLab @Mekom @Intellisoft @UWash @jesplana

4 Likes

Hey @veronica, excited about this. I’ve been contributing to the O3 Service Queue module (openmrs-module-queue) mostly and there’s a specific gap where AI could make a real clinical impact that I don’t see anyone working on yet.

The idea: An AI-powered SortWeightGenerator for intelligent queue prioritization

Right now, the queue module has a pluggable SortWeightGenerator interface that determines the ordering of patients in a queue. The two built-in implementations are essentially dumb - ExistingValueSortWeightGenerator just preserves whatever the frontend sends (so you get pure FIFO), and BasicPrioritySortWeightGenerator sorts based on a static concept set ordering (e.g., Emergency > Urgent > Normal). Neither of them actually looks at the patient.

The extension point is already there - the interface takes a QueueEntry object, which gives you access to the Patient, the Visit, the Queue, and the priority concept. From the patient, you can pull vitals (via obs), active conditions, age, visit history. The architecture is explicitly designed for custom implementations (the README even says “Modules that require this module can define and configure their own custom algorithms”).

What I’d want to build for the hackathon:

A SmartSortWeightGenerator - a custom implementation that, when a patient enters a queue, pulls their recent vitals and triage data, runs it through a lightweight model (something like a fine-tuned clinical risk scoring model or even a rules-engine backed by an LLM for edge cases), and computes a clinically-informed sort weight. High-risk patients get bumped up automatically without a nurse having to manually change the priority dropdown.

This would plug in without any changes to the core queue module - just set the queue.sortWeightGenerator global property to the new bean name.

Where it complements existing work:

The chartsearchai module already solves the “query patient records” problem using RAG + MedGemma. This proposal is different - it’s not about asking questions about a chart, it’s about using patient data to make a real-time operational decision (queue ordering) at the point of care. The retrieval layer in chartsearchai (the all-MiniLM-L6-v2 embeddings, the obs indexing) could potentially be reused to fetch relevant clinical context for the scoring model, so there’s a natural synergy.

A few questions for the community:

  1. Has anyone attempted runtime clinical risk scoring within the O3 workflow before? I want to make sure I’m not duplicating work from an implementation partner.

  2. For the hackathon scope - would a simpler “rules-based” approach (e.g., if systolic BP > 180 and age > 60, bump sort weight by X) be more valuable as an MVP than a full ML model, given the need for clinical validation?

  3. Data privacy: the SortWeightGenerator runs server-side and only needs access to data already in the OpenMRS DB (obs, conditions), so there’s no external API call needed. But would the community be comfortable with a model making queue ordering decisions, even as a “suggestion” layer?

Happy to scope this further if others are interested in collaborating. I think the queue module’s extensibility makes this one of the lowest-friction places to introduce AI into an actual clinical workflow.

1 Like

@veronica Something I’d love to see us explore IoT + AI for patient monitoring and maybe some other fields.

Now like, every few hours a medic has to physically walk to each bed, strap on a BP cuff, wait for the reading, note it down on paper or go find a terminal to enter it into OpenMRS, then move to the next patient. . By the time she’s done her round, the first patient she checked is already an hour and a half behind on vitals jut painting what i think could be on going out there

What if instead, the pulse oximeter at each bed was connected feeding readings into OpenMRS automatically every few minutes and an AI model was sitting on top of that stream, learning each patient’s normal range and quietly watching for anything drifting the wrong way?

A clinician doesn’t have to do the rounds the same way anymore. Medics are not the one manually catching that the post-op patient in bed somewhere in the ward has gone from 96 to 92 in the last 40 minutes. The system already caught it, already logged it, already sent them a notification. The patient never hits the point where it becomes an emergency.

That whole loop device reads vitals, AI detects the trend, nurse gets notified, nurse acts
I am Curious if anyone else has been thinking along these lines, and then an inquiry what is the feasibility of this idea.

1 Like

Hi @veronica and everyone,

This is exciting to see. One area I’d be interested in exploring for the hackathon is AI-assisted code review for OpenMRS contributors and dev partners

I’ve been working on ThinkReview, an open-source browser extension that adds AI code review directly inside pull/merge request pages. It currently supports GitHub, GitLab, Bitbucket, and Azure DevOps, with zero setup on Github , Gitlab and Azure DevOps cloud. It also supports local AI reviews through Ollama, which could be useful for privacy-conscious healthcare projects or contributors working with sensitive implementation code.

Repo: https://github.com/Thinkode/thinkreview-browser-extension Website: https://thinkreview.dev

For OpenMRS, I think this could be useful in a few ways:

  1. Helping new contributors get faster feedback on PRs before maintainers spend time reviewing.

  2. Flagging common issues around security, maintainability, tests, and code quality.

  3. Potentially creating OpenMRS-specific review agents , for example I created here specialised openMRS security scout and feeded ‘OpenMRS Security 101: Policies & Vulnerability Management’ as a reference

Here I opened an OpenMRS PR and ThinkReview has already reviewed the PR with our created security scout in addition to the standard code review and code suggestions

I’d be curious whether the community would find this useful as part of the hackathon, either as a tool for contributors or as a base for experimenting with OpenMRS-specific AI review rules.

1 Like

Thanks @veronica for this here is my idea

An AI-Powered Syndromic Surveillance & Early Outbreak Detection built into OpenMRS O3

One of the most critical and currently unmet gaps in the OpenMRS ecosystem is real-time outbreak intelligence. OpenMRS sits on top of millions of patient encounters across low- and middle-income countries, and yet this data is largely passive. It records what happened, but it doesn’t warn anyone when a pattern is quietly becoming an epidemic.

Like right now, if let’s say 10 clinics in the same district start seeing a spike in fever + vomiting + dehydration cases, there is no built-in mechanism to detect that signal, correlate it across facilities, and alert a public health officer before it becomes a crisis. But if remember that this has been brought up some time back.

What I want to explore at this hackathon:

An AI module for OpenMRS O3 that performs passive syndromic surveillance continuously analyzing encounter data across facilities for statistically anomalous symptom clusters, then surfacing actionable alerts to district health teams. The good thing here no extra data entry. No waiting for weekly reports. The signal comes from the data clinicians are already entering in the system.

Technically, this would involve:

  • An anomaly detection layer (e.g., LSTM or isolation forest model) running against OpenMRS observation and encounter data

  • A lightweight alert dashboard built as an O3 frontend module

  • AI-generated natural language summaries of detected signals (“3 facilities in region X report a 4x spike in acute diarrhea cases over 72 hours possible cholera precursor”)

  • This can be Optional: FHIR-based export to national surveillance systems (DHIS2, SORMAS)

Why this matters:

I read a post about BlueDot that detected COVID-19 nine (9) days before the World Health Organization (WHO) , but it was using airline data and AI. The good thing OpenMRS already has clinical data which is far more accurate. We just haven’t built the intelligence layer on top of it yet. But this hackathon is the perfect moment to start.

I’m a developer and I’m particularly interested in connecting with implementers from Africa and Southeast Asia where OpenMRS deployments are densest and outbreak risk is highest. Would love to collaborate!

1 Like