AI failed to detect critical health conditions: study