Re: [HAPI-devel] getOBXReps always equals to 0

2010-03-17 Thread James Agnew
Hi Francois, Any chance you could post a complete block of code that illustrates the issue? (I.e. including putting your input message into a string, parsing it, and then performing your read loop on the resulting message?) The most common cause for this kind of behaviour (i.e. segments not showi

[HAPI-devel] getOBXReps always equals to 0

2010-03-17 Thread francois.chapuis
Hi, I am trying to get the values of certain fields contained in this OBX segment : OBX||ST|1010.1^BODY WEIGHT||62|kg|F|||20100317| This is a segment of an ADT^A01 message String obsSubID=""; java.util.ArrayList listObservationValue = new java.util.ArrayList();