Updated code in the AllergyPageController to call the validator - RA-446