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.
-
"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.
- Add truffle-config.js file in Ganache.
- Create new network in metamask with port number same as in truffle-config.js
- Configure Ganache with same port number.
- Goto Project Directory and run "truffle migrate" on command prompt.
- Goto 'Client' directory using prompt and use "npm install" or "yarn install" (if your system has yarn).
- run "npm start" to start react server.
- Project will be open in your browser.
- Import Ganache account(s) in metamask and use it for user login/register purpose.
Execution will start from App.js file in client directory.
- Improve UI design.