Applying AI and blockchain to healthcare