Using filters to connect encounters to other data