Read codes for heart failure diagnosis