jL7 is an HL7 library for Java.

It provides the following:

An HL7 v2 parser (pipes)

An implementation of MLLP

Some useful helpers to work with HL7 messages

A Domain Specific Language based on Groovy to process and convert HL7 messages

Please feel free to use this library or contribute to it !

The library is located at http://code.google.com/p/jl7. The source code will still be available there but I’m in the process of moving the wiki to this site.

How to use the jl7 domain specific language

How to send an HL7 message

How to receive an HL7 message

How to create a Sender

How to create a listener