Her neurologist mentioned also that she has headaches for which she was taking excessive amounts of Excedrin but which did not improve with Amitriptyline or Topamax.
 The patient has migraines. 
(ROOT (S (NP (PRP$ Her) (NN neurologist)) (VP (VP (VBD mentioned) (ADVP (RB also)) (SBAR (IN that) (S (NP (PRP she)) (VP (VBZ has) (NP (NP (NNS headaches)) (SBAR (WHPP (IN for) (WHNP (WDT which))) (S (NP (PRP she)) (VP (VBD was) (VP (VBG taking) (NP (NP (JJ excessive) (NNS amounts)) (PP (IN of) (NP (NNP Excedrin))))))))))))) (CC but) (SBAR (WHNP (WDT which)) (S (VP (VBD did) (RB not) (VP (VB improve) (PP (IN with) (NP (NNP Amitriptyline) (CC or) (NNP Topamax)))))))) (. .)))
(ROOT (S (NP (DT The) (NN patient)) (VP (VBZ has) (NP (NNS migraines))) (. .)))
( ( Her neurologist ) ( ( ( ( ( mentioned also ) ( that ( she ( has ( headaches ( ( for which ) ( she ( was ( taking ( ( excessive amounts ) ( of Excedrin ) ) ) ) ) ) ) ) ) ) ) but ) ( which ( ( did not ) ( improve ( with ( ( Amitriptyline or ) Topamax ) ) ) ) ) ) . ) )
( ( The patient ) ( ( has migraines ) . ) )