I'm starting to work with nHapi C#. I've tried to parse some message of HL7 2.6 version with NHapi 2.8.1 model but is not working.
How can I parse an HL7 message of a previous version (say 2.6) with a newer HL7 nHapi version (say 2.8)? There some way to do this? Or the only way is to get the version with NHapi.Base.Parser.PipeParser and than use the specific version like:
var header = (NHapi.Model.V281.Segment.MSH) hl7Msg.GetStructure("MSH");