added hl7 stuff