Early detection in pandemic response