Appeals court upholds SD abortion advisory