some indicator functions should operate only on visits, not on interactions (of which there may be more than one per visit)