The healthcare sector is continuously evolving, and it is anticipated that the next healthcare model would be information-focused. Cloud computing technology can help the sector handle heterogeneous sources of data and the effective convergence of data. Due to security and privacy considerations, it is challenging to transfer a medical record from multiple hospital databases. Consequently, the article proposed a blockchain-based patient information management system by using the Blockchain-based Privacy-Preserving and Robust Healthcare data (BPPRH). This transfers the medical data to the patient through the cloud more securely. The cloud is modelled with the hypervisor and VMs. During the data transmission or storage in the cloud, there are several attacks like ransomware, malicious insiders, Man-in-the-middle attack, malware injection attacks, and Denial-of-Service attacks (DoS) occur in the network. Modified Fuzzy Particle Swarm Optimization (MFPSO) is presented to detect these threats. After detecting the attacks, Edge-Cloud-based Collaborative Systems (ECCS) prevent the data from attackers with the use of Regularized Maximum Likelihood Estimation, Inverse Network, and Shadow Model Reconstruction models. The results showed that the system provides better security with high accuracy of 99.32% respectively. The proposed Blockchain-based architecture is designed to contribute to the healthcare management systems' robustness and to avoid recorded security limitations in commonly used systems for smart healthcare respectively.