-
In a channel's Source Transformer, I put an incoming HL7 2.4 message on the channel map, to be picked up by a response transformer later on:
Now I noticed that somehow the entire message got embedded in a
However, if I leave them, I get:
which somehow seems worse. Ultimately, what I need to do is route a HL7 2.4 message (stored on a channel map) from a channel's response transformer to another channel. What is the correct way to do this? I use Mirth Connect 4.4.2. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Firstly, you should probably stop doing If you need to store the original HL7 message, get its raw version, not msg. Or serialize back ER7 (i.e. the pipe "text" version) the xml version you are storing. But again, what are you really doing here in this channel? |
Beta Was this translation helpful? Give feedback.
That example channel shows some response transformer concepts you can utilize. You could of course just make the FHIR calls and in the final response transformer do everything, because the results of destinations are available downstream as you can see from the examples. That would mean make the first FHIR call (outbound template would be set to datatype JSON and left empty) and the second destination response transformer: