From: Lisa <lis...@go...> - 2013-07-28 08:11:28
|
Hi everyone, I have a problem when using the terser to parse an ORU_R01 message. I receive the message via an REST POSt request. It still works for the MSH segment, but starting with the PID segment, my terser always returns null. e.g. mContext = new DefaultHapiContext(); mParser = mContext.getPipeParser(); mMessage = (ORU_R01) mParser.parse(msgRepresentation); Terser terser = new Terser(mMessage); String result = terser.get("/PATIENT_RESULT/ORU_R01_ORDER_OBSERVATION/ORU_R01_OBSERVATION/OBX-5"); The strange thing is, that if I read in the same message from a file with the help of an Hl7InputStreamMessageIterator the terser works fine. Can somebody help me? I'm really desperate… Thanks in advance Greets |