Improving diagnosis through mapping patient journeys