Disclosing medical information (e.g. the nature of your disability or illness) would likely be breach. But if the person simply disclosed that you were on leave and speculated that they were unsure about whether you would or would not return, that is legal.