1. A system comprising: a sensor configured to sense activity in at least a first anatomical structure of a patient, the activity occurring in response to therapy delivered to a second anatomical structure of the patient; and a processor configured to: define a model of a network of interconnected anatomical structures of the patient, wherein the model of the network includes at least one link indicating a functional relationship between the first anatomical structure and the second anatomical structure, the model further indicating at least one stimulation induced side effect associated with therapy delivered to at least one of the first anatomical structure or the second anatomical structure; and adjust, based on the sensed activity, at least one of the functional relationship between the first anatomical structure and the second anatomical structure, or the therapy delivered to the second anatomical structure.