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 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
> getPatientName or setValue).
>  
> I reckon I'm missing something.... How can I solve this problem??
>  
> Thank you in advance
>  
> Daniel
>  
>  
> 
> ------------------------------------------------------------------------
> Sigue al minuto las principales noticias de tu ciudad MSN Deportes
> <http://deportes.es.msn.com/>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to