Diagnosing by anticipation: Coordinating patient trajectories within and across social systems.