Embodiments of the invention are related to an implantable medical system, amongst other things. In an embodiment, the invention includes a processor, an electrical sensor, and a temperature sensor. The processor is configured to monitor myocardial electrical activity with input from the electrical sensor; identify myocardial electrical activity indicative of an arrhythmia, measure temperature of blood in the coronary venous system with input from the temperature sensor; determine if the arrhythmia is hemodynamically stable or hemodynamically unstable based on the temperature of blood in the coronary venous system, and initiate high-voltage shock therapy if the arrhythmia is hemodynamically unstable. Other embodiments are also included herein.