I need to have an outbound thread write to a file where each segment of the message is separated by a carriage return. Can someone help me ?
Here is what I need the output to look like:
MSH|^~&|LLS|PL|PRX|PL001221|200404281701||ORU|51954.001|P|2.2
PID|1|NEW-1000|||IMAGIN||19101204|F||||||||||13894|520-42-5703
ORC|RE|M3587612-6^INF|50412373^LLS|||||||||1111^CLAY
OBR|1|M3587612-6^INF|5041237|007401^POINDTIN||20020528084000||
OBX|1|NM|2511^DILANTIN^L||4.0|MCG/ML|10.0-20.0|L||S|F||||DN
NTE|1|L|TOXIC > 30.0
Thank you.