The data also includes hospital death rates for the most common fatal illnesses , such as heart attacks , heart failure and pneumonia .