XForms Module


Contents

Overview

This module is still under development. When finished, it will serve as one of the alternatives to Microsoft InfoPath for data entry. The module converts an OpenMRS form to an XForm. When data entry is done using a browser, this XForm is XSL transformed into an XHTML document which any XForms compliant browser will display. Mozilla Firefox has an XForms plugin which can be downloaded separately from https://addons.mozilla.org/en-US/firefox/addon/824. Microsoft Internet Explorer also has an XForms extension at http://sourceforge.net/project/showfiles.php?group_id=152820

This module also consumes and serves OpenMRS forms as XForms from and to applications that use the XForms standard. An example of such applications is the XForms Mobile Data Collection tool for OpenMRS. The communication between the mobile device and this module can take places via HTTP,Bluetooth or SMS. The Bluetooth and SMS communication is implemented by the OpenMRS Bluetooth and SMS tasks respectively. Applications that work in offline mode will normally start by downloading a set of patients to collect data for. So these patient sets are supplied by this module. To ensure that only authorized users will access these applications, the module also serves the users to be downloaded and used for such purposes.

What This Module Does Do

  • Allows data entry to be done directly from an XForms compliant browser.
  • Serves OpenMRS forms as XForms to external applications.
  • Serves users and patient sets to external applications.
  • Accepts forms submitted from external XForms applications.

What This Module Does Not Do

  • The current version does not let you design to customize the XForm.
  • Empty content for non-text fields is not considered valid and hence will not be submitted.

Resources

Developers