Skip to content

This project is developed with the aim to store patient healthcare records over blockchain. This helps in enhancing the data security as well as the patient centric concept of the project allows patient to control access of his/her data and hence also providing data privacy.

License

Notifications You must be signed in to change notification settings

ht2631999/EHR-using-Blockchain

Repository files navigation

HealthCare Using Ethereum Blockchain

Project Objective

This project is developed with the aim to store patient healthcare records over blockchain. The DApp build provides a patient centric system in which patient has control over his data i.e. patient themselves decide who can view their profiles/data. The system classifies the users into five categories: Owner, Hospitals, Insurance Company, Doctor and Patient.

Patient can grant or revoke data access permission to/from any doctor. Patients can also add files to their profile/data like reports, Xrays etc. which will be stored over IPFS. These files can help the doctors (who have been granted access) to review and treat patient accordingly. Also patients can view the past consultation records.

Doctors are provided with facility to view the patient records to which they have access granted. Doctors can view their patients' files and previous consultations too and can accordingly provide consultation or treatment.

To run this project kindly install following prerequisites :

  • "Truffle" v5.1.20

    • solc: "0.5.16"
  • "Node" v12.16.1 (Install Following with npm)

    • "antd": "^3.9.0",
    • "axios": "^0.19.2",
    • "bootstrap": "^4.4.1",
    • "bs58": "^4.0.1",
    • "ipfs-api": "^26.1.2",
    • "react": "16.11.0",
    • "react-bootstrap": "^1.0.0",
    • "react-dom": "16.11.0",
    • "react-scripts": "3.2.0",
    • "web3": "1.2.2"
  • Install Metamask as Browser extension.

  • Install Ganache for deployement of Contracts.

Steps to run project :

  1. Add truffle-config.js file in Ganache.
  2. Create new network in metamask with port number same as in truffle-config.js
  3. Configure Ganache with same port number.
  4. Goto Project Directory and run "truffle migrate" on command prompt.
  5. Goto 'Client' directory using prompt and use "npm install" or "yarn install" (if your system has yarn).
  6. run "npm start" to start react server.
  7. Project will be open in your browser.
  8. Import Ganache account(s) in metamask and use it for user login/register purpose.

Execution will start from App.js file in client directory.

TO-DO

  1. Improve UI design.

About

This project is developed with the aim to store patient healthcare records over blockchain. This helps in enhancing the data security as well as the patient centric concept of the project allows patient to control access of his/her data and hence also providing data privacy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published