NextGen (Mirth) Connect 3.11.0 Released!

NextGen (Mirth) Connect 3.11.0 is now available as an appliance update and on our GitHub page. This release contains improvements to licensing and the NCPDP data type. It also includes various security fixes, general bug fixes, and improvements to commercial extensions. See the release notes for the complete list of fixes and improvements.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

HL7 saving to file in one line

  • Filter
  • Time
  • Show
Clear All
new posts

  • HL7 saving to file in one line

    I have Mirth Appliance 3.11 and have a simple channel that reads an HL7 message from TCP and a destination to write to a file. The problem is that it puts the whole message in one line.
    I had read about clicking enter after ${message.encodedData} in the template, but it didn't work.

  • #2
    Found the problem.
    In the Data Type, I added \n in the Segment Delimiter for that destination.



    • #3
      The default \r should do it too. If clicking Restore Defaults for both inbound and outbound data types doesn't generate standard HL7 output, then I'd look for something amiss w/the source data or the transformations. You should also be able to set the destination template to Raw Data and get the desired output provided source format is standard. Hope this helps!
      Last edited by jkrebs; 05-01-2021, 07:51 AM.