Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Working OpenMRS installation with XForms Module installed

...

  • 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

  • Image Added

Creating new OpenMRS Patients

  • Load JR
  • Create a new patient registration
  • Submit Registration to Server

http://archive.openmrs.org/wiki/Image:Mobilemrs-uc2.png

  • Image Added

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.jpgImage Added

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.jpgImage Added

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
Image Added

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
Image Added

Patient Details

...

http://archive.openmrs.org/wiki/Image:OJRPatientdetail.jpg
Image Added

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
Image Added

Filling a Form

...

http://archive.openmrs.org/wiki/Image:OJRFormfilling.jpg
Image Added

Saving A Form For Later Sending

...

http://archive.openmrs.org/wiki/Image:OJRSavingforms.jpghttp://archive.openmrs.org/wiki/Image:OJRSendingForms.jpg
Image Added

Viewing Unsent Forms

...

http://archive.openmrs.org/wiki/Image:OJRUnsentForms.jpg
Image Added

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
Image Added

Creating A Compatible XForm

...

http://archive.openmrs.org/wiki/Image:SchemaDesign.png
Image Added

  • Then Save the form.
  • Click on "Design XForm"

http://archive.openmrs.org/wiki/Image:XForms_Designer.png
Image Added

  • 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.