Coder Social home page Coder Social logo

farhanbadr09 / ehr-using-blockchain_ifs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ht2631999/ehr-using-blockchain

0.0 0.0 0.0 2.69 MB

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: MIT License

JavaScript 11.97% CSS 85.44% HTML 0.28% Solidity 2.31%

ehr-using-blockchain_ifs's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.