Mihir | adding validations for the encounter rows, adding attributes of encountertype and visittype.