Generic Patient-Centered Blockchain-Based EHR Management System
Abstract
:1. Introduction
1.1. Motivation
1.2. Contribution
- -
- A proposed PCEHRM system’s structure is introduced, and the different system’s components interactions are demonstrated.
- -
- The proposal of a patient-centric access control framework is based on a smart contract protocol to grant stakeholders access to the health records. It determines specific functions to be used to send information in and out of the Ethereum blockchain and to provide access privileges between stakeholders.
- -
- The proposed patient-centric distributed architecture focuses on confidentiality, reliability, integrity, portability, and scalability through a blockchain-based approach.
- -
- A novel algorithm is introduced for preserving and securely retrieving healthcare records using blockchains.
- -
- The viability and coherence of the access process and system interaction amongst network participants was tested by putting the suggested framework into practice.
- -
- The average time taken to download and upload health data, the cost of under-taking PCEHRM functions, as well as the efficiency of the transaction were examined and evaluated. Consequently, examining the test network permits us to validate and optimize the prototype prior to publishing it on a public blockchain.
2. Related Work
3. Framework Components
3.1. Ethereum Blockchain
3.2. Distributed InterPlanFile System (IPFS)
3.3. A Background of the Proposed System
4. Record Owner
5. Data Uploader
6. Data Users
6.1. Data Encryption
6.2. PCEHRM-SC
- An access control regulation specifies the stakeholders’ distinct profiles and defines their access rights.
- After the patient allows access, the system defines the approved value to stakeholders, resources, action types, and environmental attributes.
- Level 1:
- Patients are the sole party to access the health record.
- Level 2:
- Approved stakeholders may be made available to the medical record.
- Level 3:
- The permitted patient’s caregiver has access to the health record in an emergency.
6.3. PCEHRM Algorithm
Algorithm 1. System_Function() |
Input: Doctor , with their Public key , with their Private key , with session key of Health_Record. Patient with their Public key , and Private key . Output: Boolean (True or False)
|
Algorithm 2. create_Update_HR () |
Input: , , , Output: Storage of HR
|
7. PCEHRM Protocol Operation
7.1. Add Users
7.2. Add Records and Update Records
7.3. Assuring Authorized Users Have Access
7.4. Records Retrieval
7.5. Framework Implementation
7.5.1. Storage Efficiency
- Doctors were able to upload health records.
- With the patient’s permission, a doctor could view the medical records.
- Patients were capable to view their health data.
- Patients and doctors were permitted to retrieve health records based on their credentials.
- Encrypted health records were generated proficiently.
7.5.2. Security
- Encryption of the user’s password.
- Health records were saved in IPFS with encryption.
- Each record was assigned a distinct hash value.
- Public and private keys were assigned to all stakeholders.
- Session keys assignment and expiration.
7.5.3. Privacy
- Depending on their role, stakeholders were able to view their respective home pages.
- Access rights based on the stakeholders’ role.
- Session keys were allocated for viewing medical records.
8. Evaluation
8.1. Verification of PCEHRM-SC
8.2. Practical Applications and Costs
8.3. Performance Evaluation
9. Discussion
10. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Madine, M.M.; Battah, A.A.; Yaqoob, I.; Salah, K.; Jayaraman, R.; Al-Hammadi, Y.; Pesic, S.; Ellahham, S. Blockchain for giving patients control over their medical records. IEEE Access 2020, 8, 193102–193115. [Google Scholar] [CrossRef]
- Idrees, S.; Nowostawski, M.; Jameel, R.; Mourya, A. Security Aspects of Blockchain Technology Intended for Industrial Applications. Electronics 2021, 10, 951. [Google Scholar] [CrossRef]
- Sharma, A.; Tomar, R.S.; Chilamkurti, N.; Kim, B.G. Blockchain Based Smart Con- tracts for Internet of Medical Things in e-Healthcare. Electronics 2020, 9, 1609. [Google Scholar] [CrossRef]
- Saidi, H.; Labraoui, N.; Ari, A.A.; Maglaras, L.A.; Emati, J.H. DSMAC: Privacy-aware Decentralized Self-Management of data Access Control based on blockchain for health data. IEEE Access 2022, 10, 101011–101028. [Google Scholar] [CrossRef]
- Makridakis, S.; Christodoulou, K. Blockchain: Current challenges and future pro-spects/applications. Future Internet 2019, 11, 258. [Google Scholar] [CrossRef] [Green Version]
- Seh, A.H.; Zarour, M.; Alenezi, M.; Sarkar, A.K.; Agrawal, A.; Khan, A.R. Healthcare Data Breaches: Insights and Implications. Healthcare 2020, 8, 133. [Google Scholar] [CrossRef]
- Azaria, A.; Ekblaw, A.; Vieira, T.; Lippman, A. Medrec: Using blockchain for medical data access and permission management. In Proceedings of the 2016 2nd International Conference on Open and Big Data (OBD), IEEE, Vienna, Austria, 22–24 August 2016; pp. 25–30. [Google Scholar]
- Ivan, D. Moving toward a blockchain-based method for the secure storage of patient records. In Proceedings of the ONC/NIST Use of Blockchain for Healthcare and Research Workshop, ONC/NIST, Gaithersburg, MD, USA, 4 August 2016. [Google Scholar]
- Dannen, C. Introducing Ethereum and Solidity; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
- Shen, B.; Guo, J.; Yang, Y. Medchain: Efficient healthcare data sharing via blockchain. Appl. Sci. 2019, 9, 1207. [Google Scholar] [CrossRef] [Green Version]
- Jamil, F.; Ahmad, S.; Iqbal, N.; Kim, D.-H. Towards a remote monitoring of patient vital signs based on iot-based blockchain integrity management platforms in smart hospitals. Sensors 2020, 20, 2195. [Google Scholar] [CrossRef] [Green Version]
- Margheri, A.; Masi, M.; Miladi, A.; Sassone, V.; Rosenzweig, J. Decentralised provenance for healthcare data. Int. J. Med. Inform. 2020, 141, 104197. [Google Scholar] [CrossRef]
- Roehrs, A.; da Costa, C.A.; da Rosa Righi, R.; da Silva, V.F.; Goldim, J.R.; Schmidt, D.C. Analyzing the performance of a blockchain-based personal health record implementation. J. Biomed. Inform. 2019, 92, 103140. [Google Scholar] [CrossRef]
- Jha, N.; Prashar, D.; Khalaf, O.I.; Alotaibi, Y.; Alsufyani, A.; Alghamdi, S. Blockchain Based Crop Insurance: A Decentralized Insurance System for Modernization of Indian Farmers. Sustainability 2021, 13, 8921. [Google Scholar] [CrossRef]
- Dwivedi, A.D.; Srivastava, G.; Dhar, S.; Singh, R. A decentralized privacy- preserving healthcare blockchain for iot. Sensors 2019, 19, 326. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Rajput, A.; Li, Q.; Ahvanooey, M. A blockchain-based secret-data sharing framework for personal health records (2021) in emergency condition. Healthcare 2021, 9, 206. [Google Scholar] [CrossRef] [PubMed]
- Jagadeesh, R.; Mahantesh, K. Blockchain-based knapsack system for security and privacy preserving to medical data (2021) in SN COMPUT. Scientifur 2021, 2, 245. [Google Scholar]
- Egala, B.S.; Pradhan, A.K.; Badarla, V.; Mohanty, S.P. Fortified-chain: A blockchain- based framework for security and privacy-assured internet of medical things with effective access control. IEEE Internet Things J. 2021, 8, 11717–11731. [Google Scholar] [CrossRef]
- Alsufyani, A.; Alotaibi, Y.; Almagrabi, A.O.; Alghamdi, S.A.; Alsufyani, N. Optimized intelligent data management framework for a cyber-physical system for computational applications. Complex. Intell. Syst. 2021, 1–13. [Google Scholar] [CrossRef]
- Singh, P.; Masud, M.; Hossain, M.S.; Kaur, A. Blockchain and homomorphic encryption- based privacy-preserving data aggregation model in smart grid. Comput. Electr. Eng. 2021, 93, 107209. [Google Scholar] [CrossRef]
- Peng, C.; He, D.; Chen, J.; Kumar, N.; Khan, M.K. EPRT: An Efficient Privacy-Preserving Medical Service Recommendation and Trust Discovery Scheme for eHealth System. ACM Trans. Internet Technol. 2021, 21, 1–24. [Google Scholar] [CrossRef]
- Piao, Y.; Ye, K.; Cui, X. A Data Sharing Scheme for GDPR-Compliance Based on Consortium Blockchain. Future Internet 2021, 13, 217. [Google Scholar] [CrossRef]
- Wood, G. Ethereum: A Secure Decentralised Generalised Transaction Ledger. Available online: https://gavwood.com/paper.pdf (accessed on 23 November 2022).
- Buterin, V. Ethereum White Paper. Available online: https://github.com/ethereum/wiki/wiki/White-Paper (accessed on 25 November 2022).
- Dhillon, V.; Metcalf, D.; Hooper, M. Blockchain Enabled Applications; Apress: Berkeley, CA, USA, 2017. [Google Scholar]
- Foschini, L.; Gavagna, A.; Martuscelli, G.; Montanari, R. Hyperledger Fabric Blockchain: Chaincode Performance Analysis. In Proceedings of the ICC 2020—2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; pp. 1–6. [Google Scholar]
- Mani, V.; Manickam, P.; Alotaibi, Y.; Alghamdi, S.; Khalaf, O.I. Hyperledger healthchain: Patient-centric IPFS-based storage of health records. Electronics 2021, 10, 3003. [Google Scholar] [CrossRef]
- Kumar, S.; Bharti, A.K.; Amin, R. Decentralized secure storage of medical records using Blockchain and IPFS: A comparative analysis with future directions. Secur. Privacy 2021, 4, e162. [Google Scholar] [CrossRef]
- Langer, S.G.; Tellis, W.; Carr, C.; Daly, M.; Erickson, B.J.; Mendelson, D.; Moore, S.; Perry, J.; Shastri, K.; Warnock, M.; et al. TheRSNA Image Sharing Network. J. Digit. Imaging 2014, 28, 53–61. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Fan, K.; Wang, S.; Ren, Y.; Li, H.; Yang, Y. MedBlock: Efficient and Secure Medical DataSharing Via Blockchain. J. Med. Syst. 2018, 42, 136. [Google Scholar] [CrossRef] [PubMed]
- Xia, Q.; Sifah, E.B.; Asamoah, K.O.; Gao, J.; Du, X.; Guizani, M. MeDShare: Trust-Less Medical Data Sharing among Cloud ServiceProviders via Blockchain. IEEE Access 2017, 5, 14757–14767. [Google Scholar] [CrossRef]
- Lee, W. Getting Started with Smart Contract and using the MetaMask Chrome Extension. In Beginning Ethereum Smart Contracts Programming; Apress: Berkeley, CA, USA, 2019; ISBN 978-1-4842-5086-0. [Google Scholar]
Abbreviations | Meaning |
---|---|
EHR | Electronic healthcare record |
HR | Health records |
EMR | Electronic medical records |
PHRs | Personal health records |
P2P | Peer-to-peer |
SC | Smart contract |
CSS | Cascading Style Sheets |
HTML | Hypertext Markup Language |
Ref | Implemented Problems | Problem to Be Solved |
---|---|---|
[7] | Data Integrity and Interoperability | Privacy and scalability |
[10] | Sharing if Data and Integrity of Data | Privacy and scalability |
[11] | Public data access and Integrity of data | Interoperability and authentication |
[13] | Interoperability | Secure, Privacy, and Scalability |
[15] | Privacy and Security | Scalability and Interoperability |
[16] | Scalability and interoperability | Privacy |
[17] | Security | Scalability and Privacy |
[18] | Security and Privacy | Scalability |
Patient | Grant-Revoke-Commit, Read Record |
Revoke permission from Doctor/Service Providers. | |
Permission to Doctor to Read/write of their her. | |
Able to search for Doctor/Labs. |
Doctor/Labs | -Create/Read/Write on Permission for EHR -Search for Doctor in the network |
-Read/Write on Permission for EHR. -Search for Labs the network. |
Symbols | Definition |
---|---|
nth Patient | |
nth Doctor | |
nth Pharma | |
nth Lab Technician | |
nth Health Record | |
nth Patient Public Key | |
nth Patient Private Key | |
nth Doctor Public key | |
Doctor Private Key | |
nth Session Key | |
nth Patient-Centric View | |
nth Update Patient-Centric View | |
nth Health Record Hash Value |
Function Name | User | Start Time | Time Taken | Gas Used | Total Cost |
---|---|---|---|---|---|
addDoctor() | 0x0bCD3A9Fcc8EfC4B5B2c07BC1129454A9C1fc56D: (Admin) | 10/27/22, 7:27 A.M. | 10.316 s | 44,721 | 0.00089442 ETH |
addPatient() | 0x770a246c2CF57D25661Ef48C8D01b14D89264169: (Patient) | 11/30/22, 6:35 P.M. | 13.669 s | 148,329 | 0.00296658 ETH |
addDoctor() | 0x0bCD3A9Fcc8EfC4B5B2c07BC1129454A9C1fc56D: (Admin) | 11/30/22, 6:37 P.M. | 13,949 s | 44,721 | 0.00089442 ETH |
getpatientDetails() | 0x770a246c2CF57D25661Ef48C8D01b14D89264169: (Doctor) | 11/30/22, 6:38 P.M. | 0.213 s | 0 | 0 ETH |
saveMedicalRecord() | 0xa96C9CB8b1Ae46FEE4cC3d65877464dB72070e5e: (Doctor) | 11/30/22, 6:38 P.M. | 12.506 s | 168,010 | 0.0033602 ETH |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Haddad, A.; Habaebi, M.H.; Suliman, F.E.M.; Elsheikh, E.A.A.; Islam, M.R.; Zabidi, S.A. Generic Patient-Centered Blockchain-Based EHR Management System. Appl. Sci. 2023, 13, 1761. https://doi.org/10.3390/app13031761
Haddad A, Habaebi MH, Suliman FEM, Elsheikh EAA, Islam MR, Zabidi SA. Generic Patient-Centered Blockchain-Based EHR Management System. Applied Sciences. 2023; 13(3):1761. https://doi.org/10.3390/app13031761
Chicago/Turabian StyleHaddad, Alaa, Mohamed Hadi Habaebi, Fakher Eldin M. Suliman, Elfatih A. A. Elsheikh, Md Rafiqul Islam, and Suriza Ahmad Zabidi. 2023. "Generic Patient-Centered Blockchain-Based EHR Management System" Applied Sciences 13, no. 3: 1761. https://doi.org/10.3390/app13031761
APA StyleHaddad, A., Habaebi, M. H., Suliman, F. E. M., Elsheikh, E. A. A., Islam, M. R., & Zabidi, S. A. (2023). Generic Patient-Centered Blockchain-Based EHR Management System. Applied Sciences, 13(3), 1761. https://doi.org/10.3390/app13031761