Blockchain is an immutable ledger and with its decentralized nature has great potential for increasing the security, privacy, and efficiency of Medical Health Record keeping systems. Currently, existing solutions rely on centralized databases which are susceptible to Ransomware attacks, Denial of Service(DoS) attacks and also have significant counterparty risks. Some decentralized solutions also exist but some of them are not really decentralized that is based on private or permissioned blockchain. In contrast, some which are based on public blockchains have not properly addressed the performance and scalability issues.
The proposed system is based on EVM-compatible public blockchains using IPFS as a decentralized file storage solution and uses 2048 bit RSA encryption to encrypt the IPFS HASH of file metadata on the client-side before uploading the HASH on the blockchain. For supporting fast and complex queries this system uses a decentralized indexing protocol The Graph. The smart contract is currently deployed on Skale, Optimism, Polygon zkEVM, Mantle and Gnosis Chain.
With this system, patients can access their medical records anytime anywhere without the counterparty risk from the centralized entity. This system also features QR code for sharing medical files from patients to doctors. With the proposed implementation the decentralized medical record system provides increased security and privacy compared to centralized systems without loss of significant performance or scalability benefits.
An AI Module that serves as medical assistance when you have symptoms that you cannot get to the hospital was also implemented using the OpenAI system.
Integrating the AI for diagnosis and prescription with the Blockchain for storing patient records was something that was an adventure worthwhile
Technologies used
Discussion