Hi community!
I’ve been a part of numerous conversations with community members about O3, and what it might look like in the future, given the rapid advances of agentic technologies.
Today, the O3 user experience is mouse- and application-oriented. You find a patient, then click through the app to get what you want. That’s hardly unique to OpenMRS: most EMRs have spent decades building sophisticated interfaces that try to anticipate how users will want to reach their data, and every new need becomes another screen, tab or menu.
In the age of AI, I think it’s worth stepping back and reconsidering what an EMR is and how it should work. My gut tells me that we should build the next generation of OpenMRS UX around a simple presumption:
A user can simply ask the EMR for what they want, rather than navigate an interface to find it.
There are very few places in O3 today to ask an open-ended question. The most natural pattern for that kind of interaction is a prompt box: ie, a browser address bar, or a LLM chat prompt. OpenMRS actually has one, but it’s hidden behind a magnifier icon and is only used today to look up patients.
I propose we unbridle that prompt! Let’s borrow the omnibar that browsers adopted years ago, let users simply ask for what they’re after, and use contextual clues to interpret those requests intelligently. The most important clue is where the user is. Inside a patient’s record, the most likely questions are about that patient: “cd4” means their latest CD4 count, and “when did she start ART?” means her history. Outside a patient record, the same box is more likely being used to find a patient (“Mary Achieng”) or to ask a question about a population (“women aged 15-49 enrolled in HIV”).
Asking doesn’t necessarily mean that everything has to go through a language model. Many requests can be answered directly and deterministically, for example from the concept dictionary’s names and synonyms, and anything generated has to show the records it came from. The omnibar is deliberately not a chatbot, and nothing typed into it changes the record. There’s lots of experimentation that we’ll have to do, to get this right!
So I developed a prototype of an O3 omnibar. ![]()
I’ve posted the code to a new OpenMRS repo: GitHub - openmrs/openmrs-esm-omnibar-app: O3 Omnibar: pervasive EMR search foundation for OpenMRS 3 (prototype) · GitHub
@dkayiwa was also nice enough to install it over at http://chartsearchai.openmrs.org
Please take a look and share your thoughts! I’m traveling over the next 1.5 weeks, so apologies in advance if you don’t hear from me quickly!
