In this Covid-19 pandemic situation, many doctors and health care workers are being affected by this virus. Since they need to interact to know about the patient’s body conditions with time. So the method of interaction will be lost when the contact between the patient is reduced. Here comes our Patient Monitoring chatbot to overcome this problem by performing a set of tasks.
In this Patient Monitoring chatbot following tasks are performed
- The chatbot is activated only when the wake word is said for example in this case(“Hey PM Robot”).
- It then asks for the room number so that it can be used to store the data of the particular patient in that room and to access his/her Gmail accounts.
- Since the patients are isolated and they are getting stressed very easily, the chatbot will take a stress test and will report the result to the doctor.
- Patients can also start chatting with the bot like greeting them, chitchat, etc.
- It is very helpful in reporting the blood pressure, pulse rate, and oxygen level in the blood to the doctor.
- Under the emergency situation, the chatbot will send emergency notifications to the doctor.
- It could also send messages to the doctor and read the messages from the patient’s inbox.
- It will also help the patients to know current headlines from “The Times of India” news website.
- It is also capable of telling the current date and time.
- Fully voice based chatbot STTS.
- Can send and read email of patients using gmail.
- Can send emergency message to doctor.
- Test for mental-stress analysis of patients are taken and sent to doctor.
- Helps to know current news in India by accessing Times of India website.
To reduce doctors and health care workers to be affected by Covid-19 spread. The chatbot can also be used to chat with the patients, to make fun with them. The chatbot is used to analyze the stress level of patients and indicate them.
Python:
import datetime
import random
import re
NLP:
import nltk
Web scrapping:
import bs4
import requests
Email notifications:
import smtplib
import imaplib
import email
Voice input & output:
import speech_recognition
import pyttsx3
import Pyaudio
Datasets are already available in this repository.It is enough to train the chatbot.You can also change the dataset according to users convenience . Orelse if you want to download datasets you may refer, https://github.com/microsoft/BotBuilder-PersonalityChat/blob/master/CSharp/Datasets/README.md
-
Unable to download Pyaudio in command prompt or pycharm Download Pyaudio wheel file from here https://pypi.org/project/PyAudio/#files Then use the command prompt or terminal to install from wheel file.
-
Unable to use datasets available in source code Download new datasets from the above-mentioned link, then train the bot.
-
Unable to access above mentioned email id Change email id according to the user’s convenience.
-
Can't recognize voice properly Pronounce correctly in English.