Was rafsanjani's death preventable?

Iran's health minister has clearly expressed that the death of Hashemi Rafsanjani was preventable. He said that Hashemi was suffering from diabetes. Ghazizadeh Hashemi did not elaborate how the doctors could prevent the death of the Ex-President, but one can assume that his heart failure has something to do with the diabetes that probably was not controlled.