I have been diagnosed as melancholia. Has anyone else heard of this?

Yes. It is an old term for depression. At one time we thought depression was caused by melancholia -- " black bile".