I am currently returning a CCD message which contains the XML content as MIME encoded Base 64 data. In the spec I was given, the client expects \X000D\\X000A\ in certain parts of the OBX-5 segment. In looking at the CDA spec at HL7.org, it appears that \X000D\\X000A\ is the proper way to represent a crlf in MIME encoded data. In looking at the source of the Escape class, I see where it is replacing \r with the \X000D\ escape. However, it does not do anything with the \n. If I try to add the \X000A\ as text, the Escape clause escapes the backslash as a \E\.
Is there any way to get the \X000A\ in there, other than hacking the string coming out of the parser? ----------------------------------------- CONFIDENTIALITY NOTICE This e-mail is intended for the sole use of the individual(s) to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. You are hereby notified that any dissemination, duplication, or distribution of this transmission by someone other than the intended addressee or its designated agent is strictly prohibited. If you receive this e-mail in error, please notify me immediately by replying to this e-mail. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Hl7api-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hl7api-devel

