Versions Compared

Key

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

...

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

Image Modified

Creating new OpenMRS Patients

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

Image Modified

Installing the mobile application

...

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

This screen shows the patients= basic demographic 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

This screen navigates the user through each question in the form prompting the user for answers. The user can move forwards or backwards through questions, or exit the form.http://archive.openmrs.org/wiki/Image:OJRFormfilling.jpg

Saving A Form For Later Sending

When the compulsory questions in a form are filled out, the form becomes able to be saved. Saved forms can be sent at a later stage either individually or as a group of forms.

http://archive.openmrs.org/wiki/Image:OJRSavingforms.jpg

Viewing Unsent Forms

When the compulsory questions in a form are filled out, the form becomes able to be saved. Saved forms can be sent at a later stage either individually or as a group of 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

...

  • Duplicate the Basic Form
  • Scroll down to "Schema design" and delete all extra fields so that it looks like this:

...

  • :

...

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

...

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