Enhancing Counterfactual Estimation: A Focus on Temporal Treatments | Synapse