* messages from previous versions.
*/
// Create the MCF. We want all parsed messages to be for HL7 version 2.5,
// despite what MSH-12 says.
CanonicalModelClassFactory mcf = new CanonicalModelClassFactory("2.5");
// Pass the MCF to the parser in its constructor
PipeParser parser = new PipeParser(mcf);
// The parser parses the v2.3 message to a "v25" structure