Keywords

1 Introduction

Organ transplantation is a medical process to remove a non-functional organ from the patient and then surgically replace it with a new organ taken from a healthy person. Organ transplantation is one of the successful treatments for patients. Patients in need of organs often die due to a lack of information about donors in time.

Organ donation process is categorised into living organ donation and deceased organ donation. In living organ donation, organs are retrieved from a healthy living person and transplanted into patients. In deceased organ donation, the functioning organs are retrieved from a deceased person and transplanted into patients. The donation trend for living donors and deceased donors between the years 2013–2017 is shown in Fig. 1. The trend of donating organs is more in the case of living donors. Nevertheless, due to a lack of public awareness, organ donations in the case of deceased donors is less compared to living donors. The lack of public awareness results in the acute shortage of organs that otherwise can be used to save lives. Therefore, there is need to create awareness about the organ donation.

Fig. 1
figure 1

Number of living and deceased organ donations from 2013–2017 [1]

The Government of India organises organ donation programs such as National Organ Tissue Transplant Organization (NOTTO) [2] and Regional Organ Tissue Transplant Organization (ROTTO) [2]. Although the Government of India organises organ donation programs, individuals hesitate to donate organs due to the lack awareness about the of current organ donation programmes. Therefore, there is a need of transparent, secure, and a scalable platform for the organ donation process.

In organ donation, the challenge is to find a matching donor. The number of patients die because of an unavailability of a donor [1, 3]. Another challenge is the lengthy paperwork that delays the whole process of organ transplant. A non-relative organ donor has to go through a number of procedures, such as, getting consent from the state government or local hospital. Moreover, there is a lack of infrastructure for organ donation which makes the whole process complex even if the donors are available.

The above challenges are tackled by creating a decentralised system for the organ donation process. The proposed ODP will help individuals who wish to donate their organs and patients who are seeking organs.

In this article, we use the blockchain, a distributed ledger to store the data and to provide tamper resistance. Blockchain technology also guarantees security and transparency [4]. Therefore, a number of individuals will join the ODP who wish to donate organs. The proposed work uses the smart contract [5,6,7] with Ethereum Network [8, 9] to make the organ donation process automatic and fast. The smart contract reduces the time required to complete due formalities.

The proposed work ensures transparency between donors and recipients (patients) and helps patients in finding the vital organ. The proposed work solves the challenge of finding organ donors and provides a choice for patients to choose organ donors. The ODP is trustworthy because all records are maintained using blockchain. The ODP eliminates the illegal smuggling of organs by restricting illegal access to ODP. The ODP will help to save lives by connecting the suitable donor to the right patient at the right time.

In this article, our contributions are as follows:

  1. 1.

    We present a comprehensive literature review to identify the challenges in the conventional organ donation process.

  2. 2.

    We comparatively evaluate the strengths and weaknesses of the state-of-the-art proposals in the domain of organ donation.

  3. 3.

    We propose a blockchain based platform to facilitate patients to find a matching donor. The proposed blockchain based platform helps in mitigating the issues found in conventional organ donation process.

  4. 4.

    We implement the proposed blockchain based platform to demonstrate the working of the proposed ODP.

  5. 5.

    We evaluate the security and performance of the proposed blockchain based platform to highlight its strengths and weaknesses.

The rest of the article is organized as follows: In Sect. 2, we discuss the related work. In Sect. 3, we discuss the preliminaries related to the proposed system. Section 4 presents the proposed ODP. Section 5 presents the experimental implementation of the proposed ODP. In Sect. 6, we conclude the article by emphasizing our contribution.

2 Related Work

Organ donation is a well-researched topic that provides patients and organ donors a common platform. Chen et al. [10] identified an issue in a rule-based strategy of prioritising kidney donation in kidney donation programs where exchanges are initiated by Altruistic Donors (ADs). Authors developed a software-based decision support system. In addition, authors considered and compared two graph-based organ allocation algorithms, namely, MEU-Parallel and MEU-Sequential [10], to find the correct match. However, the authors work does not emphasize more on other kidney-allocation algorithms.

Prajapati et al. [11] implemented an online system to manage blood and organ transplant. The online system helps in searching for blood in case of emergency and in maintaining the records of blood and organ donors.

