Test results do not sync back to OpenMRS

Bahmni version - 0.91 Orders placed from Bahmni are seen in OpenELIS but Test results entered in OpenELIS do not sync back to OpenMRS

No errors shown on AtomFeed Console->OpenMRS

markers table in OpenMRS is empty.

/opt/bahmni-lab/log/bahmni-lab.log -

2019-04-30 21:37:30,060 ERROR [ELIS][OpenMRSLabFeedReaderJob] org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: java.lang.RuntimeException: Unexpected response status 500
org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: java.lang.RuntimeException: Unexpected response status 500
    at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:83)
    at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.processEvents(OpenELISFeedReaderJob.java:73)
    at org.bahmni.feed.openelis.feed.job.OpenELISFeedReaderJob.execute(OpenELISFeedReaderJob.java:57)
  1. Which code base syncs OpenELIS test results back to OpenMRS?
  2. Which Atomfeed.properties do I need to check for connection from OpenELIS to OpenMRS?

Hi @sameergije ,

Try to stop all the related services:

  • sudo service atomfeed-console stop
  • sudo service atomfeed-console restart
  • sudo service bahmni-lab stop

Then log in openelis database and delete data in below 3 tables:

psql -Uclinlims clinlims

  • delete from failed_events;
  • delete from failed_event_retry_log;
  • delete from markers;

Then log into openmrs database and delete data in below 3 tables

mysql -uroot -p

  • delete from failed_events;
  • delete from failed_event_retry_log;
  • delete from markers;

Then restart all the service stoped below:

  • sudo service bahmni-lab restart
  • sudo service openmrs stop
  • sudo service openmrs restart

Hope it will help!

whats the default password mysql -uroot -p

Have tried password but not working

Hi @stephencoduor,

Did you check if you didn’t change the password before, or cross-check on the password you are typing. because this password is a default password for openmrs mysql database.

Cheers!

Got it working in version 0.92-93 mysql password is P@ssw0rd