Skip to main content
Elsevier - PMC COVID-19 Collection logoLink to Elsevier - PMC COVID-19 Collection
. 2022 Feb 5;167:107995. doi: 10.1016/j.cie.2022.107995

Blockchain-based Supply Chain Traceability for COVID-19 personal protective equipment

Ilhaam A Omar a, Mazin Debe b, Raja Jayaraman a,, Khaled Salah b, Mohammad Omar a, Junaid Arshad c
PMCID: PMC8817762  PMID: 35153368

Abstract

The COVID-19 pandemic has severely impacted many industries, in particular the healthcare sector exposing systemic vulnerabilities in emergency preparedness, risk mitigation, and supply chain management. A major challenge during the pandemic was related to the increased demand for Personal Protective Equipment (PPE), resulting in critical shortages for healthcare and frontline workers. This is due to the lack of information visibility combined with the inability to precisely track product movement within the supply chain, requiring a robust traceability solution. Blockchain technology is a distributed ledger that ensures a transparent, safe, and secure exchange of data among supply chain stakeholders. The advantages of adopting blockchain technology to manage and track PPE products in the supply chain include decentralized control, security, traceability, and auditable time-stamped transactions. In this paper, we present a blockchain-based approach using smart contracts to transform PPE supply chain operations. We propose a generic framework using Ethereum smart contracts and decentralized storage systems to automate the processes and information exchange and present detailed algorithms that capture the interactions among supply chain stakeholders. The smart contract code was developed and tested in Remix environment, and the code is made publicly available on Github. We present detailed cost and security analysis incurred by the stakeholders in the supply chain. Adopting a blockchain-based solution for PPE supply chains is economically viable and provides a streamlined, secure, trusted, and transparent mode of communication among various stakeholders.

Keywords: Ethereum, Cybersecurity, PPE Supply Chain, Traceability, COVID-19

1. Introduction

The unexpected and quick spread of the COVID-19 epidemic has had a huge impact on people’s lives and communities all over the world. The impact of COVID-19 is not only limited to healthcare but has also affected finance, trade, and global economy, and other sectors. Asian Development Bank estimated that the cost of the pandemic could range between $2 trillion and $4.1 trillion globally (Alegado, 2020). One of the critical challenges during the COVID-19 pandemic has been the timely and sufficient availability of Personal Protective Equipment (PPE), prioritizing frontline workers and medical staff. However, the COVID-19 highlighted major shortcomings in the current healthcare supply chains to meet the extraordinary demand for PPE. Factors such as hoarding, panic buying, and misuse of PPE have immensely disrupted the supply chain putting many lives at risk (Park, Kim, & Roth, 2020). The sudden increase in demand for PPE, such as gloves, gowns, face shields, surgical masks, and goggles, has triggered overwhelming global production and corresponding price increase, making inequitable distribution of access to PPE.

During the COVID-19 pandemic, healthcare facilities (clinics and hospitals) faced extraordinary demand for providing necessary care to patients around the clock. Healthcare workers on the frontline are at a higher risk of being exposed to the virus. Hence, healthcare workers must wear appropriate PPE not only to prevent straining the healthcare system but also to effectively reduce further disease transmission. However, stockpiles of PPE in various countries are diminishing due to the pandemic’s effect, which has caused clinics and hospitals to repeatedly use single-use items. However, this crisis is not new to the world as supply chain vulnerabilities were confronted during the year 2014 Ebola virus and year 2009 H1NI1 influenza epidemics (Armani, Hurt, Hwang, McCarthy, & Scholtz, 2020). It is observed that the most significant challenge during a crisis is to ensure that an adequate quantity of PPE items are available for healthcare workers to use as and when needed (Park et al., 2020). Consequently, combating this challenge requires creating a traceable, efficient PPE supply chain system.

An efficient supply chain is fundamental to a fully functional healthcare system. Thus, the health supply system must be designed to quickly and reliably deliver crucial health commodities such as medicines, vaccines, and PPE during infectious disease outbreaks. The COVID-19 outbreak has further exacerbated supply chain vulnerabilities across different industries as a result of travel bans and factory shutdowns. This added newer challenges to PPE supply chains, as many countries rely on exporting PPE rather than stockpiling to optimize the use of resources. Moreover, there has been a rise in counterfeit PPE amid the COVID-19 outbreak (Lagasse, 2020). In India, for example, about 50,000 of 170,000 PPE kits failed the quality and safety test and had to be destroyed. (Rana, 2020).

Blockchain technology offers a distributed, secure and transparent approach to information exchange in the supply chain. Blockchain technology continues to prove its capabilities in various areas. It has also proven its capabilities in the healthcare sector, such as in managing patient healthcare records, simplifying clinical trial processes (Omar et al., 2020b), tracking donations, and supplies (Marbouh et al., 2020). This is possible due to the advancement in blockchain technology since its first release in 2008 in the form of Bitcoin. However, with Ethereum representing the second-generation blockchain technology, the use of blockchain in the diverse setting has grown, especially due to the introduction of smart contracts, which act as self-managing software in the network. Hence, blockchain can facilitate secure information exchanges among geographically dispersed stakeholders, improve global trade logistics such as transportation management, procurement, tracking and tracing shipments, and trade finance (Omar, Jayaraman, Salah, Debe, & Omar, 2020a). In this paper, we integrate Ethereum smart contracts along with decentralized storage technology to propose a blockchain solution for tracking PPE from its manufacturing stage to its end users. Our solution requires both on-chain and off-chain storage to record information. The on-chain records in the form of transactions are stored within the ledger, whereas the off-chain storage is used by smart contracts for documentation and verification purposes.

