Arrested 396 times, woman finally ordered to treatment