web stats
trying to add \n at the end of each message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 11-17-2014, 08:57 AM
johnjohn johnjohn is offline
OBX.1 Kenobi
Join Date: Aug 2014
Posts: 31
johnjohn is on a distinguished road
Default trying to add \n at the end of each message

I have a ZFT segment which is the last segment for each message:
How do I add a new line, \n, at the end of ZFT? (we only have carriage return right now)

I am using mirth

Reply With Quote
Old 11-17-2014, 09:16 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

You can set the outbound segment delimiter to "\r\n", and that will add an LF after each segment in the message. Note that what you're asking is invalid as per the HL7 specs. You can also just add an LF in the destination template. Just put an LF in a channel map variable, and include it at the end of the template.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation