I believe that the concept is called Hormesis.
Hormesis is that idea that the same compound can have opposite effect at different doses.
But a dose difference is not strictly necessary for what I am talking about
A disease or problem which is a side-effects of medical investigation or treatment.