Coder Social home page Coder Social logo

ehr-on-blockchain's Introduction

Electronic Health Record System on Blockchain


This project leverages a hyperledger fabric (v2.0) network maintained by hospital to store a medical record of the patient securely with keeping the patient at the center. That means the medical record of any patient cannot be accessed without the consent of his/her. All the participants of the network like doctors, hospitals, pharmacies and private clinics will be given digital certificates by the Offical Medical board of the country to join the network. Doctors will able to perform all the CRUD operations on their patient records.

This project also helps in cries like the COVID-19 outbreak by providing correct and auditable certificates to the People. This also keeps track of infected during the time of cries/pandemic only.

Table of Contents

Installation

Install Docker

> chmod +x docker.sh
> sudo ./docker.sh
> usermod -a -G docker ${USER}

Start Local Test Fabric Network

> cd CI
> docker-compose up -d
> docker exec -it cli bash
> cd channel-artifacts && ./joinchannel.sh
> cd $GOPATH/src/chaincode && go mod vendor
> cd .. && peer lifecycle chaincode package health.tar.gz --label health -p chaincode
> peer lifecycle chaincode install health.tar.gz 
> export CC_PACKAGE=health:----------64hexdigit number----------
> peer lifecycle chaincode approveformyorg -C test -n health --package-id $CC_PACKAGE -v 1.0 -o orderer:7050 --sequence 1
> peer lifecycle chaincode commit -C test -n health -v 1.0 -o orderer:7050 --sequence 1

Start Hyperledger Explorer to view blocks

> cd explorer
> docker-compose up -d

Contributing

First Step: fork and clone the project repo to your local machine
Second step: Read description and architecture of the project from the project wiki page (feel free to introduce better approach)

How to send Peer request

  1. Feel free add new/change mini-targets of the project in Project Status Section
  2. Make sure that documentation is updated according to your changes.

Status

Blockchain

  • ✔️ Chaincode
    • ✔️ Medical Report
    • ✔️ Drugs
    • ✔️ Tests
    • ✔️ Treatment
    • ✔️ Consent
  • ⬜ Fabric Network configuration
    • ✔️ Local Fabric Network for Test
    • ✔️ Explorer to view metrics and visualize blocks
  • ⬜ Fabric SDK Run in Postman
    • ⬜ Doctor Side
    • ⬜ Hospital Side
    • ⬜ Medical Board side
    • ⬜ Patient Side
    • ⬜ Certs Management

Front-End

  • ⬜ Doctor Side
  • ⬜ Hospital Side
  • ⬜ Medical Board side
  • ⬜ Patient Side

Back-End

  • ⬜ Postgresql (Auto-increment Column)
  • ⬜ Nodejs server

deployment

  • ⬜ Containerization
    • ⬜ Blockchain
    • ⬜ Front-end
    • ⬜ Back-end
  • ⬜ Kubernetes Orchestration
  • ⬜ AWS
    • ⬜ Tested
    • ⬜ Deployed

Stack

  • Hyperledger Fabric (v2.0)
  • Hyperledger Explorer
  • Frontend (HTML, CSS,,)
  • Golang
  • PostgreSQL
  • Nodejs
  • Docker
  • Kubernetes
  • AWS (VPCs and EC2s)

ehr-on-blockchain's People

Contributors

fuwong94926 avatar

Stargazers

Hannah avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.