OMRS MPI Client Module for OpenCR

Hello, We are trying to setup OpenCR to run behind OpenHIM and allow for the flow of data from OpenMRS to OpenCR through OpenHIM. We are using OMRS MPI Client Module. We are however running into issues around the pix and pdq endpoints. Any help on how to configure the required setting to allow for sending of payload to OpenHIM or leads to the developer/user/implementer of the OMRS MPI Client Module is much appreciated.

Regards,

Kelvin Murumba

cc @dkayiwa

@ccwhite23

We fixed the handshake exceptions but are currently facing the following errors that we have been looking into with @Ken Omondi - this is because the endpoint url has a port and the colon is causing an error ERROR - FhirMpiClientServiceImpl.exportPatient(373) |2020-08-12 12:07:45,179| ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing POST to URL 18.158.139.243/Patient?_format=json - org.apache.http.client.ClientProtocolExceptionERROR - PatientUpdateWorker.run(101) |2020-08-12 12:07:45,188| org.openmrs.module.santedb.mpiclient.exception.MpiClientException: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing POST to URL 18.158.139.243/Patient?_format=json - org.apache.http.client.ClientProtocolException

any suggestions?