Extending Temporal Causal Graph for Diagnosis Problems