Hi I am java developer. I am new in HL7 development. I am trying to create HL7 2.5.1 message for ORU R01. In that I have created OBX Segment. but while setting parameter in the segment OBX-5, we dont find setter method in Hapi Api. so anyone have created OBX segment than please let me know how to set segment-5 as It's mendatory field for HL7. I have writen segment code below where i want to set the value.
Here we can set the data. but from where do we find the data element. apart from this segment there is setValue method available so we can set String values in all other segments.
obxSegment.getObx5_ObservationValue(0).setData(data);
Hi All,
Sorry but i found solution of it.
Posted below.