π©Ί Patient Vitals Record β On-Chain Healthcare Data System
A simple and beginner-friendly Solidity smart contract that securely records and updates patient vitals (like heart rate, temperature, and blood pressure) on the blockchain.
π§ Project Description
This project demonstrates how blockchain technology can be used to make healthcare data transparent, secure, and immutable.
Built on Celo Sepolia Testnet, this smart contract allows hospitals or authorized entities to record and update patient vitals while making them viewable by anyone in a trustless and verifiable manner.
The main goal is to help beginners understand how to:
Structure Solidity contracts
Use mappings and structs for data storage
Work with modifiers for access control
Deploy on public testnets like Celo Sepolia
βοΈ What It Does
Records patient information (name + vitals)
Updates data only by the authorized owner (hospital or doctor)
Makes all records publicly viewable for verification
Emits events every time a patientβs vitals are updated
Stores data permanently on-chain
β¨ Features
β
Secure Access Control β Only the contract owner can add or modify patient records
β
Transparency β Anyone can view patient vitals on-chain
β
Data Integrity β Records are stored on an immutable ledger
β
Event Logging β Each update is logged for auditing purposes
β
Simple Interface β Easy to test and interact with on Remix IDE
github repository link :https://github.com/Techie-man-osm/demo-one-celo
The mission of this project is to bring transparency, security, and trust to healthcare data management through blockchain technology. By recording patient vitals on an immutable ledger, the system ensures that medical information is protected from tampering and unauthorized changes. The smart contract empowers authorized healthcare providers to update records while allowing anyone to verify data integrity on-chain. This initiative aims to simplify medical record handling, enhance accountability, and showcase how decentralized technologies can solve real-world healthcare challenges.
Healthcare systems often struggle with securely storing and updating patient vitals, leading to risks of data tampering, loss, or unauthorized access. Traditional databases lack transparency and verifiability, making it difficult for stakeholders to trust the integrity of medical records. There is a need for a decentralized solution that allows authorized entities to record and update patient vitals while keeping the data publicly auditable. This project addresses the problem by using blockchain technology to ensure secure access control, transparency, and immutable storage of patient health data.
This project provides a blockchain-based smart contract that securely records and updates patient vitals on the Celo Sepolia Testnet. By using Solidity, the system leverages immutable storage, ensuring that patient data cannot be altered or deleted. Access control is enforced through an owner-only modifier, allowing only authorized medical personnel to add or modify records. All data remains publicly viewable, enabling transparent verification without compromising security. Events are emitted on every update, creating a reliable audit trail. This decentralized approach eliminates dependency on centralized databases and enhances trust in healthcare data management.
India