We want to update the community that Mekom & ICRC are working together to address the first piece of HTML Form Entry support in 3.x.
Let’s use this thread to confirm/discuss who is doing what.
Part 1: MVP workflow to open HFE form in 3.x
This is what ICRC/Mekom are currently working on. Special kudos to @icrc.psousa, the ICRC developer making this happen.
- Workflow: This first MVP support for HFE will be limited: users will be able to see all HFE forms listed in the Form Entry widget (example below). Clicking a form will then render that form using the Ref App 2.x page, basically navigating away from the SPA to display the form in its old style.
- Reason for small scope: ICRC & Mekom’s plan is to eventually migrate all forms to AMPATH forms.
- Detailed Jira issue: [O3-1041] Refactor patient-forms-app to use a configurable list of HFE forms - OpenMRS Issues.
@mksrom @mksd @delphinep @icrc.psousa anything to add or correct here? Does this all match your understanding?
@ddesimone has voiced on Slack that PIH would like to make themselves available to help test, code review etc. (So, since we have 2+ orgs contributing to this, I’ve added this initiative to the community Product Roadmap).
Part 2: iframe? (No one working on this…yet)
No one I know of is expecting native support for rendering HFE forms in OpenMRS 3. However, many folks are interested in having an HFE render within a frame within 3.0, even if it’s in it’s old style (and ugly).
I have not yet found an implementer that has prioritized this so I was (optimistically) going to try and get this done through a GSOC 2022 project, described here.
Background/Context of HFE in 3.x
- The main need/user story is: “As an implementation who has many, many forms created with HTML Form Entry, we want to use 3.x while still being able to use our old HFE forms, so that we don’t have to go through a very expensive and painful process of changing all our HFE forms over to match the new 3.x form schema.”
- While we want to switch gradually away from HFE in favor of an easier to use next generation form tool, HFE is still the major tool used by existing implementers, so 3.x not supporting HFE is a major adoption blocker. Basic support for HFE forms in 3.x would be a phenomenal value-add to all implementers using HFE and wanting to try out 3.x.
CC @mogoodrich @mseaton @ball @bistenes @aojwang @eudson @ssmusoke @mksrom