My guess is that it was legal because it wasn't your own health professional who said it, it was your son's and his issues, treatment, etc. were fair game. It would have been different if it were your therapist.
That doesn't make it right though. Just legal.
Best,
EJ