Added patient validation