her background was charted , scrutinized , and published down to the most minute detail , from her outbursts in elementary school to her being committed to st.stefan 's psychiatric clinic for children , outside uppsala , where she spent more than two years .