Thank you Christian. I think that the problem was with the version of HL7 in the MSH-12. The messages with the RP data type had MSH-12=2.2. After I changed the MSH-12 to 2.3, the message parsed fine. This is an example of the messages that have the RP. MSH|^~\&|TRAN|Demo Hospital|Demo App|999999999|20121102232636-98||ORU^RO1|SOMEID|P|2.2||||| PID|||M000528102||MICKEY^MOUSE^I||19300402|M||||||||||XXXX123 OBR||EKG20121031-0023|123456789|EKG STANDARD MANY LEAD^^^^^|||20121031082353|20121031082353||^^^^^^^||||||1111111111^PAPA^ B^BEAR^PAH^||05-PCU|Demo Hospital|CCC|EKG|||TOTO|S||^^^^^|||||^^|||MAGICONE| OBX|1|ST|||Heart Rate 102||||||F||||| OBX|2|ST|||RR Interval 588||||||F||||| OBX|3|ST|||QRSD Interval 74||||||F||||| OBX|4|ST|||QT Interval 392||||||F||||| OBX|5|ST|||QTC Interval 511||||||F||||| OBX|6|ST|||QRS Axis 45||||||F||||| OBX|7|ST|||T Wave Axis 10||||||F||||| OBX|8|ST|||EKG Severity - ABNORMAL ECG -||||||F||||| OBX|9|ST||| ATRIAL FLUTTER, A-RATE 250 [Now Present]||||||F||||| OBX|10|ST||| PROLONGED QT INTERVAL [Now Present]||||||F||||| OBX|11|ST||| ACS||||||F||||| OBX|12|RP|||http://URLTONOWHERE/DEMOURL/XXXXXXXX.aspx?ECGID=abcdefg||||| |F|||||
-----Original Message----- From: christian ohr [mailto:christian....@icw.de] Sent: Tuesday, November 20, 2012 2:42 AM To: hl7api-devel@lists.sourceforge.net Subject: Re: [HAPI-devel] Datatpe RP in OBX spews an error RP is a resource pointer, but its first component is a plain ST. What is the HL7 and HAPI version you are using? Can you provide the complete message? Is there a more detailed stacktrace? RP did not exist until HL7 v2.3, but with later versions I had no problems when I pasted the segment into a ORU msg. cheers Christian Carlos Oliva-3 wrote: > > Is there a way in which I can exclude some data types or segments from > the validation? I am getting some ORU messages with a data type RP in > one of the OBX segments. The parser spews an error when it tries to > parse the segment. I have found very little information about the > data type RP. This is what the segment looks like: > > OBX|14|RP|||http://TRACEMASTERVUE/TMVWebAPIClient/ShowTIFFImage.aspx?E > OBX|14|RP|||CG > ID=05f95f00-317e-11e2-4823-00201fe00029||||||F||||| > > > > The error stack traces is as follows: > > ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator$ParseFailureError: > Failed to parse message > > > > > > > > ---------------------------------------------------------------------- > -------- Monitor your physical, virtual and cloud infrastructure from > a single web console. Get in-depth insight into apps, servers, > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > -- View this message in context: http://old.nabble.com/Datatpe-RP-in-OBX-spews-an-error-tp34696957p347004 16.html Sent from the hl7api-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel