Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.4 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.4 KB

openmrs-module-episodes

Implementation of Episodes of Care for OpenMRS.

Description

This module demonstrates the use of Episodes of Care for OpenMRS. The intention is to merge this work to openmrs-core once found fit to be merged.

Building from Source

You will need to have Java 1.7+ installed. Use the command './mvnw package' to compile and package the module. The .omod file will be in the omod/target folder.

Alternatively you can add the snippet provided in the Creating Modules page to your omod/pom.xml and use the mvn command:

./mvnw package -P deploy-web -D deploy.path="../../openmrs-1.8.x/webapp/src/main/webapp"

It will allow you to deploy any changes to your web resources such as jsp or js files without re-installing the module. The deploy path says where OpenMRS is deployed.

Installation

  1. Build the module to produce the .omod file.
  2. Use the OpenMRS Administration > Manage Modules screen to upload and install the .omod file.

If uploads are not allowed from the web (changeable via a runtime property), you can drop the omod into the ~/.OpenMRS/modules folder. (Where ~/.OpenMRS is assumed to be the Application Data Directory that the running openmrs is currently using.) After putting the file in there simply restart OpenMRS/tomcat and the module will be loaded and started.