As the article notes, hypochondria is not an officially designated term.
Historically a great many diseases that medical research had not understood, have been widely assumed to be imaginary.
For instance: “fakers disease” which you’ll now know by its medical term: “multiple sclerosis”.