In terms of access, data processing, monitoring and healthcare, the world's health systems experience significant transformations. The advances in data capturing and connected technology are expected to produce about 2314 exabytes of health care data for 2020 [1]. Cyber criminals put a lot of effort for gaining access of healthcare knowledge. This challenge is expected to carry the cybersecurity market to about 27.1 billion dollars in the year 2026 [2]. The blockchain technology will help to form a centralized repository for data collection in clinical experiments. This article suggests a secure system using blockchain to make sure the protection of electronic healthcare records (EHR). The framework includes sensors, Interne of things, databases and other computing resources. This framework for securing EHR will improve the security, privacy of EHR as compared to traditional healthcare system.