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] trouble while reading ORM^O01 message

2011-09-28 Thread christian ohr
Hi, most likely your O01 message is HL7 version 2.3.1 or newer where the PID segment is nested inside the PATIENT group; in this case terser.get(/PATIENT/PID-5-1) should do the trick. cheers Christian Gopi Krishna Meka wrote: > > Hi all, > > I am using the terser.get(/.MSH-3-1) to get the se