Inspiration

Blood is one of the most crucial fluids in the human body. Because of the sensitivity of blood information and the storage and supply circumstances, proper management of blood becomes a difficult job. Hazardous blood can sometimes get through the system and infect patients. The ignorance about the seriousness of these issues may lead to fatal consequences. Apart from this, proper estimate of future blood unit requirements is also required in order to decrease the imbalance and help make good use of surplus blood in cases of emergencies. Data privacy and validation of blood transfusion requests are also important throughout the process. To sum up, visibility, security and overall reliability are the main motives to be achieved using a blockchain-based solution. According to recent surveys, every day, 12,000 people in India die due to the sheer lack of donated blood and the numbers only increase during epidemics and pandemics. More often, unsafe blood can also penetrate the testing phase and reach the patients infecting them. Along with these there are several issues like not knowing availability of blood with respect to blood banks, no transparency in systems and much more Though this problems may go unnoticed but the consequences are fatal. Blood distribution systems can be made scalable, secure and more efficient due to the use of technology Technologies like blockchain help achieve the transparency which lack in current centralized systems It also provides immutability which ensures integrity of information at each and every point on the platform

What it does

Considering the current situation, Despite technological advancements, today's blood bank processes are still manual. Lakhs of people are affected due to transmission of infected blood or not getting it timely. Along with this, there is a widespread issue with the availability of required blood types. As a result, we aim to -

1) We need to make sure that scarcity of blood in nearby regions or localities especially in case of emergencies is reduced and along with that, there is reduced human intervention to reduce flaws.

2) Lack of transparency causes issues such as systems cannot keep proper track of everything and hence improvement in traceability of blood is required.

3) Also, compared to the current systems lacking the use of technology, blood distribution systems need to be more transparent and secure.

4) And, last but not the least is that the user identity must not be tampered at any point on the platform. Integrity should be maintained before and after transmission. It must be ensured that the patient gets safe blood and the donor's identity is not tampered.

How we built it

Donors can donate blood, possibly at the campsite or at the blood bank itself. Information about the donated blood is recorded in the blockchain. A new block of data consisting of Information like Aadhaar numbers, blood group, blood ID, Etc. is appended to the Bloodstore. This blood is not yet verified, and hence it cannot be classified as safe or unsafe. Now the blood is taken to the blood inspection center, where after physically checking it, the Blood will be declared as ''Tested and Safe'' or ''Tested and Unsafe''. As this happens, a QR code will be generated which is the combination of Aadhaar numbers, blood ID, and Batch number's hash. This QR code will be automatically downloaded and is to be stuck on physical blood packets. The  Donor will be notified in both cases about acceptance or discarding of his blood. Blood can be transferred by changing one of the attributes from  Timestamp, owner of the Blood, Location of Owner, and verified. The blood, which is marked ''Tested and Safe'' can now be used for patients. Now, on the Hospital side, if blood is required, they have to specify the required blood group. Then our algorithm will search for the most optimal blood bank based on the Deciding factor. Deciding Factor Formula is calculated based on the thought that the distance between the two entities must be as minimum as possible. They must have a greater quantity of blood available and at them. After finding the optimal blood bank, the Blood will be transferred from that blood bank to the current Hospital. Then the Hospital can see details of the Blood they have received virtually. They can also view the location of the blood bank on Google Maps, and finally, when the Blood is received physically, they can upload the QR code present on the Blood and verify the correct Blood is received. This verification is done by comparing the both the values obtained. The Blood donors can also track the history of their Blood just by entering their aadhar and blood ID.

Challenges we ran into

1) Integrating the Solidity Smart Contract with React JS User Interface while maintaining the security of our system.

2) Deploying our private blockchain in polygon Matic Mumbai test network.

3) Thinking through various perspectives including that of a fraudster to ensure that our system is full proof from all sides.

4) Coming up with an optimal blood transfer algorithm that ensures the timely transfer of the surplus blood to the needed hospitals.

Accomplishments that we're proud of

1) Our primary objective is to provide a platform that could guarantee the visibility, security, and reliability. we have tried to achieve all these objectives through our implementation

2) The QR code authentication ensures integrity of the product transferred between two parties which ensures that the patient will get only what is expected.

3) The backend optimisation algorithm automatically searches for the most optimal blood on the basis of location and quantity which ensures availability of blood at all times.

What we learned

1) The proposed system is a blockchain-based solution which provides traceability which ensures visibility. The algorithms help ensure that transactions are encrypted which in turn provides security and overall reliability on the records.

2) This especially helps in eliminating the possibilities of scarcities of blood during cases of emergencies.

3) The software platform also allows the entities involved in the transaction to track the entire process which makes the entire process transparent and trustworthy.

What's next for Securing Blood Distribution Using Blockchain

1) An artificial intelligence for a machine learning component can be created which would interact with our blockchain component for finding out the most optimal blood bank ( which is currently done by using the deciding factor) . Doing this will make sure that the blood bank refind is more accurate.

2) Our finished product is hosted on the matic blockchain which makes the process of loading the data a little slow .The following changes can be tried to make sure that day end user does not gets delayed results

     a) Different blockchain networks like Infura Network, Ropsten Test Network, Kovan Network , Rinkeby Network can be tried and tested

     b) Some changes can be made in methods for retrieval and posting of data which would make the entire process to look more smooth

     c) High level data caching algorithms can be used  to save the  important data locally and display whenever needed

     d) lazy loading can be implemented  which means only a specific  section of data would be retrieved from the server

3) The user interface of the proposed application can be made more user friendly and interactive

4) A multilingual interface can be implemented such that people from rural parts , all over the country could benefit from the proposed solution

5) An ML model can be implemented which could find out the Scarce Blood location can blood could be transported to them in advanced

6) The researchers can broaden the scope of their research in the future by looking into things like verification failure, storage problems, and disposal of unsafe blood.

Built With

Share this project:

Updates