Re: [HAPI-devel] Help- ORU

2009-04-15 Thread James Agnew
Hi Kumud, There is some example code for creating an ORU message, as well as sending and receiving messages, on the example page of the HAPI website. You can find it here: http://hl7api.sourceforge.net/devbyexample.html Cheers, James On Wed, Apr 15, 2009 at 12:33 PM, Kumud Patel wrote: > Hi,

Re: [HAPI-devel] Help- ORU and PID

2008-04-14 Thread Daniel Nebot
ca.uhn.hl7v2.model.v23.message.ORU_R01 kk = new ca.uhn.hl7v2.model.v23.message.ORU_R01(); ca.uhn.hl7v2.model.v23.segment.PID pid = kk.getRESPONSE(0).getPATIENT().getPID(); and pid.getX(..) Hope that helps Daniel Nebot Lucas Gonz <[EMAIL PROTECTED]> wrote: Hello, I am working on th

Re: [HAPI-devel] Help- ORU and PID

2008-04-14 Thread Lucas Gonz
Hello, I am working on the same, building an ORU message v23 and I wonder the same I have to use the segments: MSH, PID, PV1, OBR and OBX, here is my code but the links between the ORU message and the segments are missing all but the MSH segment, that's why segmentes are pointing null, coz I cant

Re: [HAPI-devel] Help- ORU and PID

2007-12-19 Thread Torben Greiser
Hi Daniel, take a look at the source: ORU_R01 -> ORU_R01_PATIENT_RESULT -> ORU_R01_PATIENT -> PID So in your Java code: your_oru_r01_msg.getPATIENT_RESULT().getPATIENT().getPID() Greets Torben Daniel Fuertes Severo schrieb: > Hi! > I'm new to HAPI and HL7 and I've found a problem, maybe some