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.
- Introduction
- Features
- Installation
- Architecture
- Prerequisites
- Usage
- Smart Contracts
- Contributing
- License
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.
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.
The system consists of the following components:
- Ethereum Blockchain: The decentralized ledger where health records and transactions are stored.
- Smart Contracts: Written in Solidity, these contracts manage the creation, storage, and access control of health records.
- Frontend Application: A web-based interface for users to interact with the system.
- Backend Services: Node.js services that facilitate communication between the frontend and the blockchain.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Truffle Suite for managing smart contracts
- Ganache for local Ethereum blockchain simulation
- Metamask for managing Ethereum accounts and transactions
Clone the Repository
git clone https://github.com/rishav-pred/Blockchain-based-EHR.git
cd Blockchain-based-EHR
npm install
truffle compile
truffle migrate --network development
npm start
Open the Application Open your web browser and navigate to http://localhost:3000.
Use Metamask to create and connect your Ethereum account.
Use the web interface to create, view, and manage health records. Access controls and permissions are managed through 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.
We welcome contributions to the Blockchain-Based EHR System! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/YourFeature).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature/YourFeature).
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more information.