Improving healthcare systems with blockchains