I don't actually have the specification convenient right this second, but I believe reusable structures for ADT were only introduced to the standard for the 2.4 version. In other words, in 2.3.1 and before, ADT_A04 was its own structure but from 2.4 on ADT_A04 actually used ADT_A01.
Is there a specific parsing issue you are seeing from this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This isn't causing a parsing issue, but I need to rewrite some of our code for dealing with HL7 messages as a result of the change.
I've been upgrading from HAPI v1.2 to 2.1 and noticed that the eventmap file (2.3.1.properties) in the HAPI structures libraries for HL7 v2.3.1 under HAPI v1.2 and v2.0 are different from the eventmap under HAPI v2.1. The HAPI versions prior to v2.1 list the event -> structure mappings for ADT messages, but that for HAPI v2.1 doesn't.
I think Message Structure ID's were introduced in v2.3.1, when e.g. the Message Structure ADT_A01 was used by the trigger events A01, A04, A05,
A08, A13, A14, A28 and A31.
All the best,
Jeremy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jeremy,
I don't actually have the specification convenient right this second, but I believe reusable structures for ADT were only introduced to the standard for the 2.4 version. In other words, in 2.3.1 and before, ADT_A04 was its own structure but from 2.4 on ADT_A04 actually used ADT_A01.
Is there a specific parsing issue you are seeing from this?
Hi James,
Thanks for replying so quickly.
This isn't causing a parsing issue, but I need to rewrite some of our code for dealing with HL7 messages as a result of the change.
I've been upgrading from HAPI v1.2 to 2.1 and noticed that the eventmap file (2.3.1.properties) in the HAPI structures libraries for HL7 v2.3.1 under HAPI v1.2 and v2.0 are different from the eventmap under HAPI v2.1. The HAPI versions prior to v2.1 list the event -> structure mappings for ADT messages, but that for HAPI v2.1 doesn't.
I think Message Structure ID's were introduced in v2.3.1, when e.g. the Message Structure ADT_A01 was used by the trigger events A01, A04, A05,
A08, A13, A14, A28 and A31.
All the best,
Jeremy