Re: [HAPI-devel] How to Set Value on Field OBX-5

2009-02-25 Thread Bryan Tripp
It's because in contrast to most fields, which have a pre-specified data type, the data type for OBX-5 is defined at message time (in OBX-2). Bryan On Wed, Feb 25, 2009 at 1:58 PM, Dayu Han wrote: > Thanks for the code and it worked just fine. However, I wonder if anyone > knows WHY for OBX-5, w

Re: [HAPI-devel] How to Set Value on Field OBX-5

2009-02-25 Thread Dayu Han
Thanks for the code and it worked just fine. However, I wonder if anyone knows WHY for OBX-5, we have to do something like this. On 24-Feb-09, at 4:48 PM, Cameron Freiner wrote: Did that help? On Tue, Feb 24, 2009 at 3:32 PM, Cameron Freiner wrote: Yes, Here is a code sample from 2.3 t

[HAPI-devel] How to Set Value on Field OBX-5

2009-02-24 Thread Dayu Han
Hi All I have trouble to populate a value on OBX-5 field using HAPI (HL7 2.5). This is what I am trying to do: oru .getPATIENT_RESULT (0 ).getORDER_OBSERVATION (0).getOBSERVATION(index).getOBX().getObservationValue(0) where oru being the ORU segment. From the above code, there seems n