HAPI

Release History

Version Date Description
1.0-beta1 TBA This version has not yet been released.
0.6 2009-07-01 This release adds support for HL7 2.5.1 and 2.6, as well as fixing a number of issues and introducing a new build system.
0.5.1 2007-02-18 This release fixes only one issue. In the previous release (0.5), some classes were released with a dependency on Java 5. HAPI officially supports JDK version 1.4, so this release corrects the dependency.
0.5 2006-12-14

Release 1.0-beta1 - TBA

Type Changes By
add Add two new ModelClassFactory implementations: CanonicalModelClassFactory (always returns the same version), and CustomModelClassFactory (provides easy way to use custom structure packages) Thanks to Christian Ohr, Niranjan Sharma.
add Overhaul Escape class (handles HL7 escape sequences) to dramatically improve performance Thanks to Christian Ohr.
fix Fix NullPointerException in DefaultValidator when no table present for an ID datatype Fixes 1809573. Thanks to Jan Klasser.
fix Allow parsing of unknown message types for 2.5.1 and 2.6 messages jamesagnew
update Convert HAPI source version JDK 5.0. This allows the use (and begins a gradual conversion) to generics by HAPI's internal structures. Support for JDK1.4 will still remain through version specific JARs produced by RetroTranslator. jamesagnew
add Add getNames() method to Segment, to allow programatic access to segment's field names (needed by hUnit) jamesagnew
fix Fix serialization of HAPI Message objects. Also added serialVersionUID to a number of core classes. Fixes 1263250. Thanks to Gerald Bortis, Christian Ohr.
fix Fix a memory leak in Escape.java when lots of different encoding chars are used Thanks to Chris Busch.
fix Modify ProcessorImpl (HL7Server processing class) to use an ExecutorService instead of spawning a new thread for each message to generate ACKs. jagnew
fix Fix XML parsing of seg groups containing more than one instance of the same segment (e.g. A17) Fixes 2164291. Thanks to Gerald Bortis, Polloloco.

Release 0.6 - 2009-07-01

Type Changes By
add Add constructors to all parser types allowing a custom model factory Fixes 2793054. Thanks to Christian Ohr.
fix Fix XML parsing of seg groups containing more than one instance of the same segment (e.g. A17) Fixes 2164291. Thanks to Gerald Bortis, Polloloco.
add Added isRunning() method to SimpleServer Thanks to Peter Gershkovich.
add Add NULLDT datatype, to be used in withdrawn fields. Note that default validation expects this datatype to be empty, but custom validation does not need to enforce this. jagnew
add Add setEncoding method to XmlParser to allow text encoding to be specified when creating XML messages. In response to mailing list query from Fernando Ramírez Sánchez jagnew
add Add single argument constructor to ID datatype, to allow it to be used in OBX-5 Fixes 1890219. Thanks to Chris Horneck.
add New HAPI maven repository now available at http://hl7api.sourceforge.net/m2/ jagnew
fix Make PipeParser not crash on empty segments (meaning segments with just a segment name, no field separator or fields) Thanks to Frédéric Dubru.
fix NullPointerException if OBX-2 is invalid and OBX-5 is set Fixes 1662979. Thanks to Greg Groves.
fix Parsing fails when (pipe) is used as non-field separator Fixes 1657929. btripp
add Allow Parser to accept a null ValidationContext, which will prevent any attempt at validating messages from being made. jagnew
add Allow Parsers now get their default validation context from ValidationContextFactory if none is supplied Thanks to Andy Pardue.
add Allow A new system property (See Varies JavaDoc) may be specified to supply a default datatype to be assumed for OBX-5 if none is found in OBX-2. A missing OBX-2 is not a valid case, but this property would allow a user to work around problems receiving from a bad message source Thanks to Andy Pardue.

Release 0.5.1 - 2007-02-18

Type Changes By
fix Remove JDK 5 dependency jagnew

Release 0.5 - 2006-12-14

Type Changes By
fix hapi 0.4.3 Class Parser : Multi-threading conflict can occur Fixes 1557203.
fix Unescaping in XMLParser.getCriticalResponseData() Fixes 1547989.
fix PipeParser.getCriticalResponseData() does not use version Fixes 1539866.
fix NullPointerException on garbage messages Fixes 1539352.
fix Class ExtraComponents not Serializable Fixes 1536231.
fix "I" instead of "PID" freezes the parser Fixes 1536200.
fix validation contexts are not used during parsing Fixes 1525034.
fix Error generating error responses for XML messages Fixes 1525029.
fix SIU S12 Segment Issue Fixes 1482059.
fix DFT-P03 - incorrect message structure Fixes 1405670.
fix NM integer magnitude limited to java int Fixes 1377382.
fix ORU_R01_OBSERVATION incorrectly defined Fixes 1368028.
fix OBX-5 type assignment only operates on first rep Fixes 1284281.
fix Missing Code in Version 2.5 Fixes 260957.
fix ORL_O34 message incorrectly defined Fixes 1240698.