Blockchain is emerging as a solution to secure healthcare records but faces certain shortcomings like transaction time, execution time, gas consumption, etc. The current article designed an extensive blockchain-based healthcare system (MyEasyHeathcare) with reduced gas consumption and execution time, along with enhanced security at three levels. At the first level, the professionals and patients get registered, which provides identity access management. Secondly, authorization is required for each registered entity by the owners. Lastly, the third level includes a doctor-patient relationship where a specific patient is assigned to a particular doctor by the hospital’s owner. The data is protected from the outer world and is preserved only between the doctor and the patient. Moreover, to include the majority of tasks for hospital management, the developed system incorporates a smart contract to record seven different parameters for patient diagnosis by physician and fifteen different parameters by a pathologist. The designed system is evaluated for the amount of gas consumed and execution cost to decide the usage in the real world; the results testify the proposed system is useful in the real world.