While setting up OpenMRS-CHT-OpenHIM locally, I encountered an issue with syncing data between them. I did not see any data exchange happening. I will share the response I received.
i setup openmrs from GitHub - openmrs/openmrs-distro-referenceapplication: The reference distribution of the OpenMRS EMR application (v3)
and cht interop from cht interop github and set the same network openmrs_network
1 Like
From the screenshot you shared, it looks like the polling request to /trigger is getting an 40X error. (OpenHIM reports 40X responses with status ‘Completed’)
This could mean that the channels aren’t all set up or a problem with the credentials.
Can you make sure that you are running cht interop from the openmrs-mediator branch and that the mediator channels are installed?
The channels tab should look like this:
If it doesn’t, go to mediators->CHT Mediator->and click the green plus under default channels to add the CHT mediator channel.
If that isn’t the issue, can you share the response status and body for the /trigger
request?
1 Like