Hi Fabio, I'm quoting Bryan to answer you this:
> There is one HAPI class for each message structure, but > multiple events can use the same structure (e.g. event A28 uses > structure ADT_A05). > > If you are creating a new message, use the structure that corresponds > to your event (this is given in the standard) and fill in the > structure, type, and event in MSH-9. > > When you receive a message HAPI uses the structure specified in MSH-9 > if it exists, otherwise it uses the event to look up the structure in > the ca.uhn.hl7v2.parser.eventmap tables. > > Regards, > Bryan Greets, Torben Fabio Daprile schrieb: > Hello all, > > i have a problem while transforming the following message: > > MSH|^~\\&|APA|ITACA_EXPORT|RIS|HL7_EXT|20071030200853.2890+0100||ADT^A28|HL7Gtw0115F250F6A900|P|2.5|||AL|AL|D|8859/1 > > When parsing this message with the PipeParser, the resulting message is > an ADT_A05. > I had a look in this file, contained in your jar: > hapi-0.5beta.jar\ca\uhn\hl7v2\parser\eventmap\2.5.properties > It contains the following line: > ADT_A28 ADT_A05 > > Why? Why the 28 is mapped on the 05. > > For some messages parsed for version 2.3.1, i get that the ORM_O01 > becomes an RDO_O01. Why?????? > > Thank you. > > Greetings, > Fabio > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel