added validations to allergy and current medication models