Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMP4060-Project: Store Private HealthCare data on off-chain IPFS cluster and manage record using Hyperledger Farbic

Electronic Health Records, or EHRs have been in use for many years at this point. Up until now these have mostly consisted of local databases belonging to one or more facilities which store data about the patients to which they provide care. This leads to the potential (one which is very likely to happen, as most people visit several different doctors throughout their lives) of patients having multiple files kept at various locations. This leads to unnecessary redundancy, as well as allowing for the possibility of inconsistent records, whether due to clerical error, or updates recorded only at some facilities. It also often means that these facilities determine access to these records, rather than the patient to which the records belong. Thus it has been proposed that blockchain technology should be utilized in creating a distributed EHR system which puts ownership of medical records back into the hands of patients, reduces inconsistencies in records, and eliminates data entries while maintaining, and perhaps improving security. We propose one such potential solution which makes use of the security features of Hyperledger Fabric to ensure that records can be shared privately by the owner of the records. Additionally, the system makes use of IPFS, a distributed file system, which will provide a private data storage network that will be shared only between hospitals, allowing access to files anywhere, whenever permission is granted.

Flow Diagram

graph drawio

Include Components

Featured Technologies

  • Vue.js Vue.js is an open-source JavaScript framework for building user interfaces and single-page applications.
  • Node.js is an open source, cross-platform JavaScript run-time environment that executes server-side JavaScript code.
  • Elements UI a Vue 2.0 based component library for developers, designers and product managers
  • DockerDocker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.

Prerequisties

Step

Follow the instruction to run this program locally

Step1

  • Clone the repository:
    git clone https://github.com/IBM/build-blockchain-insurance-app

Step 2 - Start your Docker

  • once Docker is started, You should see something look like this (Stuff inside container would be different) image

Step3 - Create Fabric network

  • Open IBM Blockchain Platform in VScode image

  • Create Fabric Environments

    • Click '+' on the right top of the FABRIC ENVIRONMENTS image
    • Select Create new from template
    • Select 1 Org template(1 CA, 1 Peer, 1 channel)
    • Name it "1 Org Local Fabric"
    • Once its done click on tha name to start the network

Step4 - Deploy Smart Contract

  • Import smart contract - Click import a package and browse in the Chaincode folder, find "Project@0.3.1.tar.gz" and click select image
    • Once its packed, click on mychannel and + Deploy smart contract.
    • Select "Project@0.3.1" and deploy image

Step5 - Start the Gateways

image

Step6 - Start Server

  • cd Interface/server folder
  • npm install - your console will look similar to this

image

  • npm start

image

Step7 - Start Client

- cd Interface/ Client folder
- npm install 
- npm run serve -- --port 8000

image

Step8 - go to http://localhost:8000/#/ to see tha app.

  • Have Fun :)

App Screenshots

Login

image

Register

image

Main Page

image

Upload record

image

Search and Download record

image

Authorization - patient to give access to doctor to view their record

image

Reference

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages