fix getattr
add pregnancy_outcome advanced indicators
remove print statement