Visualizing healthcare system variability and resilience: a longitudinal study of patient movements following discharge from a Swedish psychiatric clinic