Written by

Question Salma Sarwar · Jun 19, 2020

Best Practices when converting HL7 message to XML Stream

Hi

 

I was wondering whether there are any best practices or guidance around converting a HL7 message in to XML stream which will then be delivered to an end-point.  Any help would be much appreciated.

 

Kind Regards,

 

Salma

Comments

Suman Samanta · Jun 19, 2020

You can use EnsLib.ITK.HL7.FormatXMLv2 . It was primarily designed for HL7 ITK version. You can extend this class and modify as you need.Then simply convert that into stream that you need and transfer wherever you want.

Alternatively you can download the xsd from HL7 site then map from HL7 to XML schema. It would be pretty lengthy method .

0
Salma Sarwar  Jun 22, 2020 to Suman Samanta

Hi Suman,

Thank you for your reply, do you have any sample code for this?

Kind Regards,

Salma

0
Maria De La Nieves Amaya · Sep 26, 2024

It has been very useful to me, I would also have used an example, thank you very much for the question and the answer

0