From: Tripp, B. <Bry...@uh...> - 2005-06-23 14:14:14
|
Hi, =20 You can call Varies.getData(), which will return a Type. If you know = that this is a Primitive, based on the value of OBX-2, you can cast it to Primitive (or to the concrete subclass) and call getData() on that. =20 Bryan=20 ________________________________ From: hl7...@li... on behalf of Davide = Antoni Sent: Thu 23/06/2005 9:45 AM To: hl7...@li... Subject: [Fwd: [HAPI-devel] Problem with MDM_T02 Message] i have find that MDM_T02 is a group and i have initialized in this way: =20 MDM_T02 mdm_t02 =3D (MDM_T02) in; MDM_T02_OBX mdm_t02_obx =3D mdm_t02.getMDM_T02_OBX(); System.out.println("prova "+mdm_t02_obx.getOBX().getObservationValue() .getObservationValue() return "varies" datatype, and no getValue method is available, how to get field 5-5 from obx segment? |