Reformulating the susceptible–infectious–removed model in terms of the number of detected cases: well-posedness of the observational model