Patent ID: 7668591

Claim:
A system, comprising: a housing configured to be implanted; a sensor system having one or more sensors configured to sense brain activity; a brain activity detector coupled to the sensor system and configured to determine a brain state based on signals received from the sensor system; a medical system comprising a cardiac rhythm management device and configured to perform at least one respiratory or cardiac process; and a controller coupled to the brain activity detector and the medical system, the controller configured to execute program instruction stored in memory to cause the medical system to activate, de-activate or adjust the at least one cardiac or respiratory process based on the brain state, including executing stored instructions to modify a cardiac rhythm management therapy to address cardiac rhythm disturbances associated with an abnormal brain state based on identification of the abnormal brain state by at least one of the controller and the brain activity detector, wherein at least one of the sensor system and the controller are at least partially housed within the housing.