Added duplicate check for visit extId / Added SQL Unique constraint for visit extId