The plan was to switch to Bactrim.
 the patient has cellulitis
(ROOT (S (NP (DT The) (NN plan)) (VP (VBD was) (S (VP (TO to) (VP (VB switch) (PP (TO to) (NP (NNP Bactrim))))))) (. .)))
(ROOT (S (NP (DT the) (NN patient)) (VP (VBZ has) (NP (NNS cellulitis)))))
( ( The plan ) ( ( was ( to ( switch ( to Bactrim ) ) ) ) . ) )
( ( the patient ) ( has cellulitis ) )