MediLink: Blockchain Based Comprehensive Web
framework for Maintaining Health Records
Atharva. Makode1 , Yash. Kasar2 , Yatish. Gharat3 , Yuvraj. Gage4 , Prof.
Mandar Ganjapurkar5 and Dr. Kiran Deshpande6
1 A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
21104013.atharva.makode@gmail.com
2 A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
yashkasar305@apsit.edu.in
3 A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
21104050.yatish.gharat@gmail.com
4 A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
yuvrajgage9@gmail.com
5 A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
maganjapurkar@apsit.edu.in
6A. P. Shah Institute of Technology, Department of Information Technology,
Thane, Maharashtra, India
kbdeshpande@apsit.edu.in
Abstract- This paper proposes MediLink, a blockchain-based platform to store, share,
and manage secure medical records. Patients and care providers in healthcare systems
today typically face problems of data privacy compromises, system-to-system noninteroperability, and bureaucratic administration. These present risks to compromised
patient care as well as expose data security gaps. MediLink addresses these challenges
head-on by developing a decentralized, transparent system that places patients in
control, with full control over their medical information while ensuring the integrity and
confidentiality of the same. The platform employs smart contracts to carry out important
functions such as processing insurance claims, handling patient consent, and keeping
track of audit trails. Not only does this reduce human errors between humans but also
saves administrative burdens and costs as well. Utilizing the strength of blockchain
technology, MediLink not only secures data—yet also streamlines the easy exchange of
patient records between healthcare providers. The end result? Seamless care
coordination, enhanced patient outcomes, and a smoother experience for all
Keywords: Ethereum, MetaMask, Ganache, IPFS, Solidity, Truffle, Node.js
.
2
1
Introduction
Healthcare data management is changing thanks to blockchain technology, which
offers a secure, auditable and effective way to store and exchange patient's data. In
contrast to the vulnerable traditional centralized systems to breaches and inefficiencies,
blockchain provides a decentralized, immutable ledger guaranteeing data data
integrity, and allowing efficient systems communication between providers. This leads
to a longitudinal health record for patients of comprehensive and clinical nature,
facilitating better care coordination and access.
Blockchain provides the beneficiary of increased control over the patient's records that
creates utility in telemedicine, cross-border health, and chronic disease management.
It also enables clinical trials through maintaining data validity and traceability, and
smart contracts enable billing and insurance processes to be automated, and help
minimize errors and administrative expenses. Even with challenges such as scalability,
interoperability, and regulatory compliance, blockchain holds promise for transforming
healthcare through increased security of data, patient-centred care, and operational
efficiency. Academic breakthroughs, which is further transformed into a consistent
source of truth, that can be reliably accessed by the appropriate entities at any given
time. This not only saves time, and money, but also a trust level that is high of the
genuineness of academic degrees, and is answering to the needs of students, employers,
educational, etc.
In a world of lightning-fast information input and retrieval, this blockchain based
application guarantees real-time validation and hence facilitates real-time decision
making in critical events. As a mechanism to foster trust, facilitate workflows, as well
as to be responsive to the inherent need to be able to adapt in times of rapid change, the
Certification Validation and Verification System based on Hyperledger Blockchain is
a vital asset for the education and professional professions of the present day.
2
Literature Review
This section focuses mainly on Blockchain for generating certificates as well as
validating them. The following papers assisted us in the selection of the Blockchain
Technology and the flow of our project.
In this paper [1], the author tries to offer a summary of all applications of blockchain
in the context of health record management (EHRs). The authors delve into the current
challenges of traditional health record systems, including data security, patient privacy,
and interoperability issues. Based on analysis of different blockchain-enabled
approaches, the paper outlines the merits of leveraging decentralized and irrefutable
ledgers for health data storage and dissemination. It also discusses some future of
blockchain technology, like the use of artificial intelligence and smart contracts to
automatize and optimize the systems. Analysis in the review offers significant
information to future development of blockchain towards the healthcare industry.
In paper [2], the author provides a scalable model for health record storage on a
blockchain. Authors also discuss the shortcomings of on-chain data storage (e.g.,
scalability, performance bottleneck) and propose an off-chain solution using
distributed storage systems and blockchain technology. The designed architecture
guarantees the safe and effective handling of health records, which facilitates the speed
3
of transactions as well as cost reduction. The system performance in various scenarios
is also assessed in the study, showing that the system is able to process large volumes
of health data while maintaining security and accessibility.
In paper [3], the authors of this paper describe a blockchain-powered, decentralized
storage system using the Interplanetary File System (IPFS) for secure storage and
retrieval of medical records. By leveraging the capabilities of blockchain and IPFS
together, the system not only guarantees the immutability, integrity, and availability of
data, but also tackles the problem of scalability. The work highlights the importance of
patient-centred data management in which patients maintain direct ownership of health
data, and can delegate access to health providers on an as-needed basis. The proposed
system also consists of encryption functionalities that further secure the data privacy
and security across the data transmission and storage.
In paper [4] this paper investigates as a solution to enhance the security and availability
of electronic medical records a blockchain based approach. The proposed system uses
blockchain’s decentralized and immutable nature to store medical records securely
while enabling authorized sharing between healthcare providers. The authors also
comment on the incorporation of cryptographic methods for securing confidential
patient information and privacy. Furthermore, the system's ability of improving
healthcare interoperability is also discussed in the paper, as well as shortening
administrative blunders and building trust among stakeholders. The paper also
characterizes issues including scalability and how to meet regulatory requirements
when blockchain is being used in healthcare.
In paper [5] presents a blockchain-based solution for secure and efficient medical data
management. It integrates smart contracts and cryptographic techniques to ensure
privacy, access control, and data integrity. The proposed framework enhances security
and transparency while addressing challenges like data tampering and unauthorized
access. The study demonstrates that blockchain can improve interoperability and
scalability in healthcare systems. This aligns with my Medilink project, which also
focuses on secure and transparent healthcare data management using blockchain.
In paper [6], it states the importance of decentralized access control, data privacy, and
interoperability in healthcare systems. It shows that blockchain guarantees that data are
securely stored, ensuring that all transactions conducted are to be performed safely
through smart contracts. The above-mentioned projects align well with my Medilink
projects, which use blockchain for ensuring secure, transparent, and efficient health
data management.
In paper [7], it examines the potential of blockchain technology to enhance healthcare
through better data security, interoperability, and transparency. It covers important
applications such as secure management of patient data, more efficient medical supply
chains, and improved sharing of health records. The authors emphasize the chances to
minimize fraud and boost data integrity, while also tackling challenges like scalability,
privacy issues, and regulatory obstacles.
4
3
Methodology
• Blockchain: It is an ultramodern database medium, which enables sharing of clear
information within a business network. A blockchain database presents the data in
the form blocks that are chained together so to form a chain.
In our project we are using this to store records for patients and records
• Smart Contracts: Programs that are held on a blockchain and execute upon a set of
conditions being satisfied. They more or less always serve the purpose of making an
agreement automatically executable, so that all parties can be incontinently sure of
the result without any third party or time expenditure.
• Reliability: Reliability is largely told by Python, C, and JavaScript. It allows
heritage, libraries, and complicated stoner- defined programming. The main
programming language that systems using Ethereum blockchain operates with is
appertained to as reliability.
• Node JS: We are using for web development, and as an operation for blockchain
development it's veritably applicable. The performance, scalability, and ease- of- use
are excellent-- delivering to inventors erecting decentralized operations using knot
JS, the capability to fleetly produce high- quality results.
• MetaMask: A cybersurfed extension and cryptocurrency portmanteau for
interacting with Ethereum and Dapps. It allows deals, digital asset operation, and
commerce with smart contracts.
Its act as a demo wallet
• Ganache: A particular blockchain for Ethereum development, allowing original
deployment and testing of smart contracts and Dapps. Part of the Truffle Suite.
5
3.1
System Architecture
The system begins with secure patient-doctor interaction, enabling seamless sharing
and access to medical information. Comprehensive patient health data is stored in
Electronic Health Records (EHRs), providing a detailed overview of medical history to
support informed decision-making. Patients maintain full control over their data
through customizable access permissions, enhancing privacy and enabling them to
manage who can view their health information. The EHR data is stored in a centralized
database, acting as a secure repository for patient information. By integrating
blockchain technology, the system ensures data immutability, security, and verifiability,
fostering transparency and trust in medical data management.
Fig. 1. System Architecture
3.2
Work Flow
Here patient and doctor create account by putting needed inputs such as name, DOB,
gender, address, etc. After that set a HH number which acts as an unique key which
they need to put while login. Patient can upload their medical reports through images,
pdf file, etc and the reports can be viewed by doctor and after analysing the reports
doctor can consult the patient and provide necessary details. While uploading reports
by patients MetaMask transaction takes place. All transaction takes place via
MetaMask wallet.
6
Fig. 2. Work Flow Diagram
4
Result and Discussion
An easy interactive home page is shown where new users can register and old users i.e.
patients and doctors can login. Also, there is an About Us button which gives more
information about the Medilink website. This easy-to-use website is safe and secure for both
doctors and patients.
Fig. 3. Home Page
7
Here Doctor and Patient need to register if they are new users, while registering they need
to put valid details such as Name, DOB, Wallet public address, etc. Also they need to set
their own HH number of 6 digits and password which will be used whenever they will login
next time. After clicking on register button, MetaMask wallet opens and transaction takes
place.
Fig. 4. Doctor & Patient Registration
Whenever Patients need to upload his/her reports to the doctor they can add images,
pdf files, x-rays, etc. After clicking on submit button, a transaction takes place for
storing it in blockchain, after confirming the report is successfully uploaded and can
give me accessed by the doctor leading to patients’ privacy
.
Fig. 5. Patient Uploading Report where transaction takes place.
8
When the doctor logins, they can have the access to view reports uploaded by patients
in safe and secure manner leading to patients’ privacy.
Fig. 6. Doctor’s Record Viewer
After going through the reports of the patient, doctor can consult the patient further
where the doctor needs to add their wallet address , patient name and later give the
needful prescription to the patient.
Fig. 7. Doctor Consultancy Page
9
5
Conclusion and Future Scope
Blockchain offers a revolutionary approach to securing and managing patient health
information, improving privacy, security and data sharing. By integrating blockchain
with technologies like MetaMask, Ganache, Solidity, Ethereum and Node.js,
healthcare systems can address key shortcomings of customary centralized data
management. Blockchain's decentralized nature guarantees the immutability,
transparency and security of all patient data. This provides every patient with
complete control over their health records. MetaMask acts as a single wallet interface
for users to manage all permissions as well as securely interact with many
decentralized applications (DApps), Ganache offers a personal Ethereum blockchain
environment for testing along with the deployment of a collection of smart contracts.
Solidity, Ethereum's programming language, simplifies automated processes like data
sharing, consent management and transaction verification in smart contracts, thus
improving healthcare service efficiency. Ethereum's strong network guarantees
scalable and reliable transaction processing. Node.js handles a large portion of
backend operations, easing many rapid and highly scalable application interactions
with the blockchain.
These technologies work together to create a secure and efficient system for managing
a meaningful amount of healthcare data, preventing fraud and forbidden access, thus
improving trust and control for both providers and patients.
Blockchain-based healthcare data management systems offer important opportunities
to greatly improve healthcare delivery and strengthen patient autonomy. These
systems also offer large gains in system efficiencies. Increased blockchain adoption
will guarantee smooth data sharing among many healthcare providers, hospitals and
countries because of improved interoperability standards.
10
6
References
1.
Es-Samaali, M. El Kadi, and Y. Gahi, "Blockchain-Based Electronic Health Records
Management(2021). A Comprehensive Review and Future Research Direction," Technologies,
vol. 12, no. 1, pp. 1-19, 2021. doi: 10.3390/technologies12010068.
2.
Ganji, M. Kamal, and R. Krishnamurthy, "A Scalable Architecture for Blockchain-based Health
Record Management," Proceedings of the (2020) IEEE International Conference on Blockchain
and Cryptocurrency (ICBC), Seoul, Korea, May 2020, pp. 208-215. doi:
10.1109/ICBC49293.2020.9160339.
3.
P. Kumar, A. Singhal, and S. Gupta, "MedNcrypt: A Blockchain-based Decentralised Health
Record Storage System using IPFS," International Journal of Computer Applications, vol. 180,
no. 3, pp. 26-34, Jan. 2023. doi: 10.5120/ijca2023923018.
4.
S. Roy, A. Mukherjee, and K. Dasgupta, "Secured Storing and Sharing of Medical Records Based
on Blockchain," International Journal of Engineering Research and Technology, vol. 11, no. 4, pp.
1092-1098, Apr. 2022. doi: 10.17605/OSF.IO/VQJS7.
5.
J. Zhang, L. Xie, and X. Liu, "A Secure and Efficient Blockchain-based Framework for Medical
Data Management," Journal of Healthcare Engineering, vol. 2020, Article ID 4594365, pp. 1-11,
Dec. 2020. doi: 10.1155/2020/4594365.
6.
M. F. G. D. Lima, E. T. de Lima, and G. C. Pimentel, "Blockchain and Smart Contracts for Health
Data Sharing and Management," IEEE Access, vol. 8, pp. 217650-217662, 2020. doi:
10.1109/ACCESS.2020.3038971.
7.
R. J. Popov, M. D. Butty, and E. K. Hassan, "Blockchain for Healthcare: Applications,
Opportunities, and Challenges," International Journal of Blockchain Applications, vol. 4, no. 1,
pp. 25-41, 2022.