đź“Ł OpenMRS Form Engine v3.0.0 Release!

Dear community,

We’re excited to announce the release of OpenMRS Form Engine Library version 3.0.0 – a significant milestone that reimagines our form-handling architecture!

What’s New?

This release marks a pivotal transformation in how we approach form management. The key highlight is our migration from Formik to React Hook Form, which brings substantial performance improvements and a more streamlined development experience.

Breaking Changes & Architectural Improvements

  • Framework Migration: We’ve fully transitioned to React Hook Form, offering a more efficient form state management solution.
  • Form Processors: Introduced an abstraction layer that makes our form engine more modular and domain-agnostic. Now, specific processors like EncounterFormProcessor can handle unique domain-specific logic without complicating the core engine.
  • Enhanced Flexibility: The new architecture allows for more granular control over form validation, initialization, and submission processes.

Highlights of the Release

Our new version comes packed with features:

  • Support for nested observation groups
  • Ability to clear dropdown and radio button selections
  • Improved form navigation with collapsible sections
  • Enhanced validation and error handling
  • Performance optimizations

A Heartfelt Thank You

This release wouldn’t have been possible without our incredible community. Special thanks to our new and existing contributors:

And a massive shoutout to the implementation teams at MSF and METS, whose real-world challenges and relentless testing pushed us to create a more robust solution. Your commitment to uncovering and helping us resolve complex bugs has been instrumental in making this release possible.


Resources

Cheers!

15 Likes

Fantastic work @samuel34 ! You forgot to include yourself in that list of people to thank :joy: Seriously, you have worked so hard to realize these tremendous improvements to the Form Engine, and we celebrate you for that :clap: :trophy:

It’s also awesome how many other people are now involved - we don’t want you to be stuck being “The RFE Guy” for the next few years :joy: So indeed, a huge thank you to all those who are helping and investing in the Form Engine! :pray: :heart_eyes:

This is truly a mission-critical piece of our EMR - thank you everyone!

3 Likes