This page is intended to explain how to develop an application that uses HAPI to send or receive messages, using straightforward examples. Please note that this page assumes at least a basic familiarity with HL7 and it's terminology.
It is a new section of the HAPI documentation, and is still very much a work in progress. If you have any comments/suggestions/corrections, please send them to mailto:jamesagnew@sourceforge.net.
If you are still having trouble with HAPI after checking out these examples, the next place to look is the HAPI Mailing List, which is a great place to ask questions and look for solutions.
Now, on with the examples:
A good starting point with regards to using HAPI would be to parse a message.
Next, let's try creating a new message from scratch.
Now, let's introduce some network operations.
Another way of reading and writing to message objects is to use a Terser