Added firstEncounter Method

Added method to get the first encounter of a given type for a cohort of patients.