Karan9034 / mediChain

Medical records on blockchain.

Home Page:https://medichain.biz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revolutionizing healthcare data management: blockchain-based medical record storage for patients and insurance companies

Untitled.mp4

Table of Contents
  1. Problem Statement
  2. About The Project
  3. Built With
  4. Getting Started
  5. Future Prospects

ℹ️ Problem Statement

The data privacy of patients is essential because it involves sensitive personal information, such as medical records, test results, and health history. If failed to do so it can result in various consequences, such as financial loss, identity theft, damage to reputation, and even physical harm. It can also lead to discrimination, as individuals with certain health conditions may face challenges in obtaining health insurance.

ℹ️ About The Project

Our project MediChain seeks to address these challenges by leveraging the power of blockchain to create a secure, decentralized platform for storing and sharing healthcare data. By doing so, we hope to empower patients and Insurance providers, to make more informed decisions, improve outcomes, and advance the field of healthcare as a whole.

ℹ️ Future Prospects

  1. We will be implementing insurance policy as ERC-721 Standard (i.e Non-Fungible Tokens), so as to specify the uniqueness and ownership of each insurance policy.
  2. We will be giving patients the flexibility to buy health insurance policy according to their preference instead of defined policies by the insurance provider.
  3. We will predict policy annual premium amount using Machine Learning techniques based on factors like patient's age, location, etc.

🛠️ Built With

img1 Following technologies and libraries are used for the development of this project.

📌 Installation

To setup the project locally follow the steps below

💻 Prerequisites

🤖 Running the project.

To set this up in the local repository:

  1. Fork and clone the project to your local system
  2. Copy the commands below to install the dependencies:
npm i -g truffle
npm run client:install
npm run truffle:install
  1. Now, start a local Ethereum blockchain network on your system using Ganache. Ganache provides you with 10 testing accounts each with 100 ETH.

  2. Obtain Infura API Key and API Secret for IPFS from Infura Dashboard, and create a dedicated gateway for your project. Set the environment variables in client/.env file. Or you can rename client/.env.example to client/.env

REACT_APP_INFURA_PROJECT_ID=...
REACT_APP_INFURA_API_KEY_SECRET=...
REACT_APP_INFURA_DEDICATED_GATEWAY=....
  1. Then, copy the following commands to deploy the smart contracts to the local Ethereum blockchain and start the React app:
npm run truffle:migrate
npm run client:start
  1. Set up Metamask to connect to the local blockchain created by Ganache(i.e. http://localhost:8545/)

  2. Now, obtain the private keys of some of the accounts from Ganache and import the accounts into Metamask wallet.

  3. You're ready to go. Visit http://localhost:3000/ to check out MediChain

About

Medical records on blockchain.

https://medichain.biz

License:MIT License


Languages

Language:JavaScript 78.7%Language:Solidity 16.8%Language:HTML 2.6%Language:CSS 1.9%