Over the past year, the patient had noticed weakness and pain in the right upper extremity while doing her activities of daily living.
 The patient has a history of arthritis
(ROOT (S (PP (IN Over) (NP (DT the) (JJ past) (NN year))) (, ,) (NP (DT the) (NN patient)) (VP (VBD had) (VP (VBN noticed) (NP (NP (NN weakness)) (CC and) (NP (NN pain))) (PP (IN in) (NP (DT the) (JJ right) (JJ upper) (NN extremity))) (SBAR (IN while) (S (VP (VBG doing) (NP (NP (PRP$ her) (NNS activities)) (PP (IN of) (NP (JJ daily) (NN living))))))))) (. .)))
(ROOT (S (NP (DT The) (NN patient)) (VP (VBZ has) (NP (NP (DT a) (NN history)) (PP (IN of) (NP (NN arthritis)))))))
( ( Over ( the ( past year ) ) ) ( , ( ( the patient ) ( ( had ( ( ( noticed ( ( weakness and ) pain ) ) ( in ( the ( right ( upper extremity ) ) ) ) ) ( while ( doing ( ( her activities ) ( of ( daily living ) ) ) ) ) ) ) . ) ) ) )
( ( The patient ) ( has ( ( a history ) ( of arthritis ) ) ) )