The primary goal of this paper is to develop a trusted, blockchain-based PPE tracking system. The main contributions are summarized as follows:

  • We develop an Ethereum blockchain-based tracking system to track and verify PPE via secure and trusted distributed ledger on the blockchain network using smart contracts and decentralized storage.

  • We present a framework along with the algorithms that determine the operating principles of the blockchain-based PPE monitoring system, as well as a detailed sequence diagram that details stakeholder interactions.

  • We test and validate various scenarios of the proposed system functions to assess the practicality of the proposed solution.

  • We present cost and security analysis to demonstrate the feasibility of implementing the proposed solution.

The rest of this paper is structured as follows: Section 2 offers a brief background on the PPE supply chain and explains the significance of utilizing blockchain solutions for tracking. Section 3 provides related literature. Section 4 presents the system methodology and architecture of the proposed system, the implementation details are discussed in Section 5. Section 6 presents the results of testing the proposed solution. Furthermore, Section 7 details the cost and security analysis of the proposed solution, and Section 8 presents the conclusions.

2. Background

In this section, we provide background information related to the current PPE supply chain challenges and explain the importance of adopting blockchain technology in enhancing the tracking and traceability of PPE.

2.1. PPE Supply Chain Challenges

A supply chain system comprises various elements, including people, organizations, resources, and activities such as management and planning. These elements work together in moving a product or service from the manufacturer to the end-user, involves collaboration and coordination with various stakeholders such as suppliers, shippers, distributors, and wholesalers. A typical PPE supply chain shares similarities with this model and is illustrated in Fig. 1 . However, crucial supply chain elements have been disrupted in the PPE supply chain owing to the COVID-19 pandemic. For instance, manufacturers encountered difficulty in meeting the sudden surge in PPE demand due to bottlenecks in the process and material shortage.

Fig. 1.

Fig. 1

PPE supply chain process flow.

However, the lack of transparency and asymmetric information among multiple entities are major challenges in the healthcare supply chain. Each entity in the process manages and controls their data in silos that limit the view of other stakeholders in the chain affecting lead times and overall efficiency of the business operation. This potentially results in delays due to poor coordination and collaboration. Moreover, it may give rise to discrepancies in records as each stakeholder only trusts data owned by them without consensus with other stakeholders in the supply chain process resulting in intentional and unintentional data inconsistencies.

Finally, as with any other natural catastrophe, the COVID-19 pandemic also witnessed opportunistic businesses taking advantage of the chaotic management to produce counterfeits. This problem is aggravated due to the sudden heavy reliance of customers on online marketplaces, which has historically been low-barrier for fake and substandard products (Vosoughi, 2020). For instance, it has been reported that Amazon had to remove more than 1 million fake products that claimed to protect consumers from the COVID-19 (Thorbecke, 2020).

2.2. Enhancing PPE Supply Chain using Blockchain Technology

The adverse impact of the COVID-19 pandemic is not limited to local supply chains alone but has also affected international trade as well. The flow of goods and services has been disrupted due to trade restrictions, which resulted in logistic partners delaying transportation and suppliers halting production. Hence, technologies such as blockchain and decentralized storage systems are being studied in trade networks. Blockchain has the potential to enable supply chain processes to become more tolerant during future unanticipated outbreaks. Unlike traditional public ledgers, it is a chain of blocks linked together using encryption technology, with each block containing records of confirmed and legitimate transactions that cannot be changed or erased by anybody in the network (Zheng, Xie, Dai, Chen, & Wang, 2017). The ledger is distributed to all nodes in the network, which in turn promotes transparency and minimizes the chances of data manipulation (Zheng et al., 2017). Block-chain can be used to satisfy the requirements of the PPE supply chain system, such as monitoring PPE supply, distribution, and consumption to predict potential distribution needs or supply pitfalls during outbreaks in an efficient manner (Priyanka, Lokeswari, & Amaravathi, 2020). It can monitor proficiently due to its inherent characteristics, such as immutability and decentralization. For instance, adopting a decentralized network in the supply chain would allow stakeholders to become aware of all the activities taking place without interference from third parties. Moreover, ensuring immutability reassures stakeholders that unauthorized users will not be able to tamper with the records stored in the distributed network due to the cryptographic nature of the technology and time-stamped records (Zheng et al., 2017). These features are crucial in carefully monitoring PPE distribution and purchase to ensure that patients receive the best healthcare available during epidemics while making sure that the PPE available in the market complies with the standards set by regulatory authorities such as the Centers for Disease Control and Prevention.

Moreover, the distributed nature of the blockchain network promotes information sharing simultaneously as each member of the network would have a copy of the ledger containing all the transactions that occur in the supply chain. This feature is advantageous because stakeholders will be able to make choices much faster because they will be made aware of all activities taking place in real time. Hence, transparently sharing knowledge maximizes opportunities to increase overall PPE preparedness. This may include sharing information such as the estimated number of PPE needed in each clinic and hospital or finding means to prioritize limited resources based on the orders placed by the government.

3. Related Work

This section discusses the relevant literature on the use of blockchain technology in the healthcare sector, namely the supply chain industry. Toyoda et al. used blockchain technology in conjunction with radio frequency identification (RFID) technology to detect and track counterfeit products. The use of blockchain in this case especially protects against cloning attacks for traditional RFID-based approaches. The authors proposed a novel product ownership management system (POMS) of RFID-attached products that utilize the Ethereum platform to prove product ownership (Toyoda, Mathiopoulos, Sasase, & Ohtsuki, 2017). On the other hand, Malik et al. introduced ProductChain to support provenance in supply chain products. The paper proposes the use of a three-tiered architecture that ensures data availability while limiting access to competitive partners and handling valid transactions (Malik, Kanhere, & Jurdak, 2018). Similarly, Wang et al. proposed a smart contract-based solution to trace products in the supply chain to register products and allowing users to track them via events triggered in the contract (Wang, Li, Zhang, & Chen, 2019). Moreover, (Agrawal, Kumar, Pal, Wang, & Chen, 2021) proposes a blockchain-based traceability framework for the textile and clothing (T&C) sector supply chain to address the research gap related to supply chain traceability. Although the provided solution is designed for the T&C sector, it can be tailored to meet any supply chain sector by applying the necessary modifications.

