Medical expert systems based on causal probabilistic networks