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 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 > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > -- View this message in context: http://old.nabble.com/trouble-while-reading-ORM%5EO01-message-tp32537478p32548303.html Sent from the hl7api-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel