web stats
Mirth Community - View Single Post - Repeating IN1 Segments
View Single Post
Old 11-06-2018, 10:53 PM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,095
agermano is on a distinguished road

With HL7 in and out, depending on how similar your inbound and outbound messages are, it's usually easier to not use an outbound template at all, which will then allow you to modify msg directly rather than trying to recreate it in tmp.

If you still need to add them, try searching the Support sub-forum for adding OBX segments. That's a fairly common requirement, and the method will be the same. You ask more specific questions in that sub-forum as well if you can't find another example that matches close enough what you are trying to do and need additional help. Also try checking the User Guide for information on Iterator transformer steps, which are an alternative to doing the looping in Javascript.
Reply With Quote