From: Tripp, B. <Bry...@uh...> - 2001-11-15 20:08:43
|
I just uploaded the first release of HAPI. Please check it out and let me know of any problems, bugs, etc. Probably the easiest way to get HAPI to do something is to give it an HL7 message to parse and display in a UI. The only complete message class included with the release is ACK. If anyone has the HL7 normative DB you can generate source for all the other classes (using ca.uhn.hl7v2.sourcegen.SourceGenerator), but otherwise start with ACK. Here is a little ACK message you can parse: MSH|^~\&|Fake Sending App|Fake Sending Facility||Fake Receiving Facility|200108151718||ACK^A01^ACK|20|P|2.3 MSA|AA You can see this message in a JTree by saving it in a file (let's call it "ack.txt") and running TreePanel from the command line, like this: java -classpath hapi.jar ca.uhn.hl7v2.view.TreePanel ack.txt This should open up a window and show the message in a tree. This is much more exciting with a bigger message, but you get the idea. Some of you have mentioned parts that you want to work on. Of course, everyone is welcome to work on whatever they want, but if you want to avoid overlap let me know what you are doing and I will try to keep track. I'll be filling up the task list and the CVS repository soon. Let me know if you run into trouble or have any questions. Bryan |