add int validator for input like id doctor or patient