The symptoms fit two diagnoses at once
The picture fits one disease and the other, and the treatment differs. The system does not guess - it asks follow-up questions: how it started, what about the fever, what the test showed. With every answer one of the options drops out.