Secured Medical Records System Using Blockchain

Jay Patel
3 min readMar 18, 2021

--

Nowadays many organizations uses cloud computing in health information management worldwide. By this, medical transcription pricing is being reduced. Despite the benefits of cloud computing, the issues are also very immense. That’s why blockchain technology is introduced to make system more efficient and more secured. This is a Blockchain based project in which the patient’s medical history is maintained. Here the entities are doctor, patient and chemist. The chemist has only right to view the medicine list and doctor can view and append further medical records of patient. The transaction is there between patient and chemist for the purchased medicines through smart contract using cryptocurrency.

This is a Blockchain based project in which the patient’s medical history is maintained. Here the entities are doctor, patient and chemist. The chemist has only the right to view the medicine list and the doctor can view and append further medical records of the patient. The transaction is there between patient and chemist for the purchased medicines through smart contract using cryptocurrency.

What is Blockchain?

A blockchain is a peer-to-peer network of nodes that all talk to one another. These nodes are essentially computers that share responsibilities similar to web servers, like running programs and storing data that can be accessed whenever you are connected to the blockchain. All the nodes work together to create a public network that anyone can connect to.

Hardware and software requirements:

Remix IDE:

Remix is a browser based compiler and IDE that enables Ethereum contracts with solidity language to debug transactions.

Metamask:

Metamask is a bridge that allows you to visit the distributed web of tomorrow in your browser today. It allows you to run Ethereum Apps right in your browser without a full Ethereum node. Metamask is a browser extension currently available on all the three major browsers(chrome, firefox, opera).

Ganache:

Ganache is used for setting up a personal Ethereum blockchain for testing solidity contracts. It simulates the features of real Ethereum network , including the availability of a number of accounts funded with test ether.

Methodology

  1. A. Creating smart contract

2. Deploying the smart contract

3. Testing: Command for testing: truffle test

4. Compiling project:

Here is the cmd output which shows some basic operations like deploys successfully , name given , patient created and medicine sold

Output:-

By passing npm run start command our smart contract would directly re-directed at local host : 3000 where smart contract is linked with ganache and matamask.

The user friendly interface where chemist has only right to view the medicine list and doctor can view and append further medical records of patient.

conclusion:

I conclude my SGP by this that i came across a new technology i.e. Blockchain and i indeed become aware about the way blockchain system works, effectiveness that it provides in security and also about the way that it can be helpful for any transactions by creating our own currency i.e. cryptocurrency

--

--