M

MedicoBetter

One-stop for all your Healthcare needs

M

MedicoBetter

One-stop for all your Healthcare needs

The problem MedicoBetter solves

It provides the first of its kind hybrid healthcare portal which is responsible for making healthcare more accessible to people. It is designed in a way to keep the comfort of elderly people and people with special needs in our minds and provide them with the most user-friendly way to get healthcare support. Our motivation for these projects came from our real-life experiences with our grandparents in the cases when they had to go for a checkup to a hospital alone when their young ones are not available to go with them. We observed that in these cases it is very difficult for them to stand in long queues for making an appointment. Also, it is difficult for them to navigate in big multispeciality hospitals and look for their doctor's cabin. In some cases, it is just a regular verbal consultation that they require for which it is not sensible to travel a long distance. Our solution is aimed at providing comfortable healthcare solutions to these categories of people in both online and offline modes. Any Qualified doctor on entering our portal will have an option to register him/her in it and join our cause. Also, a blockchain-based patient management system will be provided to them. The patients entering our portal will have an option to browse various doctors registered on our portal with different specializations. After they select the required doctor, they can fill their details in and book an appointment. As it is a challenge for all to physically visit the doctor in these covid times and in case of mild symptoms the patient can choose to book the appointment in online mode. If it is booked in offline mode, and the patient booking the appointment is an elderly person or a person with special needs, then we will provide complimentary transport services to the hospital with door-to-door hospital staff assistance. Although anyone can use our portal to book an appointment priority will be given to elderly people and people with special needs.

Challenges we ran into

Firstly, we encountered a bug that our transactions were constantly failing. After some research and observations, we found out that
it was because we had multiple instances of a existing smart contract. To rectify, this we redeployed the smart contract into a new block chain.

Another bug we faced was that on re-rendering sometimes image files on the navbar weren't loading. Unfortunately,
We couldn't fix it. T_T

Also, since dynamic arrays don't exist in solidity, we faced a lot of issues in storing the patients for each doctor. To solve this, We used the doctor's account as the unique key to filter out the patients for a particular doctor.

One bug that we encountered was when we were uploading images to the reactjs. We tried changing the location of the image file from the directory to the directory but to no avail. Finally, we tried importing the image file as an object and added that object to the src field of the img tag. And guess what it worked!!

Discussion