I'm using the BTAHL72XSendPipeline from Microsoft HL7 accelerator library in my Biztalk send port to assembly and send out HL7 message.
It is working well but the actual HL7 message contains both the Line Feed & Carriage Return after each line. In another word I see \r\n after each segment termination, I don't have code to add these so I assume it is done by the BTAHL72XSendPipeline itself.
Our customer does not want the linefeed, is there a way to control this so that each line only has the carriage return instead of both? I don't see how I can do this on the pipeline configuration.
Researching around the web gives me more confusion than answer for example:
According to the HL7 Health Standard, the segment terminator should only contain a Carriage Return (ASCII 13 or HEX OD). According to that standard, this rule is not negotiable.
I also came across a PDF book "HL7 for Biztalk" written by Howard Edidin which states
So what now if my server is window based and the server which I send this to is Unix based, how can we resolve this line feed ?
By default, BizTalk send pipeline uses 'CR' (\r) as segment separator char. BizTalk send pipeline behavior can be changed for segment delimiter using following context property.
SegmentDelimiter2Char True Not Promoted http://HL7Schemas.HeaderPropertySchema
There are two scenarios