From: Tripp, B. <Bry...@uh...> - 2005-01-17 16:06:06
|
Hi Ed,=20 Apologies ... HAPI doesn't support HL7 version 2.1 very well. If you = change the version to 2.2 it will parse. If this doesn't work for you, let me = know and I'll see what I can do. =20 Bryan=20 -----Original Message----- From: hl7...@li... on behalf of Ed Sent: Wed 1/12/2005 1:07 PM To: hl7...@li... Subject: [HAPI-devel] HAPI 0.42 =20 When trying to Parse a file using HAPI 0.4.2 Test Panel, I receive the following: Java.lang.ClassCastExcxeption trying to set data type of OBX-5. Here is the file: MSH|^~\&|COSTELLO|ORCHARD SOFTWARE|MEGAREG|UABHOSPC|20040221112417||ORU^R01|325|P|2.1 PID|1|3566|3566||SUNLIGHT^CREE||19790701|F|||14987 Pixie Pt Cir^^Naperville^IL^00000|||||||| OBR|1|27102|58|CMETABOLIC^CMetabol|R||20040221112415|||^Bahamonde^Toodie ||||200402211124||D1^Welby^Marcus||||||200402211124|||F|||||||||| OBX|1|NM|2823-3^K+||3.3|MMOL/L|3.5-5.5||||F As you can see, OBX-2 states that it is a Numeric data type. OBX-5 is 3.3, which is a Numeric data type. Can you tell me what is wrong? Ed Salvador Jr. WD Net, Inc. |