NHS medical records handed to O2 to predict mental breakdowns – isn’t this against the law?

And now O2 … what do they need health records for?