split staff and patient search into separate repository calls to take into account staff not having identifiers (avoiding left outer join on identifier)