Inspiration
Centralized medical records are often inaccessible, insecure, and difficult to share across hospitals. I wanted to build a system where patients own their data and medical records cannot be tampered with. Blockchain’s transparency and immutability inspired this decentralized solution.
What it does
The system securely stores patient, doctor, and hospital data on the Ethereum blockchain. Hospitals can register records, and users can retrieve them anytime through the DApp. Everything is verified, decentralized, and controlled through MetaMask-based authentication.
How we built it
We developed Solidity smart contracts, deployed them on Ethereum using Remix, and connected them to a frontend built with HTML, CSS, and Web3.js. MetaMask handles transaction signing, and lite-server hosts the application locally. The architecture ensures secure and tamper-proof data flow between the UI and blockchain.
Challenges we ran into
We faced issues with contract-owner permissions, pending transactions, and mismatched ABI-function names. Integrating Web3.js versions and fixing network configuration also caused debugging delays. Ensuring smooth contract-to-frontend communication was the biggest hurdle.
Accomplishments that we're proud of
We successfully built a functional decentralized health record system with secure access control. Deploying multiple smart contracts and making the full DApp work end-to-end was a major achievement. We also overcame several difficult blockchain debugging challenges.
What we learned
We learned how to design secure smart contracts, handle on-chain data, and connect blockchain logic to a web frontend. We gained experience with MetaMask, Web3.js, and Ethereum transaction flows. Most importantly, we understood how decentralization improves data ownership.
What's next for Decentralized Personal Health Record Management
We plan to integrate IPFS for storing reports, add role-based access control, and improve the UI. In the future, this system could expand into a nationwide blockchain-based health identity platform. The vision is to provide secure, patient-owned health data across all hospitals.
Built With
- css
- ethereum
- ganache
- html
- javascript
- lite-server
- metamask
- node.js
- remix-ide
- solidity
- testnet
- vs-code
- web3.js
Log in or sign up for Devpost to join the conversation.