Does such a thing even exist? That sounds like a very hard problem.
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.
Here's a patent: http://www.freepatentsonline.com/6607482.html
There are lots of a papers, and a small number of working prototypes, but I have not heard of any that are actually being used.