-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle templated contact/place forms #4
Comments
Implementation
@abbyad does this look suitable? If you want a way to share template xlsx between projects, this could easily be added. E.g. by changing the JSON file like so:
|
Released in version |
Overall this works great, and is a nice improvement over having to do this step manually! Reopening since these don't seem to be done:
|
alxndrsn
pushed a commit
to medic/cht-core
that referenced
this issue
Jun 27, 2018
Related to the following issues: medic/cht-conf#4 medic/cht-conf#21 medic/cht-conf#22
alxndrsn
pushed a commit
to medic/cht-core
that referenced
this issue
Jun 28, 2018
Related to the following issues: medic/cht-conf#4 medic/cht-conf#21 medic/cht-conf#22
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The forms
PLACE_TYPE-create.xlsx
,PLACE_TYPE-edit.xlsx
need to be converted to:clinic-create.xml
clinic-edit.xml
district_hospital-create.xml
district_hospital-edit.xml
health_center-create.xml
health_center-edit.xml
The only difference between them is that
PLACE_TYPE
andPLACE_NAME
are replaced differently.The XForm also has some custom edits to work as a place form and create the contact properly:
pyxform
doesn't respect spacing after reference at the beginning of label cht-core#3324The forms at https://github.com/medic/medic-projects/tree/master/standard/forms are fully generated by this convention, so tests could be created based around the xlsx and forms in that project.
The text was updated successfully, but these errors were encountered: