Added validation on edit patient form