Denmark ranks first among the countries with the best healthcare system from the Best Countries ranking, followed by Sweden. Canada is in the third position.