A Dr's cert never states what the person has, just that that have been unwell and needed a day off work.

They cannot ask for details as that is private between Dr and patient