Analysis of hospitalizations of patients affected by chronic heart disease