add duplicate record validation for assessment and assessment type