Details
-
Type: Sub-task
-
Status: Ready for Work
-
Priority: Major
-
Resolution: Unresolved
-
Labels:
Description
Mandatory fields for a mUzima registration form are as follows. Note that the form will not be saved successfully if these fields are missing.
- Names (Family name, Given name, Middle name)
- Gender
- Date of birth
- Medical record number (this depends on whether the medical record number autogeneration is enabled or not. If autogeneration is disabled, this field becomes mandatory)
- Encounter details (Provider ID, Encounter location, Form uuid)
Additional features that can be included in a registration form are:
- Person addresses
- Person attributes
- Other medical record numbers.
This ticket requires the creation of a sample basic registration form template with just the minimum required fields.
A sample registration form with all allowed input fields shall be created under MFB-3.
Update
The form developed should be usable on the OpenMRS instance available at https://demo1.muzima.org (username admin and password test).
See the following resources for more information:
https://wiki.muzima.org/display/muzima/Reusable+Javascript+Functions
https://github.com/muzima/muzima-android/blob/master/app/src/main/assets/www/forms/js/muzima.js
Sample forms
https://github.com/muzima/muzima-form