Primary mentor | |
Backup mentor | |
Assigned to | Kumuditha Karunarathna |
Ampath form builder provides an interactive interface that allows OpenMRS to build schemas effortlessly. Users can create schemas using their interactive form builder or by writing JSON in the Schema editor.
The current form builder is an angular based module. This form builder makes creating/editing forms more effortless. But the user interface of the form builder has various unexpected bugs and user experience issues.
This project is based on creating the Form Builder UI for OpenMRS as a micro front-end using React JS and micro front-end technologies.
React
JavaScript
Typescript
Medium
175 hours
Here, users can view all currently available forms, and the users can either update an existing form or create a new one.
The form editor contains 3 sub components.
The Scheme Editor displays the JSON version of a form. This component consists of a editor. Using this scheme editor users can create or edit schemas and render them.
The interactive builder enables users to easily design forms. With the click of a mouse, users may create pages, sections, and questions. In the meantime, when creating a form, both the JSON schema and the displayed form are modified.
The form viewer displays the a functional preview of the current form. Currently we are using OHRI form engine to generate the form.
Users can modify the schema of a current form here, while also having the option to update the form's details such as name, version, encounter type, and description.
Users can save the newly formed schema to a new form here.
The form editor provides the option to publish or unpublish a form.
http://youtube.com/watch?v=Ptg6f5-JpMM
https://talk.openmrs.org/t/ampath-form-builder/14317
https://talk.openmrs.org/t/gsoc-2022-next-generation-form-builder-ui-for-the-openmrs-community-discussion/36817/10
Jira Epic
Github Repository: https://github.com/openmrs/openmrs-esm-form-builder
Proposal: https://docs.google.com/document/d/1KlgrVpvqNLdpfT1g-_D5R6W3Kvkx_ld6ZUd6QiNagX0/edit?usp=sharing