OpenMRS team is currently working with the Google Cloud Platform team on an Analytical platform that provides a set of tools for transforming OpenMRS data into FHIR based data warehouse.

The platform supports both Streaming and Batch mode, focusing more on the Batch (Bulk Upload) in this blog post. Batch mode reads the whole OpenMRS MYSQL database, transforms it into FHIR resources, and uploads it to the Google Cloud Platform's target data warehouse.

Setting up the platform for Batch mode.

Currently, the repository for the FHIR analytics platform is in Google Cloud Platform Github itself. You can find it here.


Got selected to participate in GSoC back and with the same community OpenMRS. It’s a great community with a lot of new work going on.

About the project

Primary Mentor: Ian Bachler.

Mentors: Jude Niroshan.

Student: Ayeshmantha Perera.

Project Link:

https://summerofcode.withgoogle.com/projects/#6540918858973184.

The main idea of the project is to develop a framework that can capture System metrics as well as data metrics in a real-time way with the ability to expose to monitoring tools such as Graphite, Grapahana, Prometheus.

Currently, the workflow is to get the use of the ActiveMQ based event module which captures Hibernate interceptor based events. (Which…


It’s the final week of the coding phase.Nothing much to add in the mean time working on below areas before the final evaluation starts.

  1. Adding a small UI to showcase system and server metrics.
  2. Working on the final presentation.

That’s it for the week will be publishing another blog in this week with all work done and what’s next on the project.Till then cheers.


It’s been 11 weeks now since the start of the coding period now.Code related work for the project has been done.It’s a great pleasure to see the community interests towards the project.The community is awesome as always they are very helpful for each other members.

After going through the second phase of GSoC my main goal is to finalizing the work on the project.

What is OpenMRS & Where is it?

OpenMRS is a software platform and a reference application that enables the design of a customized medical records system with no programming knowledge (although medical and systems analysis knowledge…


It’s been 10 weeks now since the start of the coding period now. Most of the code related work for the project has been done. There are some bugs to be fixed before moving forward. It’s a great pleasure to see the community's interests in the project. The community is awesome as always they are very helpful for each other members.

After going through the second phase of GSoC my main goal is to do the documentation for the project. Up to now have not started working on the documentation since am finalizing the code yet.

Below is a summary…


It’s a great pleasure for me to get through the second phase of the project and passing the 2nd milestone. Most of the work related to the project is almost done. In the last week, I worked on tickets related to the module and got them merged. I finally got the chance to expose the metrics through a servlet that extends the default jmxservlet class of dropwizards.

Normally it is easy to expose the servlet with dropwizard with their default servlet class it has everything inbuilt. We need to configure a listener that listens to the module startup to register…


The global OpenMRS community works together to build the world’s leading open-source enterprise electronic medical record system platform.

During the 8 weeks of the coding period, I got the opportunity to involve with the community on working toward the main goal to improve health care delivery in resource-constrained environments by coordinating a global community that creates a robust, scalable, user-driven, open-source medical record system platform.

As usually had the sprint call with my mentors last week and defined the work to be done during the week.

For the metrics module, we thought of creating a Jira board and maintain project-related…


The global OpenMRS community works together to build the world’s leading open-source enterprise electronic medical record system platform.

During the 7 weeks of the coding period, I got the opportunity to involve with the community on working toward the main goal to improve health care delivery in resource-constrained environments by coordinating a global community that creates a robust, scalable, user-driven, open-source medical record system platform.

As usually had the sprint call with my mentors last week and defined the work to be done during the week.

This week mainly worked on the efficiency of the app and resolving small issues…


It’s been 6 weeks since the start of the GSoC coding period. After fixing the issue on the activator have some issues related to beans in Spring. Currently fixed it and now the modules API is working fine with the expected workflow.

I would like to thank @dkaiwa who helped out on fixing the issue last week.

Currently, the module is capable of capturing events fired by events module and building the related resources object and saving in the database for further reference. Also, it has the capability to filter out objects from the events module as well. …


It’s the successful 5th week in the GSoC 20. Faced the 1st evaluation by google and successfully went through it on yesterday.And now it’s time to get going with the 2nd phase of the project.

Last week worked on exposing the data metrics that we agreed upon for the project.

1 Expose encounters grouped by type

2 No of newly registered patients.

Also worked on the basic JMX workflow.

Separated out JMX report builder and it’s the workflow to separate classes. As well as introduced the service layer which is exposing them metrics to the mood layer as well. Finally got merged the PR by Ian.

Ayeshmantha Perera

#apache #opensource #openmrs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store