This tool translates a static conformance profile into an API that enforces the profile constraints when you code against it.
It was originally developed as the senior year project of some students from Algonquin College (James Agnew, Shawn Dyck, Cory Metcalf, Paul Brohman, and Mitch Delachevrotiere) and is now an open-source component of the HAPI library.
Browse Manual (HTML)
Download Manual (PDF)
Note that the code is available in the package ca.uhn.hl7v2.conf.classes.