MediBlock

MediBlock

A ONE-STOP DESTINATION FOR INTEROPERABILITY BETWEEN PATIENTS AND DOCTORS

MediBlock

MediBlock

A ONE-STOP DESTINATION FOR INTEROPERABILITY BETWEEN PATIENTS AND DOCTORS

The problem MediBlock solves

MediBlock is an online portal that maintains a digital copy of a patient’s medical history, along with all of their diagnosis and prescriptions. Over the years, several instances of healthcare data violations have challenged the idea of keeping patient health records in one central location. There has been a slight increase in healthcare data breaches in the United States in the past 10 years.
Our front end will be a web app where patients will input their medical details. We will store all the data on the InterPlanetary File System (IPFS). IPFS will generate unique hash values for each record which will be stored on the blockchain. Using the public key the patient can give health intermediaries access to their personal health record; This is stored as an immutable record/transaction on the blockchain. The decentralized nature of the technology creates one ecosystem of patient data that can be quickly and efficiently referenced by doctors, hospitals, health intermediaries, and anyone else involved in treatment.
Moreover, our implementation involves providing the users complete access to their Personal Health Records(PHRs) and accessibility with the power of decentralization and content-based addressing. The patient has full access to their PHRs and shares access to the same with any health intermediary of choice. Every patient can access the web application and register by providing the respective information. The following user can share the link of existing PHRs uploaded on the application i.e perform a transaction only having a verified Metamask wallet. The process of sharing the PHR access is rendered to be complete and verified only after authorization by all nodes.
A Subscription model is also proposed which first offers a 15-day free trial period to new users. If one wishes to continue using the platform's services, one will have to get a premium subscription which is far more efficient with respect to storage and network/transaction fees.

Challenges we ran into

  1. IPFS/ Filecoin usage in the application:-
    Our application utilizes Interplanetary File Storage (IPFS) to store all patient healthcare information along with
    supporting medical documents in a secure encrypted form. The previous version of the application leveraged a personal
    server setup on the localhost environment to store all critical information on the P2P network, however, when we tried to scale the application for the deployment process we faced a challenge in establishing IPFS / Filecoin remote node connected via third-party applications such as Infura.
  2. Replit:-
    While Replit offered deployment space for our application, we could not properly configure the code deployment due to the node.js version. The deployment of the app was particularly challenging as we were facing native package.json issues in regard to time constraints.
    However, after understanding the different template settings for app deployment, we modified the replix.nix file offered by the platform which is subjective to our app configurations. The code to the same:
    { pkgs }: {
    deps = [
    pkgs.nodejs-16_x
    pkgs.nodePackages.typescript-language-server
    pkgs.yarn
    pkgs.replitPackages.jest
    ];
    }

Discussion