The system applies Bayesian probability by iteratively eliminating least probable diagnoses until a confidence threshold is reached.