Re: [HAPI-devel] How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5?

2010-09-01 Thread James Agnew
Hi Depeche, Which version of the HAPI library are you using? The following code executes correctly and produces the output I believe you are looking for with the latest (HAPI 1.0.1) version: String msgString = "MSH|^~\\&|XYZ|a1510aae-cbcd-43d0-b0e2-4ad082f03775|HU|7d15ac56-8b12-4a07-8b10

Re: [HAPI-devel] How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5?

2010-09-01 Thread depeche007
Hi, I tried using terserResponse.get("/PID-3-1") and got the following exception: Exception: ca.uhn.hl7v2.HL7Exception: Can't find PID as a direct child regards, depeche nksharma0624 wrote: > > Try changing to terserResponse.get("/PID-3-1") > > -Original Message- > Fro