validations of inclusion of code for coded attributes