Hypothesis Formation and Evaluation in Medical Diagnosis