Blockchain works over various nodes in a distributed environment and are also in sync with each other. New nodes can also register and contribute over the blockchain. On registration they get the latest information and are also part of the distributed system. 3rd party applications can request any service of the blockchain from any of the nodes in the network.
The reliability of the data is also high since the system is distributed.
Functionalities provided by blockchain:
This blockchain has 4 key attributes which it maintains inside an entry. All the entries are same as a transaction in generic blockchain.
Four attributes inside our entry are : patient id, doctor id, description and prescription. Whenever a doctor stores this information inside the blockchain after examining a patient, this information goes inside the pending entries and when the mining process is done by any of the nodes in the blockchain the entries become permanent inside a block.
After the data is permanent both the doctor and patient can access the history.
Patient can look at his entire history while a doctor can look at the patients, he has prescribed in the past, but he can get the history of only those patients whose data access is given to him by the patient.
Apart from this scheduling an appointment with doctor, input of prescription, viewing history, viewing profile and other miscellaneous functionalities are provided out of blockchain as a part of hospital web application. As these features are application specific, they can be built however the 3rd party prefers.
As part of the web app in our project we have provided the following functionalities: