urHL7 Changelog
- API Modification: SparkFileReader.parse() now returns a boolean. This boolean is the true only when every instance of the messageReceived(HL7Structure) that is called during the file parse returns true.
- API Modification: LocationSpecification and LocationParser no longer exist. HL7Location has taken over their functionality. Classes that utilized those features have been modified accordingly.
- API Modification: EmptyField has been renamed to NullField to better represent its purpose.
- FIX: Igor.segment(name, fields) now creates a structure with the correct number of fields (rather than +1).
- FIX: SparkFileReader parse() now fully parses batch files with small messages.
- SparkFileWriter now binds to the file stream later, causing less need to catch exceptions early in object instantiation.
- SparkFileWriter and SparkFileReader now have constructors that accept a String filename.
- HL7StructureHelper get() core significantly changed.
- HL7StructureHelper now has a getSetting() and setSetting() so you can configure future behavior.
- API Modification: HL7MessageListener.messageReceived(HL7Structure) interface has been modified to return a boolean. This will allow for future expansion regarding acception/denial of messages.
- API Modification: DataField interface now extends GenericStructure. All DataField objects already implemented both. This will give DataField objects returned by HL7Structure.helper() more flexibility.
- Modified HL7MessageListenerListAdapter to follow new interface specification.
- Added Convert utility class. Allows for easy conversion between HL7 Date/Time String and java.util.Date objects.
- New Rule enum: Rule.Numeric
- Added additionalFields parameter to Igor.structure() methods. Generates additional fields on the MSH that is created
- Added HL7Structure.compress() and HL7Segment.compress(). These functions will modify their structure to trim off non-significant fields (Fields that have a repeating, component, or subcomponent element are NOT removed).
- FIX: Properly override toString() method on HL7RepeatingField to return marshal().
- FIX: Parsing core was improperly ignoring subcomponent delimiter while a component delimiter was missing.
- FIX: SparkFileReader was not closing the file properly after parsing.
- FIX: HL7StructureHelper.getAll() function was working improperly with repeating fields.
- Updated Documentation.
- Memory usage improvements.
- Incorporated igor and spark packages into one common jar.
- Igor.structure() and Igor.structure(char[]) are implemented to create arbitrary blank structures.
- Refactored structure.helper() (HL7StructureHelper) method names: get(), has().
- All method specs involving sets now use generic List rather than ArrayList (although ArrayList is still usually used in implementation).
- The structure.helper().copyStructure() (HL7StructureHelper) is now overloaded structure.copy(true/false).
- Documentation has been updated across the board.
- Ensure <x0D> is always sent at the end of a message.
- Internal Development Only