From: Vishal A. <va...@ve...> - 2003-09-18 17:08:43
|
Hello All,=20 =20 I came across HaPI on Sourceforge.net. Very impressive work. I am trying to use HAPI to store Messages/segments/fields in an oracle = database. Does that make sense? I am still a new user and don't think I understand HAPI in detail but here is what I am thinking: I will use HAPI TCP/IP = server but I will probably extend Class Parser and implement my own parser that would actually save the parsed messages/segment/fields to the database. = Once I am done with Storing the messages, Send user a +ve ack if the messages were saved successfully or just send -ve if there was any database = error. Please suggest if there is a better way to do this.=20 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 and I end up putting a fix for them to support = delimiters that machine/HL7 dispatcher send. I would like to implement something = where I should be able to define delimiter for a facility in property (XML) = file or a system property. Does that make sense? Has anybody worked on this? = Any suggestions? Hopefully I will be able to get some expert advice. =20 Thank you for your time. =20 |