Trying to check PACS integration in Bahmni 0.90. But pacs syncing failing with following errors:
Failed processing event in feed [http://localhost:8050/openmrs/ws/atomfeed/encounter/2]
Failed send order to modalityjava.lang.RuntimeException: Failed send order to modality
at org.bahmni.module.pacsintegration.atomfeed.worker.EncounterFeedWorker.process(EncounterFeedWorker.java:42)
at org.ict4h.atomfeed.client.service.AtomFeedClient$EventProcessor.doInTransaction(AtomFeedClient.java:168)
at org.ict4h.atomfeed.transaction.AFTransactionWorkWithoutResult.execute(AFTransactionWorkWithoutResult.java:6)
at org.bahmni.module.pacsintegration.atomfeed.client.AtomFeedHibernateTransactionManager$1.doInTransaction(AtomFeedHibernateTransactionManager.java:54)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.bahmni.module.pacsintegration.atomfeed.client.AtomFeedHibernateTransactionManager.executeWithTransaction(AtomFeedHibernateTransactionManager.java:51)
at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(AtomFeedClient.java:68)
at org.bahmni.module.pacsintegration.atomfeed.jobs.EncounterFeedJob.process(EncounterFeedJob.java:38)
at org.bahmni.module.pacsintegration.atomfeed.ScheduledTasks$1.run(ScheduledTasks.java:79)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.bahmni.module.pacsintegration.exception.ModalityException: Unable to send the message to the modality
Modality{id=1, name='DCM4CHEE', description='DCM4CHEE PACS', ip='192.168.33.10', port=2575, timeout=3000}
MSH|^~\&||||BahmniEMRBahmniEMR|||ACK|1|P|2.5
MSA|AR|1527692053468307|Missing required PID-5: Patient Name
at org.bahmni.module.pacsintegration.services.ModalityService.processAcknowledgement(ModalityService.java:68)
at org.bahmni.module.pacsintegration.services.ModalityService.sendMessage(ModalityService.java:40)
at org.bahmni.module.pacsintegration.services.PacsIntegrationService.processEncounter(PacsIntegrationService.java:57)
at org.bahmni.module.pacsintegration.atomfeed.worker.EncounterFeedWorker.process(EncounterFeedWorker.java:37)
... 17 more