Experience with a functional-logic multi-agent architecture for medical problem solving