|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Help- ORU and PIDI'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 ------------------------------------------------------------------------- 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 Hl7api-devel@... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |
|
|
Re: Help- ORU and PIDHi 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 > Hl7api-devel@... > 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 Hl7api-devel@... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |
|
|
Re: Help- ORU and PIDHello, 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 find any ORU.getPID(); or something like that the same way it's used for MSH segment, HELP! ;)
//Menssaje de peticion de prueba+demograficos+datosPrueba ca.uhn.hl7v2.model.v23.message.ORU_R01 ORU= new ca.uhn.hl7v2.model.v23.message.ORU_R01(); /* * CREACION DEL SEGMENTO MSH */ ca.uhn.hl7v2.model.v23.segment.MSH mshSegmentORU = ORU.getMSH(); mshSegmentORU.getFieldSeparator().setValue("|"); mshSegmentORU.getEncodingCharacters().setValue("^~\\&"); mshSegmentORU.getDateTimeOfMessage().getTimeOfAnEvent().setValue( "200801051200"); mshSegmentORU.getSendingApplication().getNamespaceID().setValue( "CPO_EMR"); mshSegmentORU.getReceivingApplication().getNamespaceID().setValue("CARDIOSOFT"); mshSegmentORU.getSequenceNumber().setValue("20040327110218"); mshSegmentORU.getMessageType().getMessageType().setValue("ORU"); mshSegmentORU.getMessageControlID().setValue("20040327110218001"); mshSegmentORU.getProcessingID().getProcessingMode().setValue("P"); mshSegmentORU.getVersionID().setValue("2.3"); mshSegmentORU.getAcceptAcknowledgementType().setValue("NE"); /* * CREACION DEL SEGMENTO PID */ ca.uhn.hl7v2.model.v23.segment.PID pidSegmentORU = null; pidSegmentORU.getSetIDPatientID().setValue("1"); pidSegmentORU.getPatientIDInternalID(1);//comprobar pidSegmentORU.getRace().setValue("W"); //OPCIONAL//pidSegmentORU.getDateOfBirth() pidSegmentORU.getSex().setValue("M"); /* * CREACION SEGMENTO PV1 */ ca.uhn.hl7v2.model.v23.segment.PV1 pv1SegmentORU = null; pv1SegmentORU.getSetIDPatientVisit().setValue("1"); pv1SegmentORU.getAssignedPatientLocation().getRoom().setValue("14"); pv1SegmentORU.getAttendingDoctor(99);//EXAMINAR estos dos porque deberiamos de meter pv1SegmentORU.getReferringDoctor(999);//nombres de doctores en vez de numeros /* * CREACION SEGMENTO OBR */ ca.uhn.hl7v2.model.v23.segment.OBR obrSegmentORU = null; obrSegmentORU.getSetIDObservationRequest().setValue("1"); obrSegmentORU.getUniversalServiceIdentifier().getText().setValue("R_ECG"); obrSegmentORU.getRequestedDateTime().getTimeOfAnEvent().setValue("20080410100000"); obrSegmentORU.getOrderingProvider(1); /* * CREACION SEGMENTO OBX */ ca.uhn.hl7v2.model.v23.segment.OBX obxSegmentORU = null; ....... ..........
|
|
|
Re: Help- ORU and PIDca.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.getXXXXXXXXX(..) Hope that helps Daniel Nebot Lucas Gonz <lucasg@...> wrote:
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Hl7api-devel mailing list Hl7api-devel@... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |
| Free Forum Powered by Nabble | Forum Help |