Parsing a HL7 message which contains LF characters in one field (OBX-5)
I have to write a DTL with the Data Transformation Builder to convert messages from HL7 ORU R01 v2.1 to HL7 ORU R01 v2.5. The incoming messages contain a text in OBX-5. This text contains LF characters (only LF - Segment separator is CR). Therefore it is not possible to parse the incoming message. While testing the transformation the OBX Segment ends at the first occurence of LF. Is there a way to replace the LF character before parsing?
example:
source:
OBX||FT|ltest1|| first line
second line
…
last line
||||||F|
target:
now: OBX||FT|ltest1|| first line
expected: OBX||FT|ltest1|| first line<br>secondline<br>….<br>lastline<br>||||||F|