validating uniqueness of e_case_id