thisismyuname - 2010-07-29

Hi,

I am parsing an HL7 message using nHapi version 2.5.

Message Type: ORU_R01

My HL7 message has 10 OBX's. I need to find the following:

1. Number of OBX's present in the received HL7 message
2. Get the observation values from these OBX's.

I did the following and need help in proceeding further

ORU_R01 oru = (ORU_R01)message; // IMessage message
ORU_R01_PATIENT_RESULT patientResult = oru.GetPATIENT_RESULT();
Int32 orderObservationRepetitions = patientResult1.ORDER_OBSERVATIONRepetitionsUsed;  // returns 2 but msg has 10 OBX's

Question:
What does orderObservationRepetitions returns? number of OBX's?

Thanks in advance.