A medical system, comprising: one or more external or implantable sensors (1701,1702) configured to detect at least one physiological parameter; an input configured to receive at least one dialysis session parameter; and a processor in electronic communication with the one or more external or implantable sensor and the input, wherein the processor is a medical device processor configured to use an algorithm to determine a total hazard estimate of a ventricular arrhythmia based on the physiological parameters, wherein the algorithm, for each of the one or more physiological parameters of a patient, calculates an individual hazard estimate given by y 1 ( t) = h 1 ( t) ⊗ x 1 ( t), wherein h 1 (t) = k 1 e k 2 t, t is time, y 1 (t) is the individual hazard estimate at time t, k 1 and k 2 are constants for the given parameter, x 1 (t) is the physiological parameter at time t, and ⊗ is a convolution operator; and wherein the total hazard estimate is either a linear summation of individual hazard estimates according to the equation f LIN [y 1 (t),y 2 (t),y 3 (t),y 4 (t)] = y 1 (t) + y 2 (t) + y 3 (t) + y 4 (t). or a nonlinear summation of individual hazard estimates according to the equation: f SIG y 1 t, y 2 t, y 3 t, y 4 t = Sigmoidal y 1 t + y 2 t + y 3 t + y 4 t + k 9 where the Sigmoidal function is given by: Sigmoidal w = 1 1 + e − +; and wherein the algorithm utilizes an adaptive filter to alter each of the constants periodically; and wherein the medical device processor is configured to receive fluid management data and electrolyte management data and is configured to determine whether an arrhythmia is due to fluid management, electrolyte management, or both fluid management and electrolyte management; wherein the at least one or more physiological parameters include at least one of a sleep pattern, heart rate change during dialysis, fluid removed during dialysis session, and sodium level; wherein the medical device processor is configured to provide an adjustment of a future dialysis prescription for the patient based on the total hazard estimate. one or more external or implantable sensors (1701,1702) configured to detect at least one physiological parameter; an input configured to receive at least one dialysis session parameter; and a processor in electronic communication with the one or more external or implantable sensor and the input, wherein the processor is a medical device processor configured to use an algorithm to determine a total hazard estimate of a ventricular arrhythmia based on the physiological parameters, wherein the algorithm, for each of the one or more physiological parameters of a patient, calculates an individual hazard estimate given by y 1 ( t) = h 1 ( t) ⊗ x 1 ( t), wherein h 1 (t) = k 1 e k 2 t, t is time, y 1 (t) is the individual hazard estimate at time t, k 1 and k 2 are constants for the given parameter, x 1 (t) is the physiological parameter at time t, and ⊗ is a convolution operator; and wherein the total hazard estimate is either a linear summation of individual hazard estimates according to the equation f LIN [y 1 (t),y 2 (t),y 3 (t),y 4 (t)] = y 1 (t) + y 2 (t) + y 3 (t) + y 4 (t). or a nonlinear summation of individual hazard estimates according to the equation: f SIG y 1 t, y 2 t, y 3 t, y 4 t = Sigmoidal y 1 t + y 2 t + y 3 t + y 4 t + k 9 where the Sigmoidal function is given by: Sigmoidal w = 1 1 + e − +; and wherein the algorithm utilizes an adaptive filter to alter each of the constants periodically; and wherein the medical device processor is configured to receive fluid management data and electrolyte management data and is configured to determine whether an arrhythmia is due to fluid management, electrolyte management, or both fluid management and electrolyte management; wherein the at least one or more physiological parameters include at least one of a sleep pattern, heart rate change during dialysis, fluid removed during dialysis session, and sodium level; wherein the medical device processor is configured to provide an adjustment of a future dialysis prescription for the patient based on the total hazard estimate. wherein the algorithm utilizes an adaptive filter to alter each of the constants periodically; and wherein the medical device processor is configured to receive fluid management data and electrolyte management data and is configured to determine whether an arrhythmia is due to fluid management, electrolyte management, or both fluid management and electrolyte management; wherein the at least one or more physiological parameters include at least one of a sleep pattern, heart rate change during dialysis, fluid removed during dialysis session, and sodium level; wherein the medical device processor is configured to provide an adjustment of a future dialysis prescription for the patient based on the total hazard estimate.