Skip to content

Blockchain-Based Electronic Medical Records (EMR) Management with OCR Assisted Summarization

Notifications You must be signed in to change notification settings

vatsalgupta13/Health-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLOCKCHAIN-BASED ELECTRONIC MEDICAL RECORDS (EMR) MANAGEMENT WITH OCR ASSISTED SUMMARIZATION

A decentralized web application using ReactJS, Flask, Solidity, IPFS and the Ethereum Blockchain to store and view all medical documents securely.

The advantages of having a secure, immutable and decentralized Electronic Health Record (EHR) database:

  1. Single version of the truth verified by the consensus of the participating hospitals
  2. Easy to share selective or all EHRs as consented by the patient
  3. Full medical history of a patient at one single point
  4. Easy verification of medical prescription
  5. Redacted EHRs for research purposes
  6. Increased transparency
  7. No insurance fraud

About the D-App

The Health-Book app has 2 main users:

  1. Patient
  2. Doctor

Patients can:

  1. Upload a document to the blockchain. The document is added as a node in IPFS which returns a hash. The hash is then stored on the blockchain
  2. View the uploaded documents
  3. Analyse the uploaded documents. The text from the document is extracted and NER(Named Entity Recognition) is performed on the text using BERN(Biomedical Named Entity recognition and multi-type Normalization)
  4. Analyse their reports to find keywords related to Drugs or Diseases
  5. Add a trusted doctor to view their medical documents

Doctors can:

  1. Upload a medical document about a certain patient to the blockchain
  2. View a certain patient's uploaded document

About the Ethereum Blockchain

Ethereum is an open source, public, blockchain-based distributed computing platform and operating system featuring smart contract functionality.

About the InterPlanetary File System(IPFS)

The InterPlanetary File System is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file in a global namespace connecting all computing devices

Tech Stack Used: -> ReactJS, CSS and Javascript for Front-End -> Python, Flask for OCR and hosting API -> PyTesseract for OCR -> Solidity for Smart Contracts -> Metamask for simulation -> Ganache (Truffle Suite) for Test Nodes and simulation -> IPFS for Database (storing electronic records) -> Infura API and Web3 for provider

How to run?

  1. Install metamask extension on your default browser from https://metamask.io/
  2. Download Ganache on your PC from https://www.trufflesuite.com/ganache
  3. Install IPFS desktop client from https://github.com/ipfs/ipfs-desktop
  4. Clone the repository
  5. cd to Health-Book/blockchain
  6. do yarn install (recommended) or npm install for downloading the required dependencies
  7. Make a new workspace in ganache and add the truffle-config.js file to the workspace
  8. in Health-Book/server directory, run python app.py
  9. Run IPFS
  10. Run Ganache
  11. in Health-Book/blockchain do yarn start
  12. Enjoy! Your project should be working now.

References

How Can Blockchain Keep Medical Records Secure?

About

Blockchain-Based Electronic Medical Records (EMR) Management with OCR Assisted Summarization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published