Electronic Health Record system of patient records, so that you never have to carry your medical files to a doctor again!
The project is developed and maintained by
- Akshat Jain (Akshat-Jain)
- Shubhankar Amitabh (shubhamitabh)
- Ravi Kishan (ravi-kishan)
- Ashwani Yadav (ashwaniYDV)
Akshat Jain |
Shubhankar Amitabh |
Ravi Kishan |
Ashwani Yadav |
Over decades, medical facilities have evolved elegantly. Still most of us are the witness of the fact that whenever we see a doctor, we need to put forward our medical file in front of him/her. Our file contains our previous prescriptions, medical reports, X-Rays, MRIs etc. It is a tedious task to keep record of all these.
We aim to provide a digital solution to this problem so that next time when you visit your doctor, you don’t need to carry your medical file. We will be using Blockchain technology to store the patient records. This will ensure that the information remains secure while being decentralised across different peers.
The basic idea is to use Blockchain for storing patient records. The workflow would be as follows:
- Anyone can register on the Blockchain network as a doctor or a patient.
- Whenever a patient visits a doctor, the doctor will have the required permissions to store the diagnosis and medical logs in the patient’s record which would be stored in distributed ledgers across the Blockchain network.
- The doctor would require to sign in the transaction (which would be cryptographically encrypted with his private key) to create and modify the records of a patient (who would be uniquely identified by a patient ID).
- The medical records of a patient will be accessible from any hospital.
Blockchain provides a secure way of managing records.
By using blockchain technology, regulatory bodies can create a shared stream of de-identified patient information.
Patients can specifically authorise any individual to access their medical information.
Blockchain technology can simplify the complex medical billing process by eliminating the series of validations and multiple third parties acting on behalf of other entities.
Patients will be able to easily upload and securely store their updated medical information without messing up any previous records.
- IBM’s Hyperledger Framework for Blockchain
- Hyperledger Composer based on Fabric Architecture
- Hyperledger Playground for Blockchain
- JavaScript for website
- Java for creating Android app
- Clone the repo
git clone https://github.com/Akshat-Jain/Electronic-Health-Record-System.git
- CD into the cloned directory using
cd Electronic-Health-Record-System
. - First install Hyperledger composer. Then install the development environment.
- Execute the following commands to setup your Blockchain network and generate Hyperledger Composer Rest Server:
composer archive create -t dir -n .
composer network install --card PeerAdmin@hlfv1 --archiveFile [email protected]
composer network start --networkName ehr --networkVersion 0.0.3 --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --file networkadmin.card
composer card import --file networkadmin.card
composer-rest-server -c admin@ehr -n always -u true -d y -w true
- Goto
http://localhost:3000/explorer
to explore the REST API
- Change to the directory where the docker-compose.yml file is (
cd /Users/AkJn/fabric-dev-servers/fabric-scripts/hlfv1/composer
- Run
docker-compose stop
to stop the Fabric Containers. - Run
docker-compose start
to restart where you left off. - Change to the cloned repo's directory:
cd /Users/AkJn/Projects/Blockchain/Electronic-Health-Record-System
- Run this command to start the server:
composer-rest-server -c admin@ehr -n always -u true -d y -w true
- Goto
http://localhost:3000/explorer
to explore the REST API.
https://github.com/ashwaniYDV/webClient
This project is available under the MIT license. See the LICENSE file for more info.