Kadam et al. [12] discuss the drawbacks of manual blood donation and the organ donation process. Authors proposed an electronic donation system that manages the records of blood and organ donors and enables patients to monitor and find the correct donor.

Rastogi and Tiwari [13] implemented an online web-based system for organ donation and management. An administrator manages the system. The administrator holds the rights and privileges to print the organs list. However, the system depends on the administrator which makes the system centralised and vulnerable to insider threats. Similarly, Ali et al. [14] implemented a web application with the support of a mobile application for a blood donation management system.

The existing systems manage organ donations, but these systems require a connection between organ donors, patients, and central trusted third-parties. The system that uses the central trusted third-party such as hospital agents or government agents is vulnerable to insider and outsider threats and discloses the organ donor’s identity. If anonymity is not provided to organ donors and patients, the central third-party can contact patients to prioritise the patient to receive organs by asking for extra money.

Dajim et al. [15] implemented a decentralised organ donation application. Authors used blockchain technology [16, 17] to distribute the information. The use of blockchain makes the system secure and tamper-proof. However, anonymity is not provided for organ donors and patients. Rajan et al. [18] proposed a system for organ donation and transplantation using blockchain technology. Authors used smart contracts to reduce the cost of transactions. However, the system does not allow anyone to check the availability of organs. The existing systems fail to provide security, transparency, a tamper-resistance, and do not protect patients from insider and outsider adversaries.

Lakshminarayanan et al. [19] identified the dynamic update issue in blood management system. The authors proposed and implemented blockchain-based blood management system using hyperledger fabric framework to track the blood trail. The challenge of tracing thee blood trail is modelled as a supply-chain management issue. The proposed system provides transparency in blood donation process. However, the use of hyperledger fabric framework makes system permissioned. Therefore, no one can access system to get blood donation related information without getting permission from the network. Similarly, Quynh et al. [20] proposed blockchain-based innovative system to manage blood information. Authors proposed the system based on the architecture of hyperledger fabric with support of supply and demand of blood.

Hawashin et al. [21] proposed a private Ethereum blockchain-based solution to enable organ donation and transplantation management. The use of private blockchain makes system decentralized, secure, traceable, auditable, private, and trustworthy. However, the private blockchain makes the organ donation and transplantation not visible to people outside the organization.

3 Preliminaries

In this section, we briefly discuss the Blockchain [16, 17], Smart Contracts [5,6,7], and Ethereum [22].

3.1 Blockchain

“A blockchain is a continuously growing list of records called blocks, which are linked and secured using cryptography [23].” The idea to timestamp [24] all transactions is to maintain the order of transactions. In a blockchain, the new blocks are appended securely using cryptographic hash functions.

One of the fundamental features of the blockchain network is that it has no central authority. The blockchain network is shared among all the nodes and each node has a ledger or its own database, and the same copy is maintained by all nodes of the network. Therefore, any data present in the blockchain is secure, transparent, and tamper-proof [25].

3.2 Ethereum

Ethereum [22] is a stable platform that can be used to codify and exchanges based on contracts. Ethereum is an open-source, blockchain-based platform for creating and running safe smart contracts and distributed applications (DApps) [26].

3.2.1 Infura

Infura provides the tools and infrastructure with stable access to Ethere-um and InterPlanetary File System (IPFS). Infura enables developers to test and deploy its scaled blockchain applications.

3.2.2 Metamask

Metamask is a browser extension that enables users to create decentralised applications (DApps) [26] without using the Ethereum network as an Ethereum node. Metamask is also serves as wallet that stores the Ethers (cryptocurrency) and allows users to send and receive Ethers via a decentralised application (DApp) [26]. Metamask allows us to link Infura, another Ethereum node, and runs smart contracts on the node.

3.2.3 Web3.js

Web3.js is a collection of libraries that enables an HTTP or IPC connection to communicate with a local or remote Ethereum node. The Ethereum blockchain is accessed via the web3 JavaScript library. Web3.js can perform operations such as accessing user accounts, submitting transactions, and communicating with smart contracts. We use Web3 Truffle-HDWallet-provider. The Truffle-HDWallet-provider provides a convenient network to link Ethereum thro-ugh infura.io. For example, the HDWallet provider adds some truffle-required features like event filtering and transaction signing that are unavailable with Infura.

3.3 Smart Contracts

Smart contracts [5,6,7] are self-contained programmes that run on the blockchain network. Smart contracts are programmed to perform actions on blockchain as per the business logic and requirements [27]. The smart contract executes functions if certain code and business logic conditions are met or not met.

4 The Proposed Organ Donation Platform Using Blockchain Technology

We propose an efficient, secure and scalable platform to facilitate donors and patients to manage organ donation. The platform using which both donor and patient will be able to manage all the operations such as login and signup. Donors can provide the required information of the organs which he or she wish to donate, patients can also find the donors by searching for the required organ.

Fig. 2
figure 2

Proposed organ donation platform using smart contracts with ethereum

We present the whole process of the ODP as shown in Fig. 2. There are two entities in the system, namely, a donor and a recipient (patient). The entities are connected to the platform through front-end service where they can easily perform the operations such as login, signup, and search for organs. The back-end service executes the required operations requested through the front end, and all records are appended to the blockchain. The use of smart contracts [5,6,7] help in automating the organ donation process.

The algorithm is used to find the available donors for the required organs. The proposed algorithm to retrieve all donors with the same organ as recipient is as shown in Algorithm 1.

figure a

Next, we present another algorithm to find the correct donor for the patient to receive an organ and make the process more efficient so the patient can perform the transplantation in the available time. The algorithm to match donor and recipient based on location is presented in Algorithm 2.

figure b
figure c

The proposed ODP provides transparency by adding donors on the blockchain that makes all the donors visible to anyone on the blockchain network with cryptoghraphically generated keys. The cryptographically generated keys are used to protect the privacy of the donors. The algorithm to add a donor to the blockchain is shown in Algorithm 3.

5 Results and Analysis

In this section, we discuss the implementation of the proposed ODP. We also discuss each functionality implemented in detail. The ODP consist of three layers as follows:

  1. 1.

    HTML, CSS, Javascript is used as a front end user interface for the organ donor and recipient to provide all the functionalities.

  2. 2.

    A node.js server is used to interact with the Ethereum blockchain network and provides the required data to Javascript Frontend.

  3. 3.

    All the respective organ donor and recipient data are stored in a decentralised network using Ethereum.

The recipient logs in with the public key provided after registering. The credentials are to be provided by the user while signing up. The details of both donors and recipients are available in the blockchain ledger. Therefore, the proposed ODP can verify whether it is an existing user or not, if yes, then the system redirects the same to the login page otherwise, on the signup page.

There are two separate portals for both donors and patients while registering on the proposed platform. Organ donors will be asked for his or her basic information and also the list of organs donors wish to donate after filling out a consent form.

A patient will be able to register with his or her basic information and the organ that is required by the patient along with his contact information as a consent form.

Patients verifies the matched donor in the dashboard provided when patients log in, and when there are no matches, the dashboard shows the message, “no matches found” and suggests the active donor’s list as shown in Figs. 3 and 4, respectively.

Fig. 3
figure 3

Dashboard when donor is matched with recipient

Fig. 4
figure 4

Dashboard when no donor is matched with recipient

Table 1 Comparison of different organ donation systems

In order to verify the security strength of the proposed platform, we compare the proposed platform with similar proposals in the domain of organ donation. The comparison is given in Table 1. The comparison is based on the well-known security services provided by existing proposals for organ donation. Based on the comparison of different organ donation proposals, in our opinion, the existing proposals only provides a few security services. However, in the proposed ODP, the confidentiality is achieved using PKC [28], the integrity of an information is verified by comparing message digest of the information received along with encrypted information and with message digest of decrypted information. Privacy is achieved using an unique cryptographically generated key and it is unrelated to the identity of the users. Decentralization, tamper-resistance, and transparency are provided using blockchain technology [16, 17]. The protection from insider and outsider adversaries is achieved using timestamp. The platform is automated using smart contracts [5,6,7].

6 Conclusions and Future Works

In this article, we propose a platform for organ donation using blockchain technology. To protect organ donors and patients from adversaries, we need a platform that provides transparency in the organ donation system. The ODP uses blockchain technology to make the central trusted third-party, e.g. hospital agent or government agent, more transparent and accountable while managing organ donation. The ODP is trustworthy and significantly reliable. In addition, the ODP protects organ donors and patients from insider and outsider adversaries. As a future work, there is a possibility to use the optimised algorithm that supports multiple cities and hospitals as an authority to verify the donors and patients.