This post is intended to share how we have implemented HL7 v.2.x in XML format in several Ensemble projects.
We have added to our local InterSystems Iberia GitHub repository a package which uses an approach that takes advantage of EnsLib.HL7.Message class.
More information here: