I see that openmrs-module-pacsintegration uses the hl7api to send message if I am not mistaken?
I am working on the openmrs-module-radiology which currently uses a dcm4chee library to send the HL7 messages to the PACS but I’d rather use a library which already comes with OpenMRS.
Yes, the pacsintegration module use the Java HAPI library (which is packaged with Openmrs core, I believe) to generate and parse HL7 messages.
However, HAPI is mainly just a parser, if I remember correctly. We don’t use HAPI to actually send the messages, we use an integration engine called Mirth to sent the messages. In our implementation the Mirth engine lives on the same server as our OpenMRS instance, and the interchange between OpenMRS and Mirth happens via some custom, relatively primitive code within the pacsintegration module.
thanks @mogoodrich, this does help a lot! know I get it, you create the HL7 messages and via the OutboundQueue save it into the OpenMRS database that Mirth is probably watching and sending the messages to the PACS. good to know this approach!
am I right that your module doesnt really know wheter the HL7 message was acknowledged or not?
So checks are then only done by the admin in mirebalais who is checking Mirth if there was any trouble with sending the radiology order?
this is the same which I am facing with using dcm4chee’s hl7snd library in the radiology module, which I would like to improve.