Speaking purely from personal experience, I have worked for a total of 3 airlines over 15 years.
Only the first one asked about medicals, the other 2 didn't mention a thing. I therefore did not have to mention the fact that I had been made temporarily unfit twice before.
They still don't know now, as they did not ask.
MB