safiullah1999 / virtual-doctor Goto Github PK
View Code? Open in Web Editor NEWVirtual Doctor is a React Based Web application to digitize communication between the doctor and the patient. This app uses Blockchain to secure patients' and doctors' information. The main feature of this application is: login authentication, online appointments with doctors, providing prescriptions, creating reports, deleting patient or doctor by admin. This application consists of three users Admin, Doctor, and Patients. The admin only has the right to add and remove other users and has no access to any of the patient’s health information. Admin only manages to add users, remove users, and password change requests in the system. The second type of user in our system is the patient, the patient has the right to view his medical information and set appointments, the patient cannot alter his medical information. Once data is added to the Blockchain it cannot be changed in any way. The third type of user in our system is the doctor, the doctor has the right to view his appointments, prescribe medicines, and create patient reports. The only doctor is the one who has the right to add reports of the patient. Our smart contract also uses the modifier of OnlyDoctor which makes sure that the doctor is the only one who can add medical information of the patient.