version: "2.0"
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- drasknurse
- faq
- greet
- goodbye
- affirm
- deny
- email
- book_appointment
- choose_department
- choose_doctor
- feedback
- id
- name
- choose_time
- number
- room_type
- weight
- blood_group
- height
- birthdate
- sex
- address
- feelingsickcold
- thankyou
- medlist
- choose_duration
- drug_description
- nlu_fallback
- question
- Online
- Offline
- reminder
- takenumber
- sympthon_description
- check_file_toexcel
- phone_no
- accountnumber
entities:
- name
- email
- department
- doctor
- id
- time
- address
- sex
- height
- blood_group
- weight
- room_type
- birthdate
- duration
- sympthom
- phone_no
- account_number
slots:
weight:
type: any
influence_conversation: false
height:
type: any
influence_conversation: false
department:
type: any
influence_conversation: false
doctor:
type: any
influence_conversation: false
email:
type: any
influence_conversation: false
name:
type: any
influence_conversation: false
id:
type: any
influence_conversation: false
birthdate:
type: any
influence_conversation: false
time:
type: any
influence_conversation: false
duration:
type: any
influence_conversation: false
phone_no:
type: any
influence_conversation: false
address:
type: any
influence_conversation: false
sex:
type: any
influence_conversation: false
account_number:
type: any
influence_conversation: false
blood_group:
type: any
influence_conversation: false
room_type:
type: any
influence_conversation: false
responses:
utter_invalid_weig:
- text: please type valid weight.. (eg. 78.0,45.9,65...etc)
utter_invalid_heig:
- text: please type valid height.. (eg. 1.6,1.7,1.5...etc)
utter_ask_weight:
- text: please type your weight please
utter_ask_height:
- text: whats your height?
utter_ask_email:
- text: please type your email
utter_ask_phone_no:
- text: type your phone_no
utter_ask_time:
- text: when will you want your schedule to be?
- text: when and at what time do you want me to schedule your appointment?
utter_ask_name:
- text: please type your full name
utter_ask_address:
- text: please type your address
utter_ask_sex:
- text: what is your gender?
buttons:
- title: "Female"
payload: "Female"
- title: "Male"
payload: "Male"
utter_ask_birthdate:
- text: type your birthdate please
utter_ask_blood_group:
- text: what is your bood group?
buttons:
- title: "A"
payload: "A"
- title: "B"
payload: "B"
- title: "AB"
payload: "AB"
- title: "O"
payload: "O"
utter_ask_room_type:
- text: if you want to book a room please select one from below
buttons:
- title: "VIP"
payload: "VIP"
- title: "VVIP"
payload: "VVIP"
- title: "NORMAL"
payload: "NORMAL"
utter_reminder:
- text: how may interval do you want me to set the reminder for you?
buttons:
- title: "8 hours"
payload: "12"
- title: "5 hours"
payload: "10"
utter_accountinfo:
- text: can i get you acount information please
utter_paymentinfo:
- text: okay, to pay offline go to this address or to this 1234556609876 account number.
utter_payment:
- text: would you like to make the payment online or offline?
buttons:
- title: "Online"
payload: "online"
- title: "Offline"
payload: "Offline"
utter_question:
- text: sure, you can ask me anything related to health. but if i didnt know or predict you something else please dont hate me 😞 😞
utter_take_per:
- text: you name is {PERSON}
utter_please_rephrase:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?
utter_default:
- text: sorry didnt catch that, please type again
utter_feelingsick:
- text: instade of rushing to take medication, there are plenty of other things you can do with home remedies to help you feel better. 1- get plenty of rest and fluids
2- drink hot lemon and honey 3- stay warm and wrap up 4- have a hot bath and make yourself a hot water bottle
5- Drinking plenty of fluids
6- Eating chicken 7- Soothing your throat 8- Using saline nasal drops
utter_didthathelp:
- text: did that help??
utter_carryon:
- text: Greate! carry on.
utter_thankyou:
- text: My Pleasure 😊.
utter_greet:
- text: hello, welcome to HiwotFana hospital, how can i help you?
utter_goodbye:
- text: Ok Bye, see you around!!
utter_invalid_eml:
- text: email must be this type=jolinafau@gmail.com
utter_invalid_phone_num:
- text: phone number must be 10 digit
utter_invalid_tim_fail:
- text: please try to write a date in to this format <2020-12-02>
utter_medlist:
- text: amoxa mangova blabad manind
utter_amoxa_desc:
- text: amoxa is a drug or medicine you take if you have a fever to cool it down
utter_tablet_desc:
- text: tablet is a medication you take when you have a flu
utter_notfound:
- text: sorry the description for that medicaiton is not found on my database, but i will try to learn it soon.
utter_take_durationval:
- text: duration taken time is {duration}
utter_faq/ask_aboutinsulin:
- text: As you may have read, Type 2 diabetes is a progressive disease.
Will you require insulin? That all depends on individual factors that includes, among many other factors, weight, exercise,
genetics, hormones and beta-cells, those cells that produce insulin in your pancreas. Research shows that managing your diabetes
early in the disease process can have big payoffs in later years. Joining a support group for people with diabetes can be helpful in keeping you going in your health quest.
utter_faq/ask_aboutcalories:
- text: Excellent question. To make a long story short A serving of alcohol is typically not very high in calories,
BUT it is metabolized very differently than our food (90 percent in the liver), which can make weight loss tricky. For example,
a light beer is roughly 100 calories and so is a handful of nuts. In terms of calories, this is not much at all, but in terms of metabolism,
they vary significantly, partly because you have fiber, protein, and fat in the nut and virtually none of these in beer.
utter_faq/ask_aboutvegan:
- text: The scientific evidence on the role of diet in autoimmune diseases such as lupus is just becoming available.
I am a believer that a plant-based diet is helpful in promoting overall health and decreasing the chemicals that cause inflammation.
I advocate a -based diet along with a very low-fat diet. You have to recall that French fries are vegan but they are not exactly healthy.
I think that exercise and healthy diet are extremely important for everyone, but more so for those with autoimmune diseases.
utter_faq/ask_aboutstroke:
- text: Yes. There are genetic factors. There are some people that are born with certain genes that predispose them to stroke.
One such condition would be CADASIL (cerebral autosomal-dominant arteriopathy with subcortical infarcts and leukoencephalopathy).
If you are interested, I am sure you can learn more about this condition from the Web. Some people are born with genetic conditions
that predispose them to clotting. This in turn may increase their stroke risk. Finally, if you have a strong family history of high
blood pressure, diabetes, high cholesterol or any of the major modifiable risk factors for stroke, you may also be at higher risk because of this.
utter_faq/ask_aboutasthma:
- text: Albuterol is usually the primary "rescue" or short-term medicine that is used to help acute asthma symptoms, such as coughing or
wheezing. When a patient needs to use albuterol to relieve daytime symptoms more than twice per week, however, it usually reflects
the need to use daily "controller" or anti-inflammatory medications. Many people are concerned about possible side effects of inhaled
steroids, which are the largest group of "controller" medications available. When used in low- to medium-doses, however, inhaled
steroids are very safe, even used on a daily basis for years. They are much safer than either multiple courses of oral steroids OR uncontrolled/undertreated asthma symptoms.
utter_faq/ask_aboutspineblockinjection:
- text: There are number of injections, and they basically are used to block the pain generators that are believed to be the cause of pain.
These have been used for decades for pain control. Some need only one injection and some may need more than one to get adequate relief.
There is no permanent solution that is consistent for these pain generators.
utter_faq/ask_abouteatingmotivtool:
- text: These are a few that I have found quite helpful for my patients
1 Continue to remind yourself of the benefits of reaching your goal. It may be looking good in those summer shorts or having more energy to keep up with your kids. Put up notes to remind yourself if necessary.
2-Weigh yourself weekly and give yourself a NON-FOOD reward. It doesn’t have to be expensive. It could be giving yourself a candle-lit bubble bath or a back-rub from your spouse. Get creative.
3 Continue to focus on health and wellness. Read books and articles that are motivating. Also, avoid environmental triggers that stir up your cravings such as watching food-related TV shows, meeting your friends at your favorite pastry shop, etc.
4 Keep graphic records of your accomplishments. Watching that line on your weight graph go down or the line on your exercise graph go up can be quite motivating!
actions:
- action_drasknurse
- action_get_oneliner
- action_insert_db
- utter_greet
- utter_invalid_phone_num
- utter_invalid_eml
- action_ask_department
- action_ask_doctor
- utter_ask_name
- utter_ask_email
- utter_ask_time
- action_take_department_slot
- action_email_patient
- action_email_doc
- utter_goodbye
- action_drugdescription
- utter_notfound
- action_take_durationval
- utter_please_rephrase
- validate_appointment_form
- validate_name_form
- action_sympthon_description
- action_convert_toexcel
forms:
appointment_form:
department:
- type: from_entity
entity: department
doctor:
- type: from_text
intent: choose_doctor
name:
- type: from_text
intent: name
email:
- type: from_text
intent: email
phone_no:
- type: from_entity
entity: phone_no
time:
- type: from_entity
entity: time
weight:
- type: from_entity
entity: weight
height:
- type: from_entity
entity: height
address:
- type: from_entity
entity: address
sex:
- type: from_entity
entity: sex
birthdate:
- type: from_entity
entity: birthdate
blood_group:
- type: from_entity
entity: blood_group
room_type:
- type: from_entity
entity: room_type
name_form:
name:
- type: from_text
intent: name
second_form:
number:
- type: from_entity
entity: number