In fact, several papers, including (Azzi et al., 2019, Longo et al., 2019, LLohmer and Laschohmer and Lasch, 2020) discussed the benefits of using this technology specifically in supply chains due to its ability to create a more transparent and end-to-end tracking system while simultaneously reducing paperwork and counterfeit products. These papers also shed light on the current barriers to adopting this technology. For instance, lack of necessary infrastructure, legal uncertainties, staff resistance, and unclear governance structures. However, there are various potential applications of using blockchain technology, such as in blockchain-based logistics monitoring system (Helo & Hao, 2019). The paper presented a solution targeted towards parcel tracking in supply chains to provide a transparent and immutable history record for each transaction. On the other hand, Maity et al. used the blockchain framework into their stochastic batch dispersion model to make data readily accessible to all members in the decentralized network while maintaining data privacy and ensuring transparency among the members (Maity, Tolooie, Sinha, & Tiwari, 2021). Blockchain technology can also be used to handle business transactions due to its novelty and diverse sets of value propositions (Zutshi, Grilo, & Nodehi, 2021). This is because the technology is designed to provide several value propositions beyond decentralized storage, such as the evolution of a new generation of multi-stakeholder business interactions and innovative crypto investment models.

Furthermore, Sunny, Undralla, and Pillai (2020) discusses the challenges in a centralized supply chain, such as single point of failure and data manipulations. The work done in Rowan and Laffey (2020a) discusses how the COVID-19 pandemic has brought upon an international disaster to various economic activities, including supply chain management, logistics, operations, and several others. The authors discuss a case study from the Republic of Ireland in order to devise solutions for the shortage of PPE caused by the pandemic. Some of these issues and challenges discusses are due to shortcomings in the traditional centralized supply chain model and can be overcome using a decentralized approach. Moreover, the authors in Dai, Bai, and Anderson (2020) discussed the shortage of PPE in the US during the COVID-19 pandemic. The paper claims that the lack of data transparency has led the top-ranked country in health care spending to suffer from PPE shortage, which was otherwise predictable and preventable.

The paper also presents an overview of the various blockchain-based traceability solutions reported in the literature in various sectors such as food/agricultural supply chain, pharmaceutical supply chain, Courier Express Parcel (CEP) supply chain, luxury supply chain, consumer electronics supply chain, manufacturing supply chain, automobile supply chain and others. Also, Lim, Li, Wang, and Tseng (2021) highlights the potential of using this technology and carries out a detailed analysis to answer particularly the value of blockchain in supply chains and the types of industries involved in blockchain-based supply chains. The results revealed a growing interest in applying this decentralized technology in various supply chain operations.

Kumar et al. highlight in their article that PPE ranks roughly among the top 50 critical items (Das, Bera, & Giri, 2021). In fact, Khurshid (2020) reports that IBM developed Rapid Supplier Connect blockchain solution to help health institutions and government organizations in locating vendors for PPE and medical supplies during the COVID-19 epidemic to help address the medical supply chain shortages. Moreover, there is rising international worry over the scarcity of crucial one-time-use PPE in the supply chain as they are heat sensitive and are not designed for recycling (Rowan & Laffey, 2020b). This urges the need for solutions such as blockchain. For instance, Amin, Zuhairi, and Saadat (2021) designed a Hyperledger Fabric Blockchain-based Biomedical Engineering Supply Chain (BESC) solution to alleviate centralization control where BE-SC mainly supplies crucial medical equipment such as PPE and Covid-19 testing kits to the healthcare sector.

However, limited research has been conducted with respect to the application of blockchain within the healthcare supply chain system in general and their use for PPE supply chains in particular. We believe that the COVID-19 pandemic has highlighted the need for improved transparency and efficiency within these supply chains. Therefore, we propose a solution tailored specifically towards the PPE supply chain so as to enhance the visibility of stakeholders across the supply chain and enhance the efficiency of business processes. Details of our proposed solution, along with validation and cost, and security analysis, are presented in the following sections.

4. Proposed Blockchain-based PPE Tracking Solution

We propose a blockchain-based solution for effective tracking of PPE to ensure end-to-end traceability while maintaining quality assurance so as to ensure end-users that items being sold to them comply with the regulatory standards. Our solution adopts blockchain technology to promote transparency between various stakeholders, including manufacturers, distributors, shippers, wholesalers, and providers such as hospitals and clinics in the PPE supply chain. Moreover, our system develops smart contracts and decentralized storage technology using the Ethereum network, as demonstrated in Fig. 2 . This is to enable authorized users in the network to track orders in real-time by using the unique product ID allotted to each PPE item. The devised system architecture, process flow, and system functionality are designed to satisfy the Critical Success Factor (CSFs). These factors include a robust, bug-free system that delivers the expected functionality without errors. In addition, a blockchain-based system is typically expected to have complete availability and experience no downtime due to its decentralized nature. Data transparency is also a key component in producing a supply chain solution that overcomes the shortcomings of traditional centralized supply chain models. Finally, the ability to trace the data sources back to their origin for a transparent interaction is required by such a solution.

Fig. 2.

Fig. 2

System overview of a blockchain-based PPE tracking process using Ethereum smart contracts and decentralized storage system.

4.1. Stakeholders and Components

