A model for the spread of infectious diseases compatible with case data. (27th October 2021)