Hapi (pronounced “happy”) is a web framework. It is used for building web applications, APIs, and services. It is an open-source, object-oriented HL7 2.x parser for Java which is extremely simple to get started with and extremely powerful at the same time. The problem arises when you have to write performant, maintainable code.