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

[HAPI-devel] Help- ORU and PID

2007-12-18 Thread Daniel Fuertes Severo
Hi! I'm new to HAPI and HL7 and I've found a problem, maybe somebody could help. I'm trying to build an ORU message with some unsolicited info. I suppose I have to send some information about the patient (PID, Patient ID), but there are no fields about PID for ORU messages!! (can't do getPatie