Counterfactual Outcome Prediction using Structured State Space Model