Optimization and Prioritization of Cardiac Messages