Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 3.25 KB

README.md

File metadata and controls

38 lines (23 loc) · 3.25 KB

OpenMRS on Azure

This repository contains automation to deploy OpenMRS, (Open Medical Records System) on Azure. Great work being done on this project on the OpenMRS Repo.

All-in-one:

OpenMRS+MySQL Containers with Docker Compose on an Azure IaaS Virtual Machine

Deploy To Azure Visualize

This template allows you to deploy an Ubuntu Server 18.04-LTS VM with Docker and starts an OpenMRS container listening on port 8080 which uses MySQL database running in a separate but linked Docker container, which are created using Docker Compose. The shell script validates service functionality before finishing; the deployment typically takes about 10 minutes. The docker-compose file is using the demo docker image tag, it is recommended to change this to latest if you are deploying into anything besides a lab or demo environment.

This deployment will listen on HTTP/8080 by default and has a public IP resources associated with it, if this is for an internal deployment please dissociate the public IP address from the VM.

When the deployment is complete you can access the system by going to http://PublicIPAddress:8080/openmrs or http://AzureDNSname:8080/openmrs. The tomcat configuration in the official openmrs container (currently) points to the root webapp and needs the /openmrs path appended.

The default credentials for this deployment are in the docker-compose.yml file and by default the login for OpenMRS is admin/Admin123.

Access FHIR Endpoints

OpenMRS supports FHIR Here are steps to quickly access FHIR data in newly created OpenMRS instance

  1. Login with admin/Admin123 to the Registration Desk
  2. Add a sample patient (THIS IS REQUIRED, NONE of the fhir endpoints worked for me without it)
  3. Metadata endpoint http://:8080/openmrs/ws/fhir2/R4/metadata
  4. Patient endpoint: Bundle: http://:8080/openmrs/ws/fhir2/R4/Patient/

Contributing:

PRs and issues welcome!