There are a number of real-world instances of blockchain-based systems that are being used or suggested for medical data security, but their implementation is limited and fraught with difficulties. To assure the moral and legal use of patient data in blockchain-based medical data systems, legal and regulatory challenges must be addressed. The technological, legal, and adoption issues relating to blockchain-based medical data systems are currently being researched and developed. Furthermore, there are many benefits and problems associated with implementing blockchain-based medical data systems, including enhanced data security and privacy, interoperability and care coordination, efficiency and cost reduction, and support for medical research and innovation. This research explored the advantages, constraints, and legal and regulatory ramifications of blockchain technology's use in protecting medical data. This study discusses how medical data management could be substantially more secure, interoperable, and effective via blockchain technology.