Skip to content

Web based ,Patient Centric Electronic Health Record Manager using Blockchain techniques.

License

Notifications You must be signed in to change notification settings

antoprince001/Blockchain_for_EHR

Repository files navigation

Electronic Health Record Manager

Implementation of web based software for handling electronic health records using Flask, html, CSS , bootstrap and mongodb to show high level implementation of blockchain.

image

Html+CSS+Bootstrap+JS has been utilized to create an intuitive website that allow users to login as admin, doctor or patient and perform their specific niche operations. The information collected to create a new medical record is based on the key points provided by the Ministry of Health and family welfare.

Blockchain implementation (Backend): Flask, the micro framework in python is utilized for the implementation.

Information collected is stored in the cloud server (MongoDB) and a block is created with hash based on attributes of the medical record and it also holds the previous hash and timestamp of creation.

Note : No blockchain implementation is used. A custom highly level blockchain like architecture is developed to replicate the blockchain functionality.

Demo login

PATIENT

Username : PAT001

Password : password

DOCTOR

Username : DOC1

Password : password

Use case diagram

image

image

Patient Record Access Schema

image

Guardian Mode Access Schema

image

Patient Data Blocks

image

Patient Record Blocks

image

Steps to run the project

Requirements : Python 3.x version

  1. Clone the project to local directory

    git clone https://github.com/antoprince001/Blockchain_for_EHR.git

  2. Change directory to cloned project

    cd Blockchain_for_EHR

  3. Install the pip module dependencies (Preferably in virtual enivironment)

    pip install - r requirements.txt

  4. Then, run the main app.py file

    python app.py

  5. If you want to configure your own mongodb connection

    • Create an account in MongoDB Cloud atlas
    • Create a cluster and retrieve the connection url
    • Update the connection URL in Line 61 of app.py file
  6. View the website live at http://localhost:5000/

About

Web based ,Patient Centric Electronic Health Record Manager using Blockchain techniques.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages