static string FormatToJSON(HL7MessageRoot hL7MessageRoot)
 {
     var hL7JSONFormatter = new HL7MessageFormatter(hL7MessageRoot);
     return hL7JSONFormatter.Format(new HL7JsonFormatter());
 }
 static string FormatToXML(HL7MessageRoot hL7MessageRoot)
 {
     var hL7MessageFormatter = new HL7MessageFormatter(hL7MessageRoot);
     return hL7MessageFormatter.Format(new HL7XMLFormatter());
 }