Inspiration

Hi, I have a lot of inspiration to do this project. During the COVID time, people can't do outside. But many people had health issue, they want to get the correct prescription for the disease, by staying inside home. But now there is no such a situation. However, bringing the online hospital where people can interact with verified and authorized doctors. Now, this is even possible with the help of Decentralized Indentity technology, where identity is issued by decentralized manner.

What it does

Here, Admin can issue the verified credential to the doctor and add to the DIF Hospital network. All the Doctors Details are stored in DWN. Doctors can login themself with trinsic credential template and wallet platform and BBS signature scheme. Patient can connect to doctor and get their respective prescription which is also issued by trinsic credential template. Audio and video calls are possible with help of PeerJs library. Both can exchange their messages securely using DIDComm messaging platform. Doctor can issue prescription. After call ended, patient will pay 1 Ether to doctor.

For running the project:

  1. Clone the git repo.
  2. You can find the fronend folder and server folder.
  3. Run "npm install" by entering both the folders
  4. And for the .env file for frontend, enter the blockchain endpoint you are using. and for server .env, enter the Trinsic token and email

Somthing to Note:-

  1. After initializing the call, if we want to cut the call, just reload the page.
  2. By default, peerJS id is set for both doctor and patient. so we can connect only one doctor and one patient at a time.
  3. PeerJS library used for video calling and exchanging the peer did between the doctor and patient for DIDComm communication.
  4. For doctor creating account page, sample testing dcoument for his proof can be located in github repo.

How we built it

I built with help of Ganache, Metamask, Trinsic id, DIDComm v2, Web5, ReactJS, and NodeJs,

Challenges we ran into

Challenges I ran into like, I was not able to maintain the time management.

Accomplishments that we're proud of

Finally, i built with application that brings the worldwide doctors to online and serve the people who are in need.

What we learned

I learned lot about Decentralized Identity and and other libraries.

What's next for Decentralized DIF Hospital

Next, I want to develop this project to very much end.

Built With

Share this project:

Updates