Re: [HAPI-devel] MDS Message

2007-05-23 Thread Bryan Tripp
Hi Dan, One simple way to do it would be to override Parser.parse(String) to change "2.3.0" to "2.3". Another option would be to get Parser to treat 2.3.0 as a valid version that is equivalent to 2.3, but this would really amount to doing the same thing as above, but in multiple places. Bryan On

Re: [HAPI-devel] MDS Message

2007-05-23 Thread Dan Wright
I understand that the problem is the version. Unfortunately this is the format the messages are coming in and I have to parse them as is. I think I may try writing a custom parser or something to deal with this. Has anybody had any experience doing this that could give me a couple pointers. -

Re: [HAPI-devel] MDS Message

2007-05-15 Thread nicovn
Hi Dan, I think the problem is the version number 2.3.0 in the MSH segment. HL7 version 2.3.0 doesn't exist, it should be 2.3 Regards Nico I'm trying to parse a message with the following header: MSH|^~\\&|MDS20050126080823||ORU|3840-CK0242245-9|P^|2.3.0|||NE|ERIt has problems with

[HAPI-devel] MDS Message

2007-05-14 Thread Dan Wright
I'm trying to parse a message with the following header: MSH|^~\&|MDS20050126080823||ORU|3840-CK0242245-9|P^|2.3.0|||NE|ER It has problems with the version and the message type 'ORU' however this is the format the messages are coming in. I believe its because it is 'MDS'. Has anybody ha