Re: [HAPI-devel] Structural comparison of HL7 Messages

2011-09-28 Thread christian ohr
Hi, regarding the two examples mentioned: 1. ADT_A17 in fact is a message structure which contains a duplicated sequence of segments. The specified abstract message syntax is: MSH [ { SFT } ] EVN PID [ PD1 ] PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] PID [ PD1 ] PV1 [ PV

Re: [HAPI-devel] Structural comparison of HL7 Messages

2011-09-28 Thread christian ohr
Hi, regarding the two examples mentioned: 1. ADT_A17 in fact is a message structure which contains a duplicated sequence of segments. The specified abstract message syntax is: MSH [ { SFT } ] EVN PID [ PD1 ] PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] PID [ PD1 ] PV1 [ PV

Re: [HAPI-devel] Structural comparison of HL7 Messages

2011-09-26 Thread Ian Vowles
First, please understand I am far from a HAPI expert. I am learning myself, and watch the list for questions that may help me improve my understanding. I suspect that some of what you are seeing is the need to get a java language construct to reflect the standard as well as it possibly can, but

[HAPI-devel] Structural comparison of HL7 Messages

2011-09-26 Thread melissa.rabin
We are trying to validate the structure of an HL7 message at runtime by comparing the Segment names and their respective order with the structure implicit the messages corresponding structure. We do this by comparing an ordered List of segments derived from a deep call to getNames() method of t