This repository contains automation to deploy OpenMRS, (Open Medical Records System) on Azure. Great work being done on this project on the OpenMRS Repo.
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
.
OpenMRS supports FHIR Here are steps to quickly access FHIR data in newly created OpenMRS instance
- Login with admin/Admin123 to the Registration Desk
- Add a sample patient (THIS IS REQUIRED, NONE of the fhir endpoints worked for me without it)
- Metadata endpoint http://:8080/openmrs/ws/fhir2/R4/metadata
- Patient endpoint: Bundle: http://:8080/openmrs/ws/fhir2/R4/Patient/
PRs and issues welcome!