fixed mandatory optional flag in hl7dll