hackquest logo

MediVaultX

MediVault X is a decentralized medical data management platform where users (hospitals, doctors, or patients) can enter and access patient records securely.

Description

šŸ„ MediVault X – Project Overview

MediVault X is a decentralized medical data management platform where users (hospitals, doctors, or patients) can enter and access patient records securely. The system uses blockchain to ensure that records are tamper-proof, verifiable, and permanently accessible, making medical data sharing and verification more transparent and efficient.


šŸ” Core Features

  1. šŸ“„ On-Chain Patient Record Storage

    • Patient reports, diagnosis data, and health histories are stored on the blockchain.

    • Every report is tied to a unique patient ID and possibly a hospital/doctor wallet address.

    • Ensures immutability and data provenance.

  2. šŸ„ Hospital Registration

    • Hospitals can register on the platform.

    • Each hospital is uniquely identified, and their uploaded records are associated with their address.

    • This allows cross-verification of medical reports.

  3. āœ… Verified Medical Reports

    • Doctors or medical authorities can verify reports (e.g., for fractures, diseases, or critical conditions).

    • Once verified, this status is stored on-chain and can be checked by external authorities (like airports, schools, or employers) to assess health fitness.

  4. šŸ”— Blockchain Integrity

    • Uses smart contracts to store, update (if necessary), and fetch records.

    • Ensures the data is cryptographically secure, decentralized, and auditable.

  5. 🧠 AI-Driven Diagnosis (Optional Layer)

    • Integrates machine learning or deep learning to analyze uploaded medical images (like X-rays or ECG scans).

    • Assists in early detection of conditions like heart disease, lung problems, or fractures.

    • AI results are recorded and can be validated by a doctor.

  6. 🌐 Public Verification

    • Third-party verifiers (with read-only access) can query records using patient or hospital IDs.

    • Useful in public places or during emergencies for real-time health verification.


šŸ“Š Use Case Scenarios

  • Hospitals enter patient records after treatment.

  • Patients can view their medical history from any institution.

  • Doctors verify or diagnose using AI/ML tools.

  • Airports, employers, or schools use blockchain records to check if someone is medically cleared.


šŸ’” Technologies Involved

  • Solidity smart contracts

  • IPFS/Pinata for storing large data (like PDFs, images)

  • Web3.js/Ethers.js to interact with the blockchain

  • AI Models (for image diagnosis, optional)

  • React / Next.js frontend for users

  • Metamask / WalletConnect integration for user login


šŸš€ Future Enhancements

  • Add NFTs for medical achievements (like vaccination badges).

  • Enable insurance claim validations using stored records.

  • Add zero-knowledge proofs to allow data sharing without revealing sensitive info.

Progress During Hackathon

NeuroSync – Hackathon Progress Summary āœ… Week 1: Ideation & Architecture Brainstormed idea for AI-powered escrow on Pharos Network. Defined smart contract structure and escrow flow. Chose tools: Solidity, React, IPFS, Ethers.js, AI backend. āœ… Week 2: Smart Contract Development Wrote and tested payFunds and releaseFunds functions. Implemented trade ID tracking and access control. Deployed initial contract on Pharos testnet. āœ… Week 3: Frontend & Web3 Integration Built React UI for trade creation and fund locking. Integrated Web3 wallet connection and contract interactions. Enabled real-time status updates for trades. āœ… Week 4: AI Integration & Final Touches Linked file upload system to IPFS for trade deliverables. Connected AI backend to verify proof-of-work (POW). Conducted full end-to-end testing and deployed final version.

Tech Stack

Next
Solidity
Team LeaderNNaman Bansal
Sector
AIDeFi