grace
(Grace Potma)
March 30, 2022, 9:16am
1
Thanks to the work by @icrc.psousa (described here ), 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 ?
ddesimone
(David DeSimone)
March 30, 2022, 1:51pm
2
Would like @ball 's opinion, but I think either of these might be good fits:
Haiti Socioeconomics Form:
<htmlform formName="Socioeconomics Note" class="simple-form-ui"
formUuid="de845312-11e1-11e8-b642-0ed5f89f718b"
formEncounterType="de844e58-11e1-11e8-b642-0ed5f89f718b"
formVersion="1.0">
<style type="text/css">
<ifMode mode="VIEW" include="false">
#data-collection {
display: inline-block;
width: 58%;
vertical-align: top;
}
form input[type="checkbox"], form input[type="radio"],
.form input[type="checkbox"], .form input[type="radio"] {
float: none;
display: inline-block;
}
This file has been truncated. show original
Haiti Mental Health:
<!--
~ The contents of this file are subject to the OpenMRS Public License
~ Version 1.0 (the "License"); you may not use this file except in
~ compliance with the License. You may obtain a copy of the License at
~ http//license.openmrs.org
~
~ Software distributed under the License is distributed on an "AS IS"
~ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
~ License for the specific language governing rights and limitations
~ under the License.
~
~ Copyright (C) OpenMRS, LLC. All Rights Reserved.
-->
<htmlform id="mh-assessment" class="simple-form-ui"
formUuid="a8584dd8-cc2a-11e5-9956-625662870761"
htmlformUuid="a8584f5e-cc2a-11e5-9956-625662870761"
formName="Mental Health Assessment"
formEncounterType="a8584ab8-cc2a-11e5-9956-625662870761" formVersion="1.0">
This file has been truncated. show original
Not sure exactly how easy it is to bring in the metadata for these forms.
But I think these are good representations of standalone HTML Forms that could also be useful for other orgs. (although the Socio form has some Haitian Kreyol embedded in it)
Dave
1 Like
ball
(Ellen Ball)
March 30, 2022, 1:59pm
3
Can we test in a PIH environment? We’d love to see this work
All PIH htmlforms use a blend of CIEL and non-CIEL concepts (using concept reference mappings). The socioeconomic form will not work without the PIH concept dictionary.
Ellen
1 Like
grace
(Grace Potma)
March 31, 2022, 8:21am
4
Thank you both!! OK what I will try to do this week when I get a chance, is to:
Remove any questions with non-CIEL concepts
Add the form(s) to the dev3 environment
Test it out Will post a video + screenshots when it’s up.
@bistenes might soon be worth pulling in the functionality (described here ) into the PIH 3.x environment when you have a chance, as well.