Yes It works as you suggest
if can be useful, this is the code:
ED encapsuledData = new ED(mdm_message);
encapsuledData.getTypeOfData().setValue("multipart");
encapsuledData.getDataSubtype().setValue("x-hl7-cda-level-one");
encapsuledData.getEncoding().setValue("A");
// MIME message with a xml a
Thanks very much for the response
I was thinking to write the MIME information adding String in the OBX-5;
and then in particular I have to add some XML and a PDF document in this
object, so I can add as you suggest with StringOutputStream
Thanks Alessandro
James Agnew ha scritto:
> Hi Allesa
Hi Allesandro,
Have you had any luck with this yet?
I would imagine you could accomplish this by using a "StringOutputStream" to
capture the output of the MimeMultipart's writeTo method, and then use that
as the string to place in an encapsulated data object.
Here's an example of how to create a
3 matches
Mail list logo