I'm still strugling with the HL7 query model. When I have a HL7 client that wants to get an answer from Mirth I can
set on the Source of channel 1, being a LLP listner, to send Response from destination 1.
I can define destination 1 as a SOAP destination that will send back its answer to mirth.
The SOAP reponse should then be tranformed to HL7 and send back to the source (LLP listner)
I assume that the transformer on destination 1 is meant to build the SOAP envelope..( I do that to get a Patient ID in theSOAP request) and not to transform the SOAP-response to HL7.
The result of the SOAP can only be sent to another channel in the destionation configuration (Send response to
..
So how do I put this together to get a HL7 answer back to the listner.
Somewhere I get a fealing that Mirth is not designed to do that.
The way I configured it now the SOAP-response is send back to the HL7 listner without transformation. I cannot find a location to define the transformation for this last step.
I also ttried to keep the LLP listner connection open, send the SOAP response to another channel, transform it to HL7 and send it back to a LLP sender listning to the same port as the orininal HL7 message was received. from. It would have suprised me if that had functioned.
.
set on the Source of channel 1, being a LLP listner, to send Response from destination 1.
I can define destination 1 as a SOAP destination that will send back its answer to mirth.
The SOAP reponse should then be tranformed to HL7 and send back to the source (LLP listner)
I assume that the transformer on destination 1 is meant to build the SOAP envelope..( I do that to get a Patient ID in theSOAP request) and not to transform the SOAP-response to HL7.
The result of the SOAP can only be sent to another channel in the destionation configuration (Send response to

So how do I put this together to get a HL7 answer back to the listner.
Somewhere I get a fealing that Mirth is not designed to do that.
The way I configured it now the SOAP-response is send back to the HL7 listner without transformation. I cannot find a location to define the transformation for this last step.
I also ttried to keep the LLP listner connection open, send the SOAP response to another channel, transform it to HL7 and send it back to a LLP sender listning to the same port as the orininal HL7 message was received. from. It would have suprised me if that had functioned.

Comment