Depends on what message you're processing. Take a look at the HL7 spec, and use corresponding structures. Assuming you're parsing an ORU^R01 with version 2.6,
oru.getPATIENT_RESULT(patientResultRep).getORDER_OBSERVATION(orderObservationRep).getOBSERVATION(observationRep).getOBX() R, rahul On Dec 30, 2012, at 10:51 PM, Mann <tanna.shw...@gmail.com> wrote: > I have fetched patient details from HL7 message > > I need to fetch now OBX segment that is repeating in messages. > OBX|1|NM|14647-2^Cholesterol^LN||7.3|mmol/L|3.5-5.4|H|||F|||201212051210 > OBX|5|NM|32309-7^Chol/HDL Ratio^LN||4.1||< 4.5||||F > OBX|6|ST|fn^Hours P.C/Fasting/Random^LN||Fasting|||N|||F|||201212051022 > > > > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel