A computer system automatically generates a first diagnosis of a patient based on input such as one or more medical images. The computer system receives input representing diagnostic intent from a human user. The system determines whether to provide the first diagnosis to the human user based on the first diagnosis and the diagnostic intent, such as by determining whether the first diagnosis and the diagnostic intent agree with each other, and only providing the first diagnosis to the human user if the first diagnosis disagrees with the diagnostic intent of the human user.