The article addresses much of what is incorrectly speculated on in the comments here.
“Researchers fed their model the x-ray images without any of the associated radiologist reports, which contained information about diagnoses” (including demographics).
“Researchers fed their model the x-ray images without any of the associated radiologist reports, which contained information about diagnoses” (including demographics).