Inspiration

Blockchain was a new technology for me. When I read about the hackathon, it focused on using computer science field of medical science. So, I thought, 'Why can't we use a cryptocurrency transaction system, for something very different? Why can't we store records that are priceless, in a system that keeps track priceless transactions?'

Many times, we read about patients who lose their lives, or unnecessary money due to incorrect first aid methods or emergency treatments administered to them, as their medical history is unknown at the time of hospitalization. It would take a lot of crucial time to do reports and get results again. Why not have a secure record storage system that can only be accessed by the doctor and the patient? What better than a blockchain?

What it does

Instead of storing transaction details, it stores blood group, previous reports, images of medical scans, and doctor's name and digital signature for authenticity.

Each block stores medical results or information from exactly 1 clinical visit.

Each block is secured by a hash key made by the previous block, which it should possess. Also, it should possess its own hash key. Hence, if someone hacks into one block (here, record) they can't easily see the other one. This way the patient's life is safe, and a level of patient-doctor confidentiality is maintained.

How I built it

I built a common blockchain implementation from scratch using references here and there. We used nodejs, typescript, javascript, html and css. I tikered with it to suit my problem, as I fitted the blockchain to the problem, and not the opposite!

Challenges I ran into

It was very difficult to solve all path errors, and formatting errors, and tinkering, as this was a wholly new concept a language I rarely work with.

Accomplishments that I'm proud of

I believe this idea is novel, and am proud that I was able to finish a decent demo for my idea in 24 hours.

What I learned

I learned Nodejs, and how to integrate the frontend and the backend. I learnt about blockchains in detail and their significant role in our lives.

What's next for PatientBC

A more polished frontend, which is more user-friendly, an option to make new records from the website itself, and not the source code ;D. Also, more fields and data types to be incorporated in each block. I have a long way to go!

Share this project:

Updates