What is it called when you think you have a disease or mental illness just because someone else does?

You may be a hypochondriac.