From: Tripp, B. <Bry...@uh...> - 2003-09-18 17:50:27
|
Hi Vishal, Messages/segments/fields in an oracle database. Does that make sense? Yes, that's a very common use of HAPI. server but I will probably extend Class Parser and implement my own parser that would actually save the parsed I suggest implementing ca.uhn.hl7v2.app.Application instead of extending Parser. The TCP/IP server will parse messages for you, and send them to your Application's processMessage(Message) method, where you can put the code that writes to the database. See the HL7Service javadocs for information on registering your application with the server (it's easy -- you make a file with a line that identifies the message types and trigger events that you handle, and the name of your application class). Another thing I noticed that HAPI is restricted to start with '\u000b' and end with '\u001c' + '\r'. Most of the people I work with, they have random message delimiters but consistent within their facility, I mean they never follow standards Wow. I guess that shouldn't be surprising, but HAPI is almost 2 years old and you're the first one to mention this. Maybe the practice varies regionally. Where are you located? How many times have you seen non-standard message delimiters? Bryan 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. |