Pulling Data From OpenMRS via OpenHIM

Hello all ,
We are working on a project ,where we want to Get data from openMRS ,via OpenHIM finaly to XNAT.
If am not mistaken , fetching data from OpenMRS to OpenHIM can either be done by an OpenHIM mediator , an OpenMRS module , or probably a completely independent APP.

I would like to know if theres some work around this that we could build on top , or any existing recommended design in place ,
Thanks,
Moses.
cc @daniel.futerman @slubwama

1 Like

Hi @mozzy, thanks for getting in touch, I’d be happy to discuss these options further, and outline existing work on the OpenHIM that may provide a starting point for this. It would be good to understand the type of info/data that you’re looking to share, particularly if this includes DICOM imaging. The other key point is to understand if there are any existing interfaces for getting this data out of OpenMRS (e.g. via an API). We have an Interoperability Layer community call next week (Tue. 18th at 4pm GMT+2), if you’re available we could add this to the agenda, otherwise will continue the discussion here.

1 Like

@daniel.futerman , exactly , primariry we are looking at DICOM imaging.

And as regards OpenMRs , i would think it can be fetched as complex obs via an API , or better as attachments

sure , ill try to be available. But we can still continue the discussions here.

@mozzy we have done something here in Uganda for the viral load use case. In this case the OpenMRS intense UgandaEMR are distributed across and do not have a public IP. which means they are the ones to do the pulling and pushing. In your case you may need to have an approach on how you push data from the intense of OpenMRS to OpenHIM.
Remember that OpenHIM is just a mediator which allows data to go through. Thou It is possible to create a mediator with a schedule to it to poll and pull data from one source.

2 Likes

@mozzy A few follow ups here:

  • The OpenMRS FHIR Squad has been looking at developing FHIR-based API’s for getting data in/out of OpenMRS using FHIR. As I understand, the initial focus is on a lab system use case, but it might be worth checking in to see if anyone’s considered imaging.
  • The v5.3.0 release of the OpenHIM includes some changes to better support processing of larger payloads, which may be relevant if you’re looking to send DICOM images and binary data.
  • Jembi has been working on the OpenHIM mapping mediator as a starting point for development of custom data exchange use cases. One of the sample use cases that’s included as reference is Bahmni/OpenMRS to FHIR patient resource mapping, which leverages the OpenMRS API to get data out of OpenMRS. This may be relevant here as a base to start from.
  • As @slubwama mentioned, you could also create a polling mediator that periodically checks for (or pulls) new data from a data source.
1 Like

Thanks @daniel.futerman and @slubwama , i shall take a look at all the above options and see what would be more apropriate for our use case. ill let you know on our conclusion.

1 Like