Skip to content

rajashree23/EHR-1

 
 

Repository files navigation

EHR- Electronic Health Record

The app is hosted at 👉https://ehr-app-f70e6.web.app/

Contents

Problem Statement

EHR generally contain highly-sensitive and critical data related to patients, which is frequently shared among clinicians, radiologists, healthcare providers, pharmacists, and researchers, for effective diagnosis and treatment. Hence, we may use blockchain technology for accessing and managing the privacy and security of patient data and history in clinical practices.

Solution

A blockchain based decentralised web application which will provide privacy and security to the patients’ health record using AES encryption ,Access Control and IPFS. The system gives appropriate scope over a health record only on patient’s permission.

Website Glimpses

SS_1

Screenshot (266)

Screenshot (265)

Screenshot (264)

Components

Built a blockchain-based decentralized web app

  • Provides privacy
  • Cost reduction compared to current EHR models
  • No third-party involvement

Our application secures the initial stage of registration

  • Access Control using Open Zeppelin to maintain hierarchy similar to current system.
  • Private network
  • Track of records

We have an one-click login

  • Metamask Wallet
  • QR code for a user-friendly experience.

Our second stage of security

  • Strong cryptography of ethereum
  • Multi-level AES encryption(report is encrypted and stored in IPFS)
  • Control lies in the hands of the patient
  • View reports in the app itself
  • Screenshot can’t be taken so as to prevent breach of data

User friendly and easy to use

  • User is unaware of the background encryption/decryption
  • Normal web app interface
  • Demo bot to explain the functionalities to the first time users
  • QR code scanner
  • Segregated data for both doctor and lab

Our third stage of security

  • IPFS (decentralised ,content addressing) (for storing encrypted report)
  • Encrypted AES key (decrypted only by unique private key) stored on blockchain

Use Case

  • The public key is the identification of every user in the network.
  • Registered by Admin
  • One-click login using Metamask
  • Doctor or Lab Technician uploads the report
  • Only patient has the access to it
  • Can see the encrypted report if not permitted.
  • Report can only be viewed in the web app itself if patient gives permission.
  • Patient can revoke permission at any time.

Tech Stack

  • ReactJS
  • Bootstrap
  • Web3js
  • Blockchain (Ethereum)
  • IPFS for decentralised file storage
  • AES for symmetric encryption
  • OpenZeppelin for Access Control
  • Selenium for Demo Bot
  • Truffle-react framework.
  • Metamask Wallet

Encryption Decryption Flow

ehr1

Installation

  • Clone the repo
  • Run npm install
  • Run npm start to start the server
  • Open http://localhost:3000/ in browser
  • Set metamask to Ropsten Testnet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 68.4%
  • PureBasic 21.8%
  • JavaScript 7.3%
  • Solidity 1.3%
  • HTML 0.9%
  • Python 0.3%