...
Working OpenMRS installation with XForms Module installed
- http://archive.openmrs.org/wiki/Step-by-Step_Installation_for_ImplementersInstall OpenMRS
- https://modules.openmrs.org/modules/view.jsp?module=xformsInstall the XForms Module
- Configure xform module
- Login to your OpenMRS installation and select "Administration" from the menu bar
- Select Manage Global Properties from the Maintenance section.
- Scroll down to xforms.showModelXmlTab and type "true" in place of the "false".
- Locate xforms.showXformsSourceTab and type "true" in place of the "false".
...
- Download a list of patients based on an existing OpenMRS cohort.
- Be able to select a patient on the mobile and fill out a downloaded form.
- Be able to download an existing form, or load a form from memory.
- Submit back to the xforms module and have it appear in OpenMRS as if you entered it using infopath.
http://archive.openmrs.org/wiki/Image:Mobilemrs-uc3.png
Creating new OpenMRS Patients
- Load JR
- Create a new patient registration
- Submit Registration to Server
http://archive.openmrs.org/wiki/Image:Mobilemrs-uc2.png
Installing the mobile application
...
- Enter the base url for the OpenMRS server.
- All other URLs are generated off this base URL. If this URL is incorrect, none of the form download, patient download, cohort download, patient creation, user authentication, or form submission features will work.
http://archive.openmrs.org/wiki/Image:OJRProperties.jpg
Login
- Enter the username and password.
- If the user has not logged in using the phone before, authenticate the user by contacting the server and saving the user profile.
- otherwise simply verify the password using the local user profile.
http://archive.openmrs.org/wiki/Image:OJRLogin.jpg
Cohorts
Shows a list of cohorts. Selecting a cohort causes the list of patients to be downloaded. Once the patients are downloaded, proceed to Patient List screen.
http://archive.openmrs.org/wiki/Image:OJRCohorts.jpg
Patient Select
This is the central screen of the app. It shows a list of patients. If there are no patients, load the Cohorts screen and download a list of available cohorts from the server. From this screen, it is possible to download more patients (via the cohort screen), view and download forms, create new OpenMRS patients, or view any unsent forms. Selecting a patient moves focus to the Patient Details screen, and then to the Form List screen.
http://archive.openmrs.org/wiki/Image:OJRPatientselect.jpg
Patient Details
...
http://archive.openmrs.org/wiki/Image:OJRPatientdetail.jpg
Downloading Forms
Show a list of forms already on the phone, and presents the option to download more forms or update the existing forms with newer versions of the forms. Newly downloaded forms overwrite existing forms with the same name. Selecting a form opens the form for filling.
http://archive.openmrs.org/wiki/Image:OJRChooseForm.jpg
Filling a Form
...
http://archive.openmrs.org/wiki/Image:OJRFormfilling.jpg
Saving A Form For Later Sending
...
http://archive.openmrs.org/wiki/Image:OJRSavingforms.jpghttp://archive.openmrs.org/wiki/Image:OJRSendingForms.jpg
Viewing Unsent Forms
...
http://archive.openmrs.org/wiki/Image:OJRUnsentForms.jpg
Creating A New Patient
It is possible to create OpenMRS patients. When this feature is selected, a form loads and the user is prompted to fill data for the minimum fields that OpenMRS requires for a patient creation. Once the form is filled out, and the form submitted, the newly created patient should be visible in the patient list in OpenMRS. Note that for the phone to download the new patient, there has to be a cohort that includes this patient, and the user needs to re-download that cohort.
http://archive.openmrs.org/wiki/Image:OJRNewPatient.jpg
Creating A Compatible XForm
...
http://archive.openmrs.org/wiki/Image:SchemaDesign.png
- Then Save the form.
- Click on "Design XForm"
http://archive.openmrs.org/wiki/Image:XForms_Designer.png
- Then go to File and click Save (this must be done to ensure the XFORM is created from the form).
- Once saved, your XForm should be downloaded on the "Download Forms" option in the Form List on the device.