Techniques are described for detecting and distinguishing among ischemia,
hypoglycemia or hyperglycemia based on intracardiac electrogram (IEGM)
signals. In one technique, these conditions are detected and
distinguished based on an analysis of: the interval between the QRS
complex and the peak of a T-wave (QTmax), the interval between the QRS
complex and the end of a T-wave (QTend), alone or in combination with a
change in ST segment elevation. By exploiting QTmax and QTend in
combination with ST segment elevation, changes in ST segment elevation
caused by hypo/hyperglycemia can be properly distinguished from changes
caused by cardiac ischemia. In another technique, hyperglycemia and
hypoglycemia are predicted, detected and/or distinguished from one
another based on an analysis of the amplitudes of P-waves, QRS-complexes
and T-waves within the IEGM. Appropriate warning signals are delivered
and therapy is automatically adjusted.