Mathematical modelling of oscillating patterns for chronic autoimmune diseases