We describe the role of each stakeholder and component in the proposed system below.

  • Regulatory Authority: Responsible for registering stakeholders in the blockchain network as well as monitoring the overall supply chain process. Also, it ensures that any PPE, medical equipment, or drugs available in the country abide by the necessary rules and regulations set by authorities such as the US Food and Drug Administration to ensure their safety, quality, and efficacy.

  • Manufacturer: Creates products such as pharmaceutical or medical supplies using raw materials found in research labs and manufacturing plants. A manufacturer also studies the market, identifies the needed products, acquires the raw materials, determines the sufficient quantity required to meet customer demand while making sure these products satisfy regulatory standards. Simultaneously, a manufacturer must be able to predict events that would result in potential PPE shortages, such as raw material disruptions during natural disasters or production disruption during pandemics.

  • Distributor: Obtains the medical supplies and equipment from manufacturers and distributes them to wholesalers or delivers them to healthcare facilities or clinics. During the process, the distributor may repackage or re-label to ensure special care is taken when handling medical products. Distributors act as intermediary entities between the manufacturer and providers in the supply chain.

  • Wholesaler: The role of the wholesaler is to mainly satisfy the needs of the healthcare provider, making PPE available in large quantities.

  • Shipper: When orders are confirmed, wholesalers communicate with the shipment company to provide transportation service in return for a shipping fee that would be agreed by both the wholesaler and the healthcare provider. When the shipment is confirmed, the shipper provides the real-time status of the order in the network for both parties to see.

  • Hospital/Pharmacy: Healthcare providers vary as these can be clinics, hospitals, pharmacies, etc. They are responsible for supplying healthcare equipment to their staff and consumers. One of their key responsibilities is to monitor the quantity of PPE required while providing the appropriate demand information to distributors or wholesalers to help identify potential distribution challenges or supply shortages.

  • Consumers: These can be hospital staff, patients, or even the general public. They influence the demand for PPE items in the supply chain and usually only engage with the healthcare providers.

  • Ethereum smart contracts: A code generated to automatically execute functions according to the terms and conditions agreed upon by stakeholders in the network. It acts as a software agent which verifies transactions without interference from third parties. Our proposed solution comprises three smart contracts where each one is specialized in a particular task. The registration contract focuses on registering all the stakeholders in the network while the order management contract handles and manages the orders. Lastly, the lot contract details the description of the lot in terms of the quantity it holds, the type of PPE, certification, etc. Parizi et al. (2018).

  • Decentralized storage technology: Using a peer-to-peer distributed file system such as Filecoin or Interplanetary File System (IPFS) aid in connecting all nodes in the network to the same file system (Benet, 2014). Authorized users in the network can store large amounts of data in IPFS and store the immutable IPFS links in the blockchain transactions, which are time-stamped and secured using cryptographic technology. This is beneficial as users do not have to store the data on the chain. Thus, the combination of blockchain and distributed storage proves to be valuable since the nodes in the network would only store the indexed information, which would help locate where the data is stored.

4.2. Process Flow

The system is captured as a series of functions and events in sequence diagrams Fig. 3, Fig. 4, Fig. 5 highlighting the interaction between each stakeholder and contracts. Initially, each stakeholder in the network is registered using their Ethereum address in the registration contract. The system then allows the distributor to deploy the OrderManager contract and upload information related to the PPE such as Product ID, quantity required, manufacturer address by calling the placeOrder() function as shown in Fig. 3 . This triggers an event to all the stakeholders that the order has been placed successfully. The manufacturer uses this information to upload the order ID and status of the order using the confirmOrder() function. Then an event is triggered depending on the status of the order alerting the stakeholders, whether it is accepted or rejected.

Fig. 3.

Fig. 3

Sequence diagram showing the function calls and events between manufacturer and distributor.

Fig. 4.

Fig. 4

Sequence diagram showing the function calls and events between distributor and wholesaler.

Fig. 5.

Fig. 5

Sequence diagram showing the function calls and events between wholesaler and provider.

The manufacturer then deploys the Lot contract when the order is accepted. Then details such as the batch number, product name, and ID along with the quantity are uploaded in the Lot contract, and files such as product certification and material composition are uploaded as hash documents in the decentralized storage system such as IPFS. An event is then triggered, alerting the stakeholders that the lot is approved and ownership is transferred to the distributor. When the order is received by the distributor, then the distributor uploads the status of the order using the confirmReceived() function. Finally, the stakeholders are notified that it is received only when the order is delivered successfully and accepted by the distributor.

However, Fig. 4 captures the interactions between a distributor and wholesaler. Initially, the distributor uploads the information required to place the order, such as the quantity and product ID, using the placeOrder() function. This alerts the stakeholders in the network that the order is placed successfully, leading to order confirmation by the distributor using the confirmOrder() function. Furthermore, the order status is notified to all stakeholders, similar to the interaction between the manufacturer and distributor. The ownership is transferred from the distributor to the wholesaler upon successful order completion. Finally, an alert is triggered to all stakeholders when the order is received and accepted.

Moreover, we also capture the interactions between the wholesaler and provider, such as a hospital or pharmacy, as illustrated in Fig. 5 . In this case, the wholesaler specifies the quantity required by the provider by calling the sellToProvider() function. The contract then updates the remaining quantity available in the lot, and when the quantity reaches zero, the contract self-destructs.

5. Implementation

This section presents the implementation details of the blockchain-based solution for enhancing traceability and managing PPE. The system overview presented previously was implemented on a test Ethereum blockchain. Remix IDE was exploited to deploy smart contracts using Solidity language. his code can be found in GitHub. 1

There are three different types of smart contracts in our solution: Registration smart contract, Lot smart contract, and the order management smart contract. These smart contracts are used for different purposes, explained below.

  • Registration smart contract: This smart contract is deployed by the owner of the system, such as a government or other entity. The registration smart contract is deployed once and used to manage the addresses of all stakeholders. Each stakeholder is identified by a unique identifier made up of 20 bytes called the Ethereum Address (EA). Manufacturers, distributors, wholesalers, and providers are all registered in this smart contract. In addition, other related smart contracts consult it to verify the identity of an entity through its EA.

  • Order management smart contract: Registered wholesalers contact distributors to place an order for specific PPE. Distributors can also order a new PPE lot from manufacturers if they are out of stock. These processes are done through this smart contract, where it announces the placement of new orders. The smart contract verifies the identity of the participating entities before placing the order. Subsequently, all updates about the orders are recorded in this smart contract, including the order confirmation and order delivery. Each order here is recognized by a unique 32-byte number. This identifier is mapped to the product ID, the quantity ordered, the address of the entity who placed the order, and the address of the order receiver.

  • Lot smart contracts: These smart contracts are deployed whenever a new lot of PPE is dispatched. Each lot smart contract is identified by its EA, and the details about the lot are all stored in the contract once it is created. These include the type of product in the lot, its name, the material and composition hash file, the batch number, the CE certificate hash file, the total quantity originally ordered, and the remaining quantity after distributing it to various providers. In addition, the lot smart contract keeps track of the ownership of the PPE lot. Any change of ownership from manufacturing to usage is recorded on the blockchain with the owner’s EA address and type. The fixed EA address of the registration smart contract is also stored for reference to validate the identity of wholesalers.

Fig. 6 shows the different entities of the solution and interactions among them. The registration smart contract registers the addresses of all stakeholders and stores them. This smart contract is referred to by other contracts to verify the identity of a specific entity. For instance, the lot smart contract checks the EA of the entity requesting a transfer of ownership for a lot as well as the EA of the new owner. Each new shipped lot has a corresponding lot smart contract that stores the details of the lot. This type of smart contracts can only be deployed by registered manufacturers. An order for the lot should be placed prior to its production. This is achieved through the order management smart contract. Wholesalers and distributors can place orders, and the smart contract informs the appropriate entities and records the request. Subsequently, the manufacturer or the distributor confirms the order by contacting the smart contract. Lastly, the order requester confirms the delivery of the shipment by triggering the relevant method in the smart contract. The order in this smart contract comprises several details, as shown in Fig. 6. It records the address of the entity that requested the order, the entity that confirmed it, the type of product, and the quantity ordered. Additionally, further details about the time of requesting, confirmation, and order delivery can be deduced from the events broadcasted at each step.

Algorithm 1

Placing an order for PPE

graphic file with name fx1_lrg.gif

Fig. 6.

Fig. 6

Relationship between different entities of the system.

The process of acquiring a PPE lot by a wholesaler starts by sending an order request to the manufacturer. Algorithm 1 presents the process of placing an order for a PPE lot. The wholesaler triggers the method for placing an order in the order management smart contract with the parameters set to the specific product wanted and the quantity required. If the distributor does not have the specific items requested by the wholesaler, it can request the transfer of a new lot by the manufacturer. The smart contract validates the addresses of the requester as well as the entity that the products are requested from. After validation, a new 32-byte order number is generated by the contract to refer to this specific order. The order is sent to the order receiver that reviews it and responds to the order request. The request can be rejected if the product ID is invalid, the quantity is unavailable, or for any other reason. On the other hand, if said order is valid, the receiver accepts it, changing its status in the smart contract. The requester of the PPE order makes the final modification in the order status when it is received.

Algorithm 2

Generating a new PPE lot

graphic file with name fx2_lrg.gif

Alongside the confirmation of the order by the manufacturer, it also generates a lot smart contract as explained in Algorithm 2. This smart contract communicates with the registration smart contract to verify that only approved manufacturers can generate these smart contracts. The manufacturer stores the details of the lot in its designated smart contract. These include information about the product, its certification, the materials used, and the number of items. In addition, to confirm the order delivery as described in Algorithm 1, the current owner also transfers ownership of the lot in the lot smart contract. This is done upon the delivery of the lot to every single entity until it reaches the wholesaler that ordered it. The smart contract validates the identity of each member before transferring ownership to it. It also automatically detects the role of the owner through its EA. When the wholesaler wants to dispense parts of the PPE to different providers (hospitals, pharmacies, healthcare centers, etc.), the smart contract deducts the sold quantity from the available stock, and the items are shipped to the provider. Subsequently, an event is triggered, announcing the details of the sale. Finally, the smart contract self-destructs when the lot is exhausted.

6. Testing and Validation

This section provides a concise explanation of the testing strategy to verify and validate the solution developed. Remix IDE was utilized to test the various smart contracts. This IDE provides a virtual development, deployment, and testing platform to evaluate Ethereum smart contracts. Transactions are explored via Remix, which include transaction source, input parameters, outputs, execution costs, and events triggered with their details. Debugging and correcting run-time errors is made easier with exceptions clearly displayed for developers. These errors are either enforced by the blockchain, such as gas limits or implemented manually in the smart contract, such as incorrect addresses.

The registration and order management smart contracts are deployed once and are given unique addresses by the IDE. These addresses are constant and not like lot smart contracts that are generated dynamically by PPE manufacturers. To test the implemented solution, the different stakeholders are registered, and a test supply chain was implemented with different scenarios. Remix IDE provides a list of random Ethereum addresses that were used to enroll different entities through the registration smart contract. The distributor then sends an order request to the order management smart contract. The smart contract verifies the order and announces it so that the manufacturer can view it, as it can be seen in Fig. 7 . The shown event consists of the order ID, the manufacturer and distributor addresses, the product ID, and the quantity ordered. The smart contract was tested for approving and rejecting the order.

Fig. 7.

Fig. 7

Event showing the placement of a new PPE order.

In the case of approval by the manufacturer, it informs the smart contract and proceeds to prepare the PPE lot for transfer. A new lot smart contract is also created. This smart contract holds the details of the lot, as shown in Fig. 8 . This smart contract is only allowed to be generated by approved manufacturers, which is confirmed by the registration smart contract. Once the distributor acquires the lot, it can sell it to wholesalers that dispense it to retailers and PPE providers, including hospitals and pharmacies.

Fig. 8.

Fig. 8

Lot details after being delivered.

Selling PPE to independent entities that use them or re-sells them is done through the lot smart contract as well. The smart contract first verifies the address of the provider. If the registration smart contract approves the EA, the lot smart contract deducts the amount ordered by the provider. If the available inventory in that lot is insufficient to meet the sale requirement, the smart contract generates an error that can be seen in the logs of Remix. Fig. 8 shows the exception thrown when upon the event of stock shortage.

Finally, all available items in the lot are sold to retailers and providers. Therefore, the current lot smart contract is not useful and has no purpose. Therefore, it self-destructs and is not accessible anymore. The previous events are still available for backtracking previous transactions. But no new transactions are possible. In Remix, it can be seen that the execution cost becomes zero has no functions executed by the smart contract, as shown in Fig. 9 .

Fig. 9.

Fig. 9

Execution gas cost hits zero after smart contract self destructs.

7. Discussion

In our paper, we have implemented a blockchain-based solution for tracking PPE, especially during pandemics. Our proposed solution captures the main operations that take place in PPE supply chains. We discuss the cost and security analysis of the proposed system.

7.1. Cost Analysis

Ethereum smart contract functions spend gas when triggered. The gas cost of a function is contingent on the function in the smart contract comprising its inputs, outputs, size of the Solidity code, and its complexity. These form the execution gas cost of the transaction. In addition, the cost of actually sending the transaction to the blockchain is added to the execution gas cost to make up the transaction gas cost. The actual price paid by the Ethereum client depends on the gas price that it sets. The gas price chosen by the client is multiplied by the gas price of the transaction to compute the number of ethers to be paid. Having said that, higher gas prices guarantee faster execution of the transaction as it would be more compelling to miners for higher rewards. Miners have little interest in mining transactions with low gas prices and would hardly pick them.

Table 1 presents the various methods in all the aforementioned smart contracts with the transaction and execution cost in gas, as reported by the IDE. To improve readability, the gas costs are converted to fiat currency (USD). As mentioned earlier, the actual cost of the transaction depends on the gas price of the Ethereum client. The cost analysis table includes three conversion rates, as mentioned in Eth gas station (2020) on September 10th, 2020, at the time of this writing. Moreover, 1 Ether is currently worth $373.33 on the same day. The three rates of conversion mentioned slow execution that costs 121 Gwei, or $0.000045 per gas, average execution that costs 129 Gwei, or $0.000048 per gas, and fast execution that costs 128 Gwei, or $0.000051 per gas. With the exception of the placeOrder method, the cost of each function is less than $1.5 each for slow execution, less than $1.6 each for average execution, and less than $1.7 each for fast execution. Placing orders cost a lot of gas due to the generation of a random order ID dynamically. This analysis justifies the use of Ethereum smart contracts for ordering and management of PPE.

Table 1.

Gas cost of Ethereum functions in USD.

Method name Transaction gas cost Execution gas cost Slow execution (USD) Avg. execution (USD) Fast execution (USD)
registerManufacturer 45709 23029 1.02822 1.09619 1.17268
registerDistributor 45754 23074 1.03025 1.09833 1.17497
registerWholeSaler 45775 23095 1.03117 1.09936 1.17604
registerProvider 45624 23008 1.0273 1.09519 1.17161
transferOwnership 55866 33186 1.48172 1.57969 1.68991
sellToProvider 39843 16971 0.75774 0.80785 0.8642
placeOrder 119230 94950 4.23944 4.51973 4.83504
confirmOrder 51987 28347 1.26567 1.34936 1.44349
confirmReceived 35436 11988 0.53523 0.57066 0.61044

7.2. Security Analysis

In this section, we examine important features of the proposed blockchain PPE tracking system in addressing significant security and privacy concerns such as confidentiality, data integrity, availability, non-repudiation, and vulnerability to cyberattacks

  • Confidentiality: The blockchain uses pseudonyms to protect the identity of the participants ensuring their privacy. This promotes transparency as all stakeholders in the supply chain would be aware of the activities occurring at any point in time as valid transactions are time-stamped and stored in the blockchain. Moreover, supply chain visibility is crucial to avoid making order errors. For instance, all manufacturers, distributors, and wholesalers are referred to by their EAs in the proposed system, and therefore, their identities remain protected.

  • Data integrity: Integrity in a blockchain-based system means that data recorded in the network is accurate and is not allowed to be modified or deleted by anyone in the network. Moreover, data integrity is maintained as valid transactions in a block are secured using cryptographic mechanisms. This is possible as any order placed by a distributor or a wholesaler within the proposed system gets stored as a valid transaction in the ledger, which becomes immutable and cannot be canceled or reversed.

  • Availability: This refers to the capability of the blockchain system to withstand attacks and remain operational even in the occurrence of malicious code such as a denial of service (DoS) attack. This is possible due to the distributed nature of blockchain technology. Thus, all functionalities such as ordering lots, dispatching, transferring ownership, and selling items are available at all times, even if several entities in the blockchain network are down.

  • Non-repudiation: The users registered in the blockchain network cannot disavow regarding sending or receiving a transaction. This is beneficial as wholesalers, distributors, and providers in the PPE supply chain network cannot deny that orders were made incorrectly. Neither can manufacturers deny receiving and approving a new lot request.

  • Man-in-The-Middle Attacks: Our solution is based on the blockchain and therefore inherits its features. All transactions mined in the Ethereum network are digitally encrypted. Therefore, attackers cannot tamper with the transaction as they would need the private key to sign the transaction. Hence, miners would not accept the transaction and add it to their block. Therefore, the integrity of all the communication between different entities of the supply chain is preserved.

7.3. Generalization

Our proposed solution is designed to be generic enough that it can be applied to any product type in the supply chain other than PPE. This is because any supply chain operation consists of the same stakeholders, which are the manufacturer, distributor, wholesaler, and provider or retailer. Thus, the same framework can be applied to cater to the needs of any other product that requires traceability and efficient management. The proposed smart contract is suitable for any product or good that is transferred from one entity to the other.

However, the implementation of Ethereum smart contracts would be required to be made public so that stakeholders in the supply chain network would be able to view the smart contracts and get alerts during emergencies. Moreover, the smart contract, in particular, would require alteration as it currently holds data suitable for PPE. Thus, only minimal changes would be needed to customize the source code of the smart contract so that the entry data fields fulfill the requirements needed for the desired product.

7.4. Limitations and Future Scope

Blockchain technology has caused great potential in the field of healthcare and supply chain. However, several limitations and constraints challenge the adoption of blockchain-based solutions, such as the one presented in this paper. For instance, utilizing the blockchain mostly means deploying smart contracts to implement their business logic. Developing smart contracts require high levels of security and offers fewer debugging capabilities in contrast to other centralized approaches. Moreover, smart contracts require special considerations in terms of cost and storage management. It is crucial to maximize efficiency and minimize the gas consumption and thereby the cost of operation when developing smart contracts in order for the solution to be feasible.

In centralized approaches, the throughput is as good as the central several and relies mainly on its infrastructure and is limited to its capabilities. However, the blockchain offers a smaller and limited throughput (15 transactions per second in Ethereum). Therefore, a solution developed on the blockchain cannot be as scalable as other centralized models. Another compromise linked to employing blockchain is the time delay. Any transaction on the blockchain network needs to be validated and appended to the rest of the network in the form of a block by a miner. In Ethereum, miners agree on which block to add to the network using the Proof-of-Work (PoW) consensus algorithm. This results in increasing the time period required for a transaction to be included on the blockchain network. In addition, several blocks are required to be formed in front of a certain block for it to be considered confirmed. Therefore, blockchain is not favored for real-time applications.

As future work, we plan on performing additional real-time testing by deploying the proposed solution on a test Ethereum network, followed by deploying the smart contracts on the mainnet. This offers a more realistic environment to test the performance of the smart contracts. However, testing the smart contract on the mainnet is expensive and not recommended until the final stages. In addition, we are developing a decentralized application (DApp) for a more user-friendly experience. Unlike regular applications, DApps are compatible with the blockchain due to their decentralized nature. Similar to web applications, DApps provide a more aesthetic look to the system and helps users better utilize its functionality.

8. Conclusion

In this paper, we discussed the influence of the COVID-19 pandemic in healthcare supply chain operations, particularly in tracking and managing PPE. Integrating blockchain technology in the supply chain can enhance the traceability of products while maintaining data integrity and provenance. It also promotes transparency among the stakeholders, thereby increasing communication and trust among themselves. The presented blockchain-based PPE tracking solution uses Ethereum smart contracts to manage orders and transactions in a decentralized network. Although our focus in this paper is on the PPE supply chains, the proposed system can be adapted to address traceability needs in other business domains. Using smart contracts can achieve verifiable automation, reduce information asymmetry and other inefficiencies in the supply chain processes. The evaluation, cost, and security analysis of the proposed system highlight its feasibility in a real-world environment, addressing traceability challenges in a secure and cost-effective manner. As future work, we propose to design and build decentralized applications to fully automate the PPE supply chain process for all supply chain stakeholders.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgment

This publication is based upon work supported by the Khalifa University of Science and Technology under Awards No. CIRA-2019–001 and RCII-2019–002, Center for Digital Supply Chain and Operations Management.

Footnotes

1

https://github.com/MazenDB/TrackingPPE

References

  1. Agrawal T.K., Kumar V., Pal R., Wang L., Chen Y. Blockchain-based framework for supply chain traceability: A case example of textile and clothing industry. Computers & Industrial Engineering. 2021;154:107130. [Google Scholar]
  2. Alegado, S. (2020). Global cost of coronavirus may reach $4.1 trillion, adb says. Bloomberg URL: https://www.bloomberg.com/news/articles/2020-04-03/global-cost-of-coronavirus-could-reach-4-1-trillion-adb-says. [Accessed: 15 August 2020].
  3. Amin, M. R., Zuhairi, M. F., Saadat, M. N. (2021). Transparent data dealing: Hyperledger fabric based biomedical engineering supply chain. In 2021 15th International Conference on Ubiquitous Information Management and Communication (IMCOM) (pp. 1–5). doi:10.1109/IMCOM51814.2021.9377418.
  4. Armani A.M., Hurt D.E., Hwang D., McCarthy M.C., Scholtz A. Low-tech solutions for the covid-19 supply chain crisis. Nature Reviews Materials. 2020:1–4. doi: 10.1038/s41578-020-0205-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Azzi R., Chamoun R.K., Sokhn M. The power of a blockchain-based supply chain. Computers & Industrial Engineering. 2019;135:582–592. [Google Scholar]
  6. Benet, J. (2014). Ipfs-content addressed, versioned, p2p file system. arXiv preprint arXiv:1407.3561.
  7. Dai T., Bai G., Anderson G.F. Ppe supply chain needs data transparency and stress testing. Journal of general internal medicine. 2020;35:2748–2749. doi: 10.1007/s11606-020-05987-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Das A.K., Bera B., Giri D. Ai and blockchain-based cloud-assisted secure vaccine distribution and tracking in iomt-enabled covid-19 environment. IEEE Internet of Things Magazine. 2021;4:26–32. doi: 10.1109/IOTM.0001.2100016. [DOI] [Google Scholar]
  9. , Eth gas station URL: https://ethgasstation.info/. [Accessed: 10 Sep 2020].
  10. Helo P., Hao Y. Blockchains in operations and supply chains: A model and reference implementation. Computers & Industrial Engineering. 2019;136:242–251. [Google Scholar]
  11. Khurshid, A. (2020). Applying blockchain technology to address the crisis of trust during the covid-19 pandemic. JMIR Med Inform 8, e20477. URL: http://medinform.jmir.org/2020/9/e20477/, doi:10.2196/20477. [DOI] [PMC free article] [PubMed]
  12. Lagasse, J. (2020). Healthcare industry is grappling with the emergence of counterfeit ppe in the covid-19 battle. Healthcare Finance URL: https://www.healthcarefinancenews.com/news/healthcare-industry-grappling-emergence-counterfeit-ppe-covid-19-battle. [Accessed: 19 Aug 2020].
  13. Lim M.K., Li Y., Wang C., Tseng M.L. A literature review of blockchain technology applications in supply chains: A comprehensive analysis of themes, methodologies and industries. Computers & Industrial Engineering. 2021:107133. [Google Scholar]
  14. Lohmer J., Lasch R. Blockchain in operations management and manufacturing: Potential and barriers. Computers & Industrial Engineering. 2020;149:106789. [Google Scholar]
  15. Longo F., Nicoletti L., Padovano A., d’Atri G., Forte M. Blockchain-enabled supply chain: An experimental study. Computers & Industrial Engineering. 2019;136:57–69. [Google Scholar]
  16. Maity M., Tolooie A., Sinha A.K., Tiwari M.K. Stochastic batch dispersion model to optimize traceability and enhance transparency using blockchain. Computers & Industrial Engineering. 2021;154:107134. [Google Scholar]
  17. Malik, S., Kanhere, S. S., Jurdak, R. (2018). Productchain: Scalable blockchain framework to support provenance in supply chains. In 2018 IEEE 17th International Symposium on Network Computing and Applications (NCA), IEEE. pp. 1–10.
  18. Marbouh D., Abbasi T., Maasmi F., Omar I.A., Debe M.S., Salah K., Jayaraman R., Ellahham S. Blockchain for covid-19: Review, opportunities, and a trusted tracking system. Arabian Journal for Science and Engineering. 2020:1–17. doi: 10.1007/s13369-020-04950-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Omar I.A., Jayaraman R., Salah K., Debe M., Omar M. Enhancing vendor managed inventory supply chain operations using blockchain smart contracts. IEEE Access. 2020;8:182704–182719. [Google Scholar]
  20. Omar I.A., Jayaraman R., Salah K., Simsekler M.C.E., Yaqoob I., Ellahham S. Ensuring protocol compliance and data transparency in clinical trials using blockchain smart contracts. BMC Medical Research Methodology. 2020;20:1–17. doi: 10.1186/s12874-020-01109-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Parizi R.M., Dehghantanha A., et al. Smart contract programming languages on blockchains: an empirical evaluation of usability and security. International Conference on Blockchain, Springer. 2018:75–91. [Google Scholar]
  22. Park, C. Y., Kim, K., Roth, S. (2020). Global shortage of personal protective equipment amid covid-19: supply chains, bottlenecks, and policy implications URL: https://doi.org/10.22617/BRF200128-2.
  23. Priyanka S.S., Lokeswari N., Amaravathi K. Blockchain-a potential solution for covid-19 pandemic economical crisis environment. International Journal of Research in Engineering, Science and Management. 2020;3:17–21. [Google Scholar]
  24. Rana, S. (2020). Rise of counterfeit ppe in india amid covid-19. ICLG.com URL: https://iclg.com/briefing/13315-rise-of-counterfeit-ppe-in-india-amid-covid-19. [Accessed: 19 Aug 2020].
  25. Rowan, N. J., Laffey, J. G. (2020b). Challenges and solutions for addressing critical shortage of supply chain for personal and protective equipment (ppe) arising from coronavirus disease (covid19) pandemic – case study from the republic of ireland. Science of The Total Environment 725, 138532. URL: https://www.sciencedirect.com/science/article/pii/S0048969720320453, doi: 10.1016/j.scitotenv.2020.138532. [DOI] [PMC free article] [PubMed]
  26. Rowan N.J., Laffey J.G. Challenges and solutions for addressing critical shortage of supply chain for personal and protective equipment (ppe) arising from coronavirus disease (covid19) pandemic–case study from the republic of ireland. Science of the Total Environment. 2020;725:138532. doi: 10.1016/j.scitotenv.2020.138532. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Sunny J., Undralla N., Pillai V.M. Supply chain transparency through blockchain-based traceability: An overview with demonstration. Computers & Industrial Engineering. 2020:106895. [Google Scholar]
  28. Thorbecke, C. (2020). Amazon removes 1 million products for misleading claims, price gouging amid coronavirus outbreak. ABC News URL: https://abcnews.go.com/Business/amazon-cracks-million-misleading-price-gouged-products-amid/story?id=69357582. [Accessed: 28 Jul 2020].
  29. Toyoda K., Mathiopoulos P.T., Sasase I., Ohtsuki T. A novel blockchain-based product ownership management system (poms) for anti-counterfeits in the post supply chain. IEEE access. 2017;5:17465–17477. [Google Scholar]
  30. Vosoughi, H. (2020). Online markets of counterfeit products: a comparison between high-tech & low-tech products URL: http://hdl.handle.net/10589/153378.
  31. Wang S., Li D., Zhang Y., Chen J. Smart contract-based product traceability system in the supply chain scenario. IEEE Access. 2019;7:115122–115133. [Google Scholar]
  32. Zheng, Z., Xie, S., Dai, H., Chen, X., Wang, H. (2017). An overview of blockchain technology: Architecture, consensus, and future trends. In 2017 IEEE international congress on big data (BigData congress), IEEE (pp. 557–564).
  33. Zutshi A., Grilo A., Nodehi T. The value proposition of blockchain technologies and its impact on digital platforms. Computers & Industrial Engineering. 2021:107187. [Google Scholar]

Articles from Computers & Industrial Engineering are provided here courtesy of Elsevier

RESOURCES