How to Manage Variant‑Specific UI Changes in OpenMRS Modules?

Hello OpenMRS community, I’m Dheeraj Sudan, working together with my wife, Meenu Hinduja. We are currently developing an OpenMRS module that needs to support variant‑specific UI changes. For example, certain screens and workflows should appear differently depending on the deployment site, while keeping the core module maintainable and avoiding code duplication.

I’m always open to ideas and suggestions—feel free to share your thoughts!

Kindly which OpenMRS version and UI framework are you targeting? If you are using the O3/SPA framework, extension points and configurable microfrontends are useful for handling variant specific UI changes cleanly. With Legacy UI, separating variant logic into well defined services or configurable workflow/form definitions can help maintain a clean core.