#28 refactor qcer validation to be re-usable among create and edit