add hl7:get_segment/2