While it is legal for your workplace to call and verify a doctor’s note, they cannot ask any additional personal questions about patient’s medical history.
They can only question its legitimacy but cannot question any of the medical information provided in the note.