1. An implantable medical device system for implantation in a patient, the device comprising: a biocompatible housing adapted to be implanted in a patient; a respiratory monitoring element, the respiratory monitoring element adapted to sense respiratory activity and generate a respiratory signal, the respiratory monitoring element comprising a sensor stub; a processor at least partially supported by the housing, the processor adapted to receive the respiratory signal from the respiratory monitoring element and detect a respiratory event in the respiratory signal; and a therapy module at least partially supported by the housing, the therapy module adapted to deliver a therapeutic output to a brain of the patient when a respiratory event is detected by the processor.