What'S Missing From Machine Learning For Medicine? New Methods For Causal Effect Estimation And Representation Learning From Ehr Data