Manage patient records in easy and efficient way
Gain permission to access patient records from blockchain
Maintain health reports in single secure data store, accessible anywhere in the world by any healthcare institution
Hospital systems are currently very siloed and broken and medical data is not shared across systems. This leads to patients not getting the right care or doctors not having access to all the medical history when they need it. Sharing medical data using the blockchain makes it very secure and also puts the control of who can access and modify data in the hands of the patient, while leaving a record of every access as a blockchain transaction.
What it does
Patient data is stored in the application on the block-chain. Authorized doctors can access the data of patients they are treating. They can view the entire patient history no matter what hospital system they are using. The can add their diagnoses for the patient and these records are permanently appended on to the patient's record.
How we built it
We created smart contracts to store the user's personal data.
Smart contracts contain logic that allows patients to give permissions to access data and allows doctors to add health data to the patient's records. The health data is stored in
Firebase Live Database and an encrypted link is stored in the user personal record as a reference.
Firebase API in addition offers an extremely efficient way of calling request endpoints and reading or writing into database using
Angular FireDatabase. We used
Solidity for coding the block-chain and
testrpc for the purposes of the hackathon to simulate creation of nodes and mining, etc.
Web3 allowed us to interface between the blockchain and the web app, which was developed using combination of
Challenges we ran into
It was the first time for all our teammates to work with the blockchain. We decided to learn how to set up a network with
Etherium and mine our own blocks instead of using an API. Since blockchain is a really new technology we had to learn quite a lot about it.
Solidity still needs to be developed further.
Even though we encountered issues integrating Angular WebApp with Truffle and Solidity, we took it as a challenge & learning experience and eventually fixed all bugs and successfully deployed a working version of application.
Accomplishments that we're proud of
Staying awake for more than 24 hours! Our team learnt Solidity from scratch. We built a pretty neat interface for the web-app and managed to successfully integrate the front-end with the back-end.
What we learned
We learned a lot about the blockchain, Etherium, and Solidity. We also got more experience on using and deploying apps efficiently with Firebase.
What's next for Medlink
Adding an interface for the patient where they can access their own records and view their history and integrating web-app with various forms of medical records.