fixed a bug in import_outcomes_encounters script