added a section to export patient_historical_outcomes