Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Abstract

Currently, in order to extend the functionality of OpenMRS, you have to create an OpenMRS Module. This requires a fair amount of Java, Spring, Hibernate, JSP knowledge as well as knowledge of the OpenMRS Java API design. Furthermore, modules are often tied to particular OpenMRS version and are sometimes dependent on specific versions of other modules. All of these facts increase the barrier to extending the functionality of OpenMRS. With the OpenMRS REST APIbecoming more mature, it makes sense to be able to allow developers with just HTML and JavaScript knowledge to extend the functionality of OpenMRS. The goal of this project is to enable the use Open Web Apps (OWA) with OpenMRS (as has been done for DHIS2). OWA is a packed HTML/CSS/JavaScript into a zip package with a manifest.webapp file (a json), describing the OWA. The module allows packaging of the OpenMRS reference application components as an OWA that can be used by other OWA or modules.

Objectives

  1. It should be possible to upload an Open Web App to OpenMRS via the UI and the App should function as expected (expand the owa module).
  2. Build the core OpenMRS reference app element into components (suggestion to use Google Polymer)
  3. Use those components to build pages as OWA's and downloadable as a zip
  4. Allow OWA to be pushed, downloaded, uploaded to/from Modulus.

Goal of the project

The goal of this project is to enable the use Open Web Apps with OpenMRS .The module allows packaging of the OpenMRS reference application components as an OWA that can be used by other Open Web Apps or modules.

Requirements

OpenMRS Version : Any platform version of OpenMRS

Operating Systems : Any Operating Systems .

Browsers :  Mozilla FireFox.   

Install Guide

Execute the following commands from the git bash terminal

  1. git clone https://github.com/sunbiz/openmrs-module-owa
  2. cd openmrs-module-owa
  3. mvn clean install

Now a OMOD file is available at “{module folder}/omod/target”.You can add that to OpenMRS by clicking on the manage modules section.Also include the web services rest module as we intend to pull the information and interact with openmrs with rest calls.

User Guide

OWA-Commons

OWA-Commons is a Open Web app written to show how to write open web apps.

  1. git clone https://github.com/sunbiz/openmrs-module-owa
  2. cd openmrs-module-owa
  3. mvn clean install

Introduction to Web components and technologies used.

Introduction to OWA-Commans web app

How to write your own Open Web Apps

 

 


 

 

  • No labels