Some basic utilities for working with HL7