fixed - encounter visit filter