add encountertype filter