add value method for HL7Segment and HL7Message
reorganized things to prevent 'missing class' message