A method for treatment of cardiac problems includes performing modulation of a cardiac rhythm of a patient by increasing a number of heart beats the patient during time interval with high pleural pressure relative to the number during low (negative) pleural pressure, wherein an amplitude of the modulation of the cardiac rhythm between these segments is determined by severity of a respiratory effort and lung congestion of the patient.
展开▼