I have an acquaintance who lost a child (senior) at the beginning of this school year. The whole family is devastated and the younger son (8th grade) has missed ALOT of school because Mom just doesn't get him up or he doesn't feel like going. By law, the school had to report her and send registered letters, etc. While they understood the situation, they have a legal responsibility.
In your case, it sounds like it goes beyond that. The school employee who reported it must have taken creative license and offered opinion, rather than fact, regarding your mental health. That is wrong. I would certainly contact a lawyer to discuss the situation. Not to sue anyone, but to find out how you can legally go about making this right. In the meantime, there are only a couple of months left in the school year. Try to make a good faith effort to get your son to school, so they have no further information to report.
It is so hard to navigate our own way through this hell. Having to be the leader through it for our kids is downright terrifying. I wish you the best