Skip to content

A blockchain application maintained by the hospital to store a medical record of the patient securely with keeping the patient at the center.

Notifications You must be signed in to change notification settings

rishav-pred/Blockchain-based-EHR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain-Based Electronic Health Record (EHR) System

Access the webiste here : https://rishav-pred.github.io/Blockchain-based-EHR/ medical_record_project

Welcome to the Blockchain-Based Electronic Health Record (EHR) System! This system leverages Ethereum blockchain technology and Solidity smart contracts to provide a secure, decentralized, and transparent platform for managing electronic health records.

Table of Contents

Introduction

The Blockchain-Based EHR System aims to enhance the security and accessibility of health records by utilizing blockchain technology. By storing health records on a decentralized ledger, the system ensures data integrity, privacy, and accessibility for authorized users.

Features

Decentralized Storage: Health records are stored on the Ethereum blockchain, ensuring data integrity and availability. Security and Privacy: Access to health records is controlled through smart contracts, providing robust security and privacy controls. Transparency: All transactions and access logs are recorded on the blockchain, ensuring transparency and traceability. Interoperability: The system supports integration with existing health record management systems.

Architecture

The system consists of the following components:

  1. Ethereum Blockchain: The decentralized ledger where health records and transactions are stored.
  2. Smart Contracts: Written in Solidity, these contracts manage the creation, storage, and access control of health records.
  3. Frontend Application: A web-based interface for users to interact with the system.
  4. Backend Services: Node.js services that facilitate communication between the frontend and the blockchain.

Prerequisites

Before you begin, ensure you have met the following requirements:

  1. Node.js and npm installed
  2. Truffle Suite for managing smart contracts
  3. Ganache for local Ethereum blockchain simulation
  4. Metamask for managing Ethereum accounts and transactions

Installation

Clone the Repository

git clone https://github.com/rishav-pred/Blockchain-based-EHR.git
cd Blockchain-based-EHR

1. Install Dependencies

npm install

2. Compile Smart Contracts

truffle compile

3. Deploy Smart Contracts

truffle migrate --network development

4. Run the Application

npm start

Usage

Open the Application Open your web browser and navigate to http://localhost:3000.

Create an Account

Use Metamask to create and connect your Ethereum account.

Access Health Records

Use the web interface to create, view, and manage health records. Access controls and permissions are managed through smart contracts.

Smart Contracts

The smart contracts are located in the contracts directory. Key contracts include:

HealthRecord.sol: Manages the creation and storage of health records. AccessControl.sol: Controls access permissions for health records. UserRegistry.sol: Maintains a registry of authorized users.

Contributing

We welcome contributions to the Blockchain-Based EHR System! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

A blockchain application maintained by the hospital to store a medical record of the patient securely with keeping the patient at the center.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published