Actually it does. It's fed with data that says: Condition X is usually caused by Y with Z% probability, etc etc.
Then you feed it all the symptoms, sometimes it asks questions, and gives you a list of causes sorted by probability.
It works almost exactly like this game http://www.guessthename.com/
Apparently the biggest problem with it is that doctors won't use it.
The second problem is feeding data - you basically have to parse every medical paper ever published.