This project is based on a hyperledger fabric network (v2.0) that is managed by hospitals to securely store a patient's medical record while keeping the patient at the center of the process. This means that a patient's medical record cannot be accessed without their consent. All network participants - doctors, hospitals, pharmacies, and private clinics will be given digital certificates by the official medical board of the country to join the network. Doctors will have the ability to perform all the CRUD operations on their patient records.
This project is also useful in crisis situations like the COVID-19 outbreak by providing correct and auditable certificates to people. It also keeps track of those infected during the crisis or pandemic.
> chmod +x docker.sh
> sudo ./docker.sh
> usermod -a -G docker ${USER}
> 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
> cd explorer
> docker-compose up -d
How to send Peer request
- Feel free to add new/change mini-targets of the project in Project Status Section
- Ensure that documentation is updated according to your changes.
- ✔️ Chaincode
- ✔️ Medical Report
- ✔️ Drugs
- ✔️ Tests
- ✔️ Treatment
- ✔️ Consent
- ⬜ Fabric Network configuration
- ✔️ Local Fabric Network for Test
- ✔️ Explorer to view metrics and visualize blocks
- ⬜ Fabric SDK
- ⬜ Doctor Side
- ⬜ Hospital Side
- ⬜ Medical Board side
- ⬜ Patient Side
- ⬜ Certs Management
- ⬜ Doctor Side
- ⬜ Hospital Side
- ⬜ Medical Board side
- ⬜ Patient Side
- ⬜ PostgreSQL (Auto-increment Column)
- ⬜ Nodejs server
- ⬜ Containerization
- ⬜ Blockchain
- ⬜ Front-end
- ⬜ Back-end
- ⬜ Kubernetes Orchestration
- ⬜ AWS
- ⬜ Tested
- ⬜ Deployed
- Hyperledger Fabric (v2.0)
- Hyperledger Explorer
- Frontend (HTML, CSS,,)
- Golang
- PostgreSQL
- Nodejs
- Docker
- Kubernetes
- AWS (VPCs and EC2s)