Implementing Block chain in Electronic Healthcare Records