Re: Would it have been ethical for them...
The data used to train the AI should have been fully anonymised, so alerting patients that the machine has identified them as requiring treatment should never have been an option. Once the system has proven itself on anonymous data, then it can be fed the identifiable data providing the patients involved have consented to this use of their data.