Health data is one of the most valuable pieces of electronic data. Millions of records are exchanged everyday. However, the patients who own the data never receive a cut of the value. Why is this? It turns out that healthdata is centrally stored by a third party who takes no input from the patient. Health data is stored, transferred, and sold without any say from the data's owner. We want to change the ownership dynamic.
What it does
EMRchain aims to put patients in control of their health data. Patients who upload their health records to EMRchain are easily able to sell their data in exchange for tokens. Users can also share their data with healthcare providers they visit. With a comprehensive, easily shareable record, both patients and providers save time over traditional Web2 systems. Furthermore, our solution ensures that fewer administrative mistakes are made due to missing health records.
How we built it
In this hackathon, we built an MVP (minimally viable product) to showcase a slice of our bigger idea. We built a tool for patients to upload their health records in exchange for tokens. We used Next.js and Vercel for the front-end, and a Solidity smart contract for the back-end. Our token is an ERC20 token built on Ethereum with a bridge to Aurora/Near. The user-friendly interface makes sharing data intuitive, while the back-end enables token rewards to be sent.
Challenges we ran into
We had issues with getting a working oracle for the project. In order the give tokens to users who upload their data, we needed to verify that accurate data was uploaded. To do so, we needed to gain outside information through an oracle connected to the API of the database. In the end, however, we were unable to implement the oracle.
Accomplishments that we're proud of
We are proud of our user interface. We wanted an intuitive and nice looking interface, that would be inviting for new users to use. This interface is something we intend to keep for future iterations.
What's next for EMRchain
The next task is to properly implement the oracle and to seek funding. Once we have the oracle in place, we plan to reach out to various angel investors. We are looking for funds to pay ourselves full time, to set up a liquidity pool, and get audited.