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.
- IBM Blockchain Platform Extension for VS Code provide a interface to assist users in developing, testing, and deploying smart contracts.
- IPFS Desktop is a interface that bundles an IPFS node, file manager, peer manager, and content explorer into a single, easy-to-use application.
- 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.
- Docker - latest
- Node.js - Node v8.9.x
- Install VSCode version 1.39
- Install IBM Blockchain Platform Extension for VSCode
- npm v6.11.3
Follow the instruction to run this program locally
- Clone the repository:
git clone https://github.com/IBM/build-blockchain-insurance-app
- once Docker is started, You should see something look like this (Stuff inside container would be different)

-
Create Fabric Environments
- Import smart contract - Click import a package and browse in the Chaincode folder, find "Project@0.3.1.tar.gz" and click select
- cd Interface/server folder
- npm install - your console will look similar to this
- npm start
- cd Interface/ Client folder
- npm install
- npm run serve -- --port 8000
Step8 - go to http://localhost:8000/#/ to see tha app.
- Have Fun :)













