Bayesian reasoning in residents’ preliminary diagnoses