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

[HAPI-devel] trouble while reading ORM^O01 message

2011-09-25 Thread Gopi Krishna Meka
Hi all, I am using the terser.get(/.MSH-3-1) to get the sendingApplication value. But this method is returning null when I try terser.get(/.PID-5-1). other than MSH segments it is returning null. How to read patient name. can some one help me Thanks in Advance --