AI and Blockchain Framework for Healthcare Applications