From: Tripp, B. <Bry...@uh...> - 2003-12-01 16:04:20
|
Hi, When the message is parsed with HAPI 0.4, an HL7Exception is thrown because MSH-9 (message type) is not present. MSH-12 (version ID) isn't there either. Both these fields are needed to parse the message. What are you calling that throws an IndexOutOfBoundsException? Bryan > -----Original Message----- > From: pv...@qu... [mailto:pv...@qu...] > Sent: December 1, 2003 5:55 AM > To: hl7...@li... > Subject: [HAPI-devel] HL7 version-depended exception > > > On next HL7 wich received from device Clinitec 50 (connected > by JavaLin) > HAPI throw IndexOfBoundsException (11) because MSH don't > contains field #12 > : > > > MSH|^~\&||002|||19990729000025|||1 > PID|1 > OBR|1||005|||||||||||||||Device002^002 > OBX|1||Color||LT. YELLOW > OBX|2||GLU||NEGATIVE > OBX|3||BIL||NEGATIVE > OBX|4||KET||NEGATIVE > OBX|5||SG||>=1.030 > OBX|6||BLO||NEGATIVE > OBX|7||pH||6.0 > OBX|8||PRO||NEGATIVE > OBX|9||URO||0.2 E.U./dL > OBX|10||NIT||NEGATIVE > OBX|11||LEU||NEGATIVE > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. |