From: Davide A. <dav...@if...> - 2005-06-20 10:35:57
|
Hi to all I'm newbie and i have a probelm with parse message MTM_T02, my message it's compose of this segment : MSH PID PV1 TXA OBX OBX OBX I have tersed the message with this: Terser tIn = new Terser(in); and all work fine, when i get some field of MSH, EVN, PID, PV1, TXA i don't have any problem and i use a code like this : String Field = tIn.get("/EVN-2") When i try to obtain e 1 field of OBX segment : String Field = tIn.get("/OBC-5-5") i have this error: ca.uhn.hl7v2.HL7Exception: Can't find MDM_T02 as a direct child In particular i have the necessity to take the 5.5 field of obx segment for refert. Probably i make an'error in a code , how to get this field from my message? Many Thanks to all. |