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,
Hi,
I am new to HAPI and HL7,
I have received message(ADT) from the client but I do not know how to
send ORU.
So, please help me how to send ORU.
And please provide the sample code,API for all the segment ,if any.
Thanks
--
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
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
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
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
6 matches
Mail list logo