The twin technology of Blockchain with IoT(BIoT) deployed in healthcare systems has fetched out the mutative potentiality for accessing and managing Electronic Health Records(EHRs). However, this divergence also has considerable challenges, primarily in terms of the protection of data, scalability, and interoperability. To overcome these challenges, this research paper presents a new approach, leveraging Blockchain technology and mining mechanisms, to launch a secure, scalable, and proficient IoT cloud ecosystem for the administration of Electronic Health Records. This research study includes Blockchain scalable IoT cloud architecture intended to address the scalability problem of storing and managing large amounts of EHR records produced through IoT sensors. The proposed mechanism implements both horizontal and vertical mining concepts for the optimization of data storage as well as the retrieval processes. Horizontal mining concentrates on allocating and distributing Electronic Health Records data to more than one node, which can ultimately sink the overload on each node in the network and increase the scalability. Vertical mining, on the other flip of the coin, prioritizes the transactions, and optimizing the data with each transaction can drastically improve the acceleration speed of retrieving the data access competency. Blockchain technology constructs the core technology of BEHRHVM, assuring data integrity, privacy, and transparency. All the EHR record transactions are authorized as mutable blocks on the Blockchain framework. This mechanism improved patient privacy while accessing the secure distribution of EHRs among authorized health providers. In addition, the proposed system is built to integrate with current healthcare systems and the Internet of Things.