# GSOC 2022: HTML Form Entry enabled in OpenMRS 3.x

**URL:** https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054
**Category:** GSoC
**Created:** [March 8, 2022, 8:11pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054 "2022-03-08T20:11:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kumuditha](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kumuditha/32/22497_2.png) [@kumuditha](https://talk.openmrs.org/u/kumuditha)
#### Post date: [March 8, 2022, 8:11pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/1 "2022-03-08T20:11:56Z")

</div>

Hello everyone,

While going through the GSoC 22 projects, I got interested in this project [Enable HTML Form Entry forms in OpenMRS 3](https://wiki.openmrs.org/display/RES/GSoC+2022%3A+Enable+HTML+Form+Entry+forms+in+OpenMRS+3)

To get familiar here are the steps that I took:

1. Setup OpenMRS 2. x SDK (To get familiarised on HTML form entry)

2. Went through

- [O3: Support for HTML Form Entry in 3.x](https://talk.openmrs.org/t/o3-support-for-html-form-entry-in-3-x/35797)

- [Collaborating on HTML Form Entry Using Git - Documentation - OpenMRS Wiki](https://wiki.openmrs.org/display/docs/Collaborating+on+HTML+Form+Entry+Using+Git)

In OpenMRS 2. x the modules is included using a .omod file.

But 3. x is developed using single-spa framework, In frontends like `openmrs-esm-patient-chart` which contains `esm-form-entry-app` is included in the packages directory. Is the html-form-entry module should be included in the same way?

Thank you.

cc: @grace @ibacher

---

<div class="post-metadata">

### Author: ![kumuditha](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kumuditha/32/22497_2.png) [@kumuditha](https://talk.openmrs.org/u/kumuditha)
#### Post date: [April 6, 2022, 7:26pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/2 "2022-04-06T19:26:20Z")

</div>

Hi everyone,

Here’s what I understood about this project recently, feel free to correct any misinformation. I’m currently working on creating a draft proposal. The purpose of creating this thread is to clarify the doubts.

1. During my study about this project, I understood that part 1 is been implemented.

> [@O3: Support for HTML Form Entry in 3.x](https://talk.openmrs.org/t/o3-support-for-html-form-entry-in-3-x/35797/8):
>
> @grace @kumuditha Part 1 ([O3-1041](https://issues.openmrs.org/browse/O3-1041)) is implemented - [This is the PR with the changes](https://github.com/openmrs/openmrs-esm-patient-chart/pull/542)
> 
> This change allows us to specify through configuration, on our distro, which HFE forms we want listed on O3 and opened by redirecting the user away from the SPA to the old style form.
> 
> The decision whether to open the form within O3 SPA or old style is made [here](https://github.com/openmrs/openmrs-esm-patient-chart/pull/542/files#diff-447a8abdbd325546d750336ef1dac1970ec308222800209acf7f6a6e26149801R47)

1. The GSoC project is related to part 2. The aim of the project is to render the HFE forms in Openmrs 3x using an iframe or in a separate tab.

2. I was unable to find any HFE forms in the 3. x Ref app currently. I went through the configurations provided in the implementor tools tab. As I understood the forms haven’t been added yet. Is this related to part 2 of the implementation?

> [@O3: Adding an HFE Form to the 3.x RefApp Demo](https://talk.openmrs.org/t/o3-adding-an-hfe-form-to-the-3-x-refapp-demo/36308/1):
>
> Thanks to the work by @icrc.psousa (described **[here](https://talk.openmrs.org/t/o3-support-for-html-form-entry-in-3-x/35797/8)** ), we now have a workaround way of showing HFE forms in the 3.x RefApp 🙌
> 
> I want to implement this in our 3.x Demo.
> 
> Does any org rep here have an HFE form they’d like to see tried out on the 3.x Demo? @ddesimone @ball @ssmusoke?

1. In the initial stage, the forms will be shown by redirecting the user to old-style forms. Is this currently implemented? How can I test it?

cc: @zacbutko @ibacher @bistenes

---

<div class="post-metadata">

### Author: ![grace](https://talk.openmrs.org/user_avatar/talk.openmrs.org/grace/32/16942_2.png) [@grace](https://talk.openmrs.org/u/grace)
#### Post date: [April 8, 2022, 6:14am UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/3 "2022-04-08T06:14:42Z")

</div>

> [@kumuditha](#):
>
> The GSoC project is related to part 2. The aim of the project is to render the HFE forms in Openmrs 3x using an iframe

**Correct.** This should also hopefully answer your question 4.

> or in a separate tab.

No, this was handled in Part 1 by ICRC already.

> [@kumuditha](#):
>
> I was unable to find any HFE forms in the 3. x Ref app currently. I went through the configurations provided in the implementor tools tab. As I understood the forms haven’t been added yet. Is this related to part 2 of the implementation?

Correct, no HFE forms have been added yet. But actually yes, that is a great idea to include in Part 2 😃 Especially because that would allow us to see how Part 1 is working already.

---

<div class="post-metadata">

### Author: ![kumuditha](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kumuditha/32/22497_2.png) [@kumuditha](https://talk.openmrs.org/u/kumuditha)
#### Post date: [April 9, 2022, 4:55pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/4 "2022-04-09T16:55:25Z")

</div>

Thank you for clearing out the doubts 🙂 . Is there a way to submit a draft proposal?

---

<div class="post-metadata">

### Author: ![kumuditha](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kumuditha/32/22497_2.png) [@kumuditha](https://talk.openmrs.org/u/kumuditha)
#### Post date: [April 13, 2022, 9:06pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/5 "2022-04-13T21:06:38Z")

</div>

Hello everyone,

Here is a drafted proposal for this project, mentors feel free to request access to the following document.

> **[Google Docs - create and edit documents online, for free.](https://accounts.google.com/ServiceLogin?service=wise&passive=1209600&continue=https:%2F%2Fdocs.google.com%2Fdocument%2Fd%2F14le7FUJpo3bB7y6puaVnnNKVRngr618qaWSqpDUwF0g%2Fedit?usp%3Dsharing&followup=https:%2F%2Fdocs.google.com%2Fdocument%2Fd%2F14le7FUJpo3bB7y6puaVnnNKVRngr618qaWSqpDUwF0g%2Fedit?usp%3Dsharing&ltmpl=docs)**
>
> Create a new document and edit with others at the same time -- from your computer, phone or tablet. Get stuff done with or without an internet connection. Use Docs to edit Word files. Free from Google.

I noticed that the project has been removed from wiki today, does this suggest that it is no longer part of GSoC?

CC: @herbert24 @grace

---

<div class="post-metadata">

### Author: ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)
#### Post date: [April 13, 2022, 9:10pm UTC](https://talk.openmrs.org/t/gsoc-2022-html-form-entry-enabled-in-openmrs-3-x/36054/6 "2022-04-13T21:10:25Z")

</div>

greetings @kumuditha we got some changes about the aviability of the mentors for this project,we kindly encourage you to apply for a different project before the closing date,i am happy to explain more on a call if you find it important.thanks
