Spaces:
Runtime error
Runtime error
Upload 4 files
Browse files- app.py +63 -0
- chat.py +49 -0
- checker.py +429 -0
- requirements.txt +0 -0
app.py
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from chat import langchainning
|
3 |
+
from checker import checking, health_keywords
|
4 |
+
|
5 |
+
def user_input(user):
|
6 |
+
|
7 |
+
ans = langchainning().run(user)
|
8 |
+
return ans
|
9 |
+
|
10 |
+
st.title("HealthMate-AI")
|
11 |
+
st.caption("Hi Human, How can I help you today?")
|
12 |
+
|
13 |
+
if "messages" not in st.session_state:
|
14 |
+
st.session_state.messages = []
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
q = st.chat_input("Type something here....")
|
19 |
+
|
20 |
+
def checking(query):
|
21 |
+
flag = False
|
22 |
+
list_of_words = query.split(" ")
|
23 |
+
for i in list_of_words:
|
24 |
+
if i.lower() in health_keywords:
|
25 |
+
flag = True
|
26 |
+
break
|
27 |
+
return flag
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
#
|
35 |
+
if q is not None and len(q.strip()) > 0:
|
36 |
+
if checking(q):
|
37 |
+
st.session_state.messages.append(("user", q))
|
38 |
+
st.session_state.messages.append(("assistant", user_input(q)))
|
39 |
+
|
40 |
+
for role, message in st.session_state.messages:
|
41 |
+
if role == "user":
|
42 |
+
st.chat_message("user")
|
43 |
+
st.write(message)
|
44 |
+
elif role == "assistant":
|
45 |
+
st.chat_message("assistant")
|
46 |
+
st.write(message)
|
47 |
+
else:
|
48 |
+
# st.session_state.messages.append(("user", q))
|
49 |
+
# st.session_state.messages.append(("assistant", "I'm a medical and health related chatbot. Please ask me about health or medicine."))
|
50 |
+
# for role, message in st.session_state.messages:
|
51 |
+
# if role == "user":
|
52 |
+
# st.chat_message("user")
|
53 |
+
# st.write(message)
|
54 |
+
# elif role == "assistant":
|
55 |
+
# st.chat_message("assistant")
|
56 |
+
# # st.write(message)
|
57 |
+
st.write("I'm a medical and health related chatbot. Please ask me about health or medicine.")
|
58 |
+
|
59 |
+
|
60 |
+
b = st.button("Clear Chat")
|
61 |
+
if b:
|
62 |
+
st.session_state.messages = []
|
63 |
+
|
chat.py
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
from langchain_community.llms import HuggingFaceEndpoint
|
4 |
+
from langchain.chains import LLMChain
|
5 |
+
from langchain_core.prompts import PromptTemplate
|
6 |
+
from dotenv import load_dotenv
|
7 |
+
|
8 |
+
load_dotenv()
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
# setting the Api
|
13 |
+
model_Api = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
14 |
+
# os.environ["HUGGINGFACEHUB_API_TOKEN"] = model_Api
|
15 |
+
|
16 |
+
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
17 |
+
|
18 |
+
def QueryBuilding():
|
19 |
+
|
20 |
+
Query_template = """Consider yourself as a personalized professional medical assistant for the user {query},
|
21 |
+
|
22 |
+
Answer: provide guidance and support to the user in a more detailed, simple and straightforward manner. """
|
23 |
+
return Query_template
|
24 |
+
|
25 |
+
def PromptEngineering():
|
26 |
+
Prompt = PromptTemplate.from_template(QueryBuilding())
|
27 |
+
return Prompt
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
def LLM_building():
|
32 |
+
llm_model = HuggingFaceEndpoint(
|
33 |
+
repo_id=repo_id,
|
34 |
+
max_length = 128, # Set the maximum input length
|
35 |
+
token = model_Api # Set the API token
|
36 |
+
|
37 |
+
)
|
38 |
+
return llm_model
|
39 |
+
|
40 |
+
def langchainning():
|
41 |
+
llm_chain = LLMChain(prompt=PromptEngineering(), llm=LLM_building())
|
42 |
+
return llm_chain
|
43 |
+
|
44 |
+
# def user_input(user):
|
45 |
+
# # user = input()
|
46 |
+
# ans = langchainning().run(user)
|
47 |
+
# return ans
|
48 |
+
|
49 |
+
|
checker.py
ADDED
@@ -0,0 +1,429 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
health_keywords = ["health", "medicine", "doctor", "symptoms", "treatment", "prescription", "wellness", "medical advice",
|
2 |
+
"disease", "illness", "condition", "ailment", "infection", "fever", "cough", "headache",
|
3 |
+
"nausea", "vomiting", "diarrhea", "fatigue", "remedy", "cure", "prevention",
|
4 |
+
"diagnosis", "prognosis", "consultation", "medical history", "immunization", "vaccine",
|
5 |
+
"pharmacy", "pharmaceuticals", "side effects", "dosage", "medicine cabinet",
|
6 |
+
"healthcare provider", "general practitioner", "specialist", "nurse", "physician assistant",
|
7 |
+
"hospital", "clinic", "emergency room", "operating room", "ICU", "intensive care unit",
|
8 |
+
"primary care", "secondary care", "tertiary care", "quarantine", "isolation",
|
9 |
+
"health insurance", "coverage", "premium", "policy", "benefits", "claim",
|
10 |
+
"medical record", "electronic health record", "HIPAA", "patient confidentiality",
|
11 |
+
"medical research", "clinical trial", "medical journal", "peer-reviewed",
|
12 |
+
"public health", "epidemiology", "outbreak", "pandemic", "contagious", "transmission",
|
13 |
+
"immunity", "herd immunity", "hygiene", "sanitation", "nutrition", "diet", "exercise",
|
14 |
+
"fitness", "mental health", "stress", "anxiety", "depression", "therapy", "counseling",
|
15 |
+
"substance abuse", "addiction", "rehabilitation", "well-being", "holistic health",
|
16 |
+
"alternative medicine", "integrative medicine", "complementary medicine",
|
17 |
+
"traditional medicine", "naturopathy", "acupuncture", "homeopathy", "chiropractic",
|
18 |
+
"osteopathy", "massage therapy", "aromatherapy", "herbal medicine", "supplements",
|
19 |
+
"vitamins", "minerals", "nutritional supplements", "dietary supplements",
|
20 |
+
"nutraceuticals", "functional foods", "superfoods", "organic foods",
|
21 |
+
"genetic predisposition", "hereditary", "genetic testing", "DNA", "genomics",
|
22 |
+
"genome sequencing", "gene therapy", "stem cells", "regenerative medicine",
|
23 |
+
"precision medicine", "personalized medicine", "telemedicine", "virtual care",
|
24 |
+
"wearable technology", "health monitoring", "health tracking", "fitness tracker",
|
25 |
+
"smartwatch", "mobile health apps", "mHealth", "telehealth", "remote patient monitoring",
|
26 |
+
"anemia", "asthma", "arthritis", "diabetes", "hypertension", "hyperthyroidism",
|
27 |
+
"hypothyroidism", "migraine", "osteoporosis", "pneumonia", "stroke", "tuberculosis",
|
28 |
+
"coronary artery disease", "fibromyalgia", "chronic obstructive pulmonary disease",
|
29 |
+
"endometriosis", "gastroesophageal reflux disease", "irritable bowel syndrome",
|
30 |
+
"multiple sclerosis", "Parkinson's disease", "Alzheimer's disease", "schizophrenia",
|
31 |
+
"bipolar disorder", "post-traumatic stress disorder", "cancer", "leukemia", "lymphoma",
|
32 |
+
"melanoma", "breast cancer", "colon cancer", "lung cancer", "prostate cancer",
|
33 |
+
"skin cancer", "heart attack", "cardiac arrest", "arrhythmia", "congestive heart failure",
|
34 |
+
"kidney stones", "urinary tract infection", "gastroenteritis", "appendicitis",
|
35 |
+
"concussion", "fracture", "sprain", "strain", "pneumothorax", "hypoglycemia",
|
36 |
+
"hyperglycemia", "anaphylaxis", "sepsis", "hypotension", "hypertension",
|
37 |
+
"pulmonary embolism", "deep vein thrombosis", "cirrhosis", "hepatitis", "pancreatitis",
|
38 |
+
"diverticulitis", "gastritis", "peptic ulcer disease", "celiac disease", "Crohn's disease",
|
39 |
+
"ulcerative colitis", "gout", "rheumatoid arthritis", "lupus", "psoriasis",
|
40 |
+
"eczema", "acne", "rosacea", "warts", "genital herpes", "gonorrhea", "syphilis",
|
41 |
+
"chlamydia", "HIV", "AIDS", "influenza", "common cold", "bronchitis", "sinusitis",
|
42 |
+
"tonsillitis", "pharyngitis", "otitis media", "conjunctivitis", "glaucoma",
|
43 |
+
"cataracts", "macular degeneration", "amblyopia", "strabismus", "myopia", "hyperopia",
|
44 |
+
"astigmatism", "presbyopia", "cataract surgery", "LASIK", "contact lenses",
|
45 |
+
"orthokeratology", "retinal detachment", "retinopathy", "macular edema",
|
46 |
+
"keratoconus", "uveitis", "iritis", "keratitis", "corneal ulcer", "conjunctival hemorrhage",
|
47 |
+
"corneal abrasion", "retinal vein occlusion", "retinal artery occlusion",
|
48 |
+
"central retinal vein occlusion", "central retinal artery occlusion", "retinal tear",
|
49 |
+
"retinal detachment", "macular hole", "macular pucker", "epiretinal membrane",
|
50 |
+
"diabetic retinopathy", "hypertensive retinopathy", "retinal degeneration",
|
51 |
+
"retinal detachment", "retinitis pigmentosa", "macular degeneration",
|
52 |
+
"optic neuritis", "optic neuropathy", "glaucoma", "uveitis", "iritis", "retinal detachment",
|
53 |
+
"keratoconus", "corneal dystrophy", "corneal ulcer", "conjunctivitis", "blepharitis",
|
54 |
+
"chalazion", "stye", "papilledema", "conjunctival cyst", "conjunctival tumor",
|
55 |
+
"corneal abrasion", "corneal foreign body", "corneal perforation", "corneal ulcer",
|
56 |
+
"eye pain", "blurry vision", "double vision", "flashes of light", "floaters",
|
57 |
+
"redness", "itchiness", "tearing", "burning sensation", "foreign body sensation",
|
58 |
+
"sensitivity to light", "bulging eye", "sunken eye", "abnormal eye movement",
|
59 |
+
"watery eye", "dry eye", "swelling", "lump or mass", "discharge", "crusting",
|
60 |
+
"drooping eyelid", "crossed eyes", "lazy eye", "loss of vision", "changes in vision",
|
61 |
+
"glaucoma", "cataracts", "macular degeneration", "diabetic retinopathy",
|
62 |
+
"retinal detachment", "eye injury", "trauma to the eye", "blow to the eye",
|
63 |
+
"foreign object in the eye", "chemical burn to the eye", "eye infection",
|
64 |
+
"conjunctivitis", "corneal ulcer", "keratitis", "uveitis", "iritis", "endophthalmitis",
|
65 |
+
"retinal vein occlusion", "retinal artery occlusion", "optic neuritis", "optic neuropathy",
|
66 |
+
"papilledema", "papillitis", "optic nerve atrophy", "optic nerve compression",
|
67 |
+
"optic nerve tumor", "optic glioma", "orbital cellulitis", "orbital tumor",
|
68 |
+
"orbital fracture", "eyelid laceration", "eye tumor", "eye cancer", "eye melanoma",
|
69 |
+
"eye lymphoma", "choroidal melanoma", "retinoblastoma", "eye stroke", "visual snow",
|
70 |
+
"ocular migraine", "ocular histoplasmosis", "ocular toxoplasmosis", "ocular syphilis",
|
71 |
+
"ocular tuberculosis", "ocular sarcoidosis", "ocular herpes", "ocular shingles",
|
72 |
+
"ocular pemphigoid", "ocular cicatricial pemphigoid", "ocular graft-versus-host disease",
|
73 |
+
"ocular surface disease", "ocular rosacea", "ocular allergies", "ocular surface tumor",
|
74 |
+
"ocular surface cancer", "ocular surface melanoma", "ocular surface lymphoma",
|
75 |
+
"ocular surface squamous neoplasia", "ocular surface carcinoma", "uveitis",
|
76 |
+
"anterior uveitis", "posterior uveitis", "intermediate uveitis", "panuveitis",
|
77 |
+
"scleritis", "episcleritis", "iridocyclitis", "iriditis", "choroiditis", "chorioretinitis",
|
78 |
+
"pars planitis", "vogt-koyanagi-harada syndrome", "sympathetic ophthalmia",
|
79 |
+
"birdshot chorioretinopathy", "retinitis", "retinal vasculitis", "serpiginous choroiditis",
|
80 |
+
"necrotizing retinitis", "herpetic retinitis", "cytomegalovirus retinitis", "toxoplasma retinitis",
|
81 |
+
"acute retinal necrosis", "fungal retinitis", "parasitic retinitis", "interstitial keratitis",
|
82 |
+
"neuroretinitis", "retinal artery occlusion", "central retinal artery occlusion",
|
83 |
+
"branch retinal artery occlusion", "retinal vein occlusion", "central retinal vein occlusion",
|
84 |
+
"branch retinal vein occlusion", "macular edema", "macular hole", "macular pucker",
|
85 |
+
"epiretinal membrane", "macular degeneration", "wet macular degeneration", "dry macular degeneration",
|
86 |
+
"geographic atrophy", "macular ischemia", "central serous chorioretinopathy", "submacular hemorrhage",
|
87 |
+
"subretinal hemorrhage", "choroidal neovascularization", "angioid streaks",
|
88 |
+
"drusen", "retinal pigment epithelial detachment", "choroidal detachment", "vitreous hemorrhage",
|
89 |
+
"vitreous detachment", "vitreomacular traction", "retinoschisis", "retinal detachment",
|
90 |
+
"rhegmatogenous retinal detachment", "tractional retinal detachment", "exudative retinal detachment",
|
91 |
+
"familial exudative vitreoretinopathy", "retinal tear", "retinal break", "macular tear",
|
92 |
+
"retinal dialysis", "retinal hole", "retinal avulsion", "retinal detachment with giant tear",
|
93 |
+
"posterior vitreous detachment", "posterior vitreous detachment with retinal tear",
|
94 |
+
"retinal detachment with proliferative vitreoretinopathy", "macular retinoschisis",
|
95 |
+
"vitreous hemorrhage", "subretinal hemorrhage", "intraretinal hemorrhage",
|
96 |
+
"retinal hemorrhage", "choroidal hemorrhage", "hyphema", "vitreal hemorrhage",
|
97 |
+
"vitreous floaters", "retinal pigment epithelial detachment", "macular hemorrhage",
|
98 |
+
"macular neovascularization", "choroidal neovascularization", "angioid streaks",
|
99 |
+
"punctate inner choroidopathy", "multifocal choroiditis", "ocular histoplasmosis syndrome",
|
100 |
+
"presumed ocular histoplasmosis syndrome", "myopic choroidal neovascularization",
|
101 |
+
"pathologic myopia", "malignant myopia", "posterior staphyloma", "macular hole",
|
102 |
+
"macular pseudohole", "macular lamellar hole", "full-thickness macular hole",
|
103 |
+
"lamellar macular hole", "myopic macular hole", "idiopathic macular hole",
|
104 |
+
"secondary macular hole", "traumatic macular hole", "macular cyst", "macular edema",
|
105 |
+
"cystoid macular edema", "diffuse macular edema", "macular cystoid edema",
|
106 |
+
"cystoid macular edema", "macular telangiectasia", "macular retinal telangiectasia",
|
107 |
+
"macular capillary telangiectasia", "juxtafoveal telangiectasia", "paramacular telangiectasia",
|
108 |
+
"perifoveal telangiectasia", "perifoveal telangiectasia", "perifoveal retinal telangiectasia",
|
109 |
+
"perifoveal capillary telangiectasia", "retinal telangiectasia", "retinal capillary telangiectasia",
|
110 |
+
"macular pucker", "macular epiretinal membrane", "idiopathic macular pucker",
|
111 |
+
"secondary macular pucker", "traumatic macular pucker", "epiretinal membrane",
|
112 |
+
"macular cyst", "macular pseudocyst", "macular schisis", "macular schisis with detachment",
|
113 |
+
"myopic macular schisis", "idiopathic macular schisis", "secondary macular schisis",
|
114 |
+
"traumatic macular schisis", "familial exudative vitreoretinopathy", "Coats' disease",
|
115 |
+
"retinopathy of prematurity", "retinal dystrophy", "retinitis pigmentosa",
|
116 |
+
"Leber's congenital amaurosis", "Stargardt disease", "choroideremia", "gyrate atrophy",
|
117 |
+
"achromatopsia", "cone dystrophy", "cone-rod dystrophy", "cone-rod retinal dystrophy",
|
118 |
+
"rod-cone dystrophy", "rod-cone retinal dystrophy", "night blindness",
|
119 |
+
"nyctalopia", "tunnel vision", "peripheral vision loss", "color vision deficiency",
|
120 |
+
"color blindness", "red-green color blindness", "blue-yellow color", "headache", "cancer"
|
121 |
+
|
122 |
+
|
123 |
+
# Skeletal System
|
124 |
+
"Skull", "Mandible", "Maxilla", "Vertebrae", "Ribs", "Sternum", "Clavicle", "Scapula",
|
125 |
+
"Humerus", "Radius", "Ulna", "Carpals", "Metacarpals", "Phalanges", "Femur", "Patella",
|
126 |
+
"Tibia", "Fibula", "Tarsals", "Metatarsals",
|
127 |
+
|
128 |
+
# Muscular System
|
129 |
+
"Skeletal muscle", "Cardiac muscle", "Smooth muscle", "Biceps", "Triceps", "Quadriceps",
|
130 |
+
"Hamstrings", "Gluteus muscles", "Abdominals", "Pectorals", "Deltoids", "Trapezius", "Latissimus dorsi",
|
131 |
+
|
132 |
+
# Nervous System
|
133 |
+
"Neuron", "Brain", "Spinal cord", "Cerebrum", "Cerebellum", "Brainstem", "Frontal lobe",
|
134 |
+
"Temporal lobe", "Parietal lobe", "Occipital lobe", "Cranial nerves", "Peripheral nerves",
|
135 |
+
"Autonomic nervous system", "Sympathetic nervous system", "Parasympathetic nervous system",
|
136 |
+
|
137 |
+
# Cardiovascular System
|
138 |
+
"Heart", "Aorta", "Arteries", "Veins", "Capillaries", "Pulmonary circulation", "Systemic circulation",
|
139 |
+
"Coronary arteries", "Cardiac cycle", "Blood pressure", "Pulse", "Blood vessels",
|
140 |
+
|
141 |
+
# Respiratory System
|
142 |
+
"Nasal cavity", "Pharynx", "Larynx", "Trachea", "Bronchi", "Bronchioles", "Lungs", "Alveoli",
|
143 |
+
"Diaphragm", "Respiratory rate", "Oxygenation", "Carbon dioxide exchange",
|
144 |
+
|
145 |
+
# Digestive System
|
146 |
+
"Mouth", "Salivary glands", "Pharynx", "Esophagus", "Stomach", "Small intestine", "Large intestine",
|
147 |
+
"Liver", "Gallbladder", "Pancreas", "Digestive enzymes", "Peristalsis", "Absorption", "Elimination",
|
148 |
+
|
149 |
+
# Urinary System
|
150 |
+
"Kidneys", "Ureters", "Bladder", "Urethra", "Nephron", "Renal cortex", "Renal medulla", "Renal pelvis",
|
151 |
+
"Filtration", "Reabsorption", "Secretion", "Urine formation",
|
152 |
+
|
153 |
+
# Reproductive System
|
154 |
+
"Testes", "Epididymis", "Vas deferens", "Seminal vesicles", "Prostate gland", "Penis", "Ovaries",
|
155 |
+
"Fallopian tubes", "Uterus", "Vagina", "Vulva", "Mammary glands", "Menstrual cycle", "Fertilization",
|
156 |
+
"Pregnancy",
|
157 |
+
|
158 |
+
# Endocrine System
|
159 |
+
"Pituitary gland", "Pineal gland", "Thyroid gland", "Parathyroid glands", "Adrenal glands",
|
160 |
+
"Pancreas (endocrine function)", "Hormones (e.g., insulin, cortisol, adrenaline)", "Feedback mechanisms",
|
161 |
+
"Endocrine disorders (e.g., diabetes mellitus, thyroid disorders)",
|
162 |
+
|
163 |
+
# Lymphatic System
|
164 |
+
"Lymph nodes", "Lymphatic vessels", "Tonsils", "Thymus gland", "Spleen", "Bone marrow",
|
165 |
+
"Lymphatic fluid", "Immune response", "Lymphocytes", "Antigen", "Antibody", "Immune system function",
|
166 |
+
|
167 |
+
# Integumentary System
|
168 |
+
"Skin", "Epidermis", "Dermis", "Hypodermis", "Hair", "Nails", "Sebaceous glands", "Sweat glands",
|
169 |
+
"Thermoregulation", "Protection", "Sensation",
|
170 |
+
|
171 |
+
# Other Medical Disciplines and Terms
|
172 |
+
"Pathology", "Pharmacology", "Radiology", "Epidemiology", "Oncology", "Hematology", "Dermatology",
|
173 |
+
"Gastroenterology", "Nephrology", "Neurology", "Psychiatry", "Orthopedics", "Ophthalmology",
|
174 |
+
"Obstetrics", "Gynecology"
|
175 |
+
|
176 |
+
# Skeletal System
|
177 |
+
"Osteoporosis", "Arthritis", "Osteoarthritis", "Rheumatoid arthritis", "Gout", "Bone fractures",
|
178 |
+
"Scoliosis", "Kyphosis", "Lordosis", "Osteomyelitis", "Paget's disease of bone", "Bone tumors",
|
179 |
+
|
180 |
+
# Muscular System
|
181 |
+
"Muscular dystrophy", "Myasthenia gravis", "Muscle strains", "Muscle sprains", "Fibromyalgia",
|
182 |
+
"Compartment syndrome",
|
183 |
+
|
184 |
+
# Nervous System
|
185 |
+
"Stroke", "Epilepsy", "Multiple sclerosis", "Parkinson's disease", "Alzheimer's disease", "Dementia",
|
186 |
+
"Amyotrophic lateral sclerosis (ALS)", "Migraine", "Neuropathy", "Brain tumors", "Spinal cord injury",
|
187 |
+
|
188 |
+
# Cardiovascular System
|
189 |
+
"Coronary artery disease", "Myocardial infarction (Heart attack)", "Arrhythmia", "Heart failure",
|
190 |
+
"Hypertension (High blood pressure)", "Peripheral artery disease", "Congenital heart defects",
|
191 |
+
"Atherosclerosis", "Heart valve diseases", "Cardiomyopathy", "Angina", "Deep vein thrombosis (DVT)",
|
192 |
+
|
193 |
+
# Respiratory System
|
194 |
+
"Asthma", "Chronic obstructive pulmonary disease (COPD)", "Pneumonia", "Bronchitis", "Emphysema",
|
195 |
+
"Lung cancer", "Tuberculosis", "Pulmonary embolism", "Respiratory failure", "Sleep apnea",
|
196 |
+
|
197 |
+
# Digestive System
|
198 |
+
"Gastroesophageal reflux disease (GERD)", "Peptic ulcer disease", "Inflammatory bowel disease (IBD)",
|
199 |
+
"Crohn's disease", "Ulcerative colitis", "Diverticulitis", "Gallstones", "Pancreatitis", "Liver cirrhosis",
|
200 |
+
"Hepatitis", "Colon cancer", "Appendicitis", "Celiac disease", "Hemorrhoids",
|
201 |
+
|
202 |
+
# Urinary System
|
203 |
+
"Urinary tract infection (UTI)", "Kidney stones", "Chronic kidney disease", "Acute kidney injury",
|
204 |
+
"Glomerulonephritis", "Polycystic kidney disease", "Interstitial cystitis", "Bladder cancer",
|
205 |
+
|
206 |
+
# Reproductive System
|
207 |
+
"Prostate cancer", "Testicular cancer", "Ovarian cancer", "Cervical cancer", "Endometriosis",
|
208 |
+
"Polycystic ovary syndrome (PCOS)", "Infertility", "Erectile dysfunction", "Premenstrual syndrome (PMS)",
|
209 |
+
"Menstrual disorders", "Sexually transmitted infections (STIs)", "Human papillomavirus (HPV)",
|
210 |
+
|
211 |
+
# Endocrine System
|
212 |
+
"Diabetes mellitus (Type 1 and Type 2)", "Thyroid disorders (e.g., Hypothyroidism, Hyperthyroidism)",
|
213 |
+
"Cushing's syndrome", "Addison's disease", "Pituitary tumors", "Adrenal tumors", "Parathyroid disorders",
|
214 |
+
"Polycystic ovary syndrome (PCOS)", "Acromegaly", "Galactorrhea", "Hirsutism",
|
215 |
+
|
216 |
+
# Lymphatic System and Immune System
|
217 |
+
"Lymphoma", "Leukemia", "Hodgkin's lymphoma", "Non-Hodgkin's lymphoma", "Multiple myeloma",
|
218 |
+
"Lymphedema", "HIV/AIDS", "Autoimmune diseases (e.g., Lupus, Rheumatoid arthritis, Multiple sclerosis)",
|
219 |
+
"Immunodeficiency disorders", "Sepsis", "Septicemia", "Allergies", "Anaphylaxis",
|
220 |
+
|
221 |
+
# Integumentary System
|
222 |
+
"Acne", "Psoriasis", "Eczema", "Dermatitis", "Melanoma", "Basal cell carcinoma", "Squamous cell carcinoma",
|
223 |
+
"Rosacea", "Vitiligo", "Hives", "Cellulitis", "Warts", "Skin infections",
|
224 |
+
|
225 |
+
# Other Diseases and Medical Conditions
|
226 |
+
"Obesity", "Malnutrition", "Eating disorders", "Sleep disorders", "Anxiety disorders", "Depressive disorders",
|
227 |
+
"Schizophrenia", "Bipolar disorder", "Substance use disorders", "Addiction", "PTSD (Post-traumatic stress disorder)",
|
228 |
+
"Burns", "Traumatic injuries", "Cancers (Various types)", "Genetic disorders",
|
229 |
+
|
230 |
+
# Eye and Ear Disorders
|
231 |
+
"Glaucoma", "Cataracts", "Macular degeneration", "Retinal detachment", "Diabetic retinopathy",
|
232 |
+
"Conjunctivitis", "Myopia", "Hyperopia", "Astigmatism", "Presbyopia", "Ear infections", "Hearing loss"
|
233 |
+
|
234 |
+
# Treatments
|
235 |
+
"Chemotherapy", "Radiation therapy", "Surgery", "Medication", "Antibiotics", "Antiviral therapy",
|
236 |
+
"Immunotherapy", "Hormone therapy", "Physical therapy", "Occupational therapy", "Speech therapy",
|
237 |
+
"Psychotherapy", "Behavioral therapy", "Cognitive-behavioral therapy", "Dialectical behavior therapy",
|
238 |
+
"Electroconvulsive therapy (ECT)", "Art therapy", "Music therapy", "Massage therapy", "Chiropractic care",
|
239 |
+
"Acupuncture", "Homeopathy", "Naturopathy", "Ayurveda", "Herbal remedies", "Nutritional therapy",
|
240 |
+
"Dietary supplements", "Functional medicine", "Regenerative medicine", "Stem cell therapy",
|
241 |
+
"Gene therapy", "Precision medicine", "Personalized medicine", "Telemedicine", "Telehealth",
|
242 |
+
"Remote patient monitoring", "Virtual care", "Wearable technology", "Health monitoring devices",
|
243 |
+
"Fitness trackers", "Smartwatches", "Mobile health apps", "mHealth", "Medical devices",
|
244 |
+
"Prosthetics", "Orthotics", "Assistive devices", "Diagnostic tests", "Imaging tests", "Laboratory tests",
|
245 |
+
"Genetic testing", "Biopsy", "Endoscopy", "Colonoscopy", "Laparoscopy", "Electrocardiogram (ECG/EKG)",
|
246 |
+
"Electroencephalogram (EEG)", "Magnetic resonance imaging (MRI)", "Computed tomography (CT scan)",
|
247 |
+
"X-ray", "Ultrasound", "PET scan", "Bone scan", "Blood tests", "Urine tests", "Stool tests",
|
248 |
+
"Pap smear", "Mammogram", "Prostate-specific antigen (PSA) test", "Fecal occult blood test (FOBT)",
|
249 |
+
"Vaccination", "Immunization", "Preventive care", "Health education", "Patient counseling",
|
250 |
+
"Pain management", "Symptom management", "Rehabilitation", "Physical rehabilitation", "Cardiac rehabilitation",
|
251 |
+
"Pulmonary rehabilitation", "Occupational rehabilitation", "Substance abuse rehabilitation",
|
252 |
+
"Cancer rehabilitation", "Respiratory therapy", "Nutritional counseling", "Weight management",
|
253 |
+
"Sleep management", "Stress management", "Palliative care", "Hospice care", "End-of-life care",
|
254 |
+
"Support groups", "Family therapy", "Couple's therapy", "Group therapy", "Medical research",
|
255 |
+
"Clinical trials", "Peer-reviewed journals", "Public health interventions", "Epidemiological studies",
|
256 |
+
"Outbreak response", "Pandemic management", "Contact tracing", "Health policy", "Health insurance",
|
257 |
+
|
258 |
+
# Medical Jargons
|
259 |
+
"Anatomy", "Physiology", "Pathophysiology", "Pathology", "Pharmacology", "Pharmaceuticals",
|
260 |
+
"Pharmacokinetics", "Pharmacodynamics", "Biochemistry", "Microbiology", "Immunology", "Genetics",
|
261 |
+
"Genomics", "Epigenetics", "Cell biology", "Molecular biology", "Biotechnology", "Bioinformatics",
|
262 |
+
"Medical ethics", "Medical jurisprudence", "Medical terminology", "Medical imaging", "Radiology",
|
263 |
+
"Neuroradiology", "Interventional radiology", "Nuclear medicine", "Diagnostics", "Laboratory medicine",
|
264 |
+
"Clinical chemistry", "Hematology", "Histology", "Cytology", "Serology", "Microscopy", "Electrophysiology",
|
265 |
+
"Pathology", "Anesthesiology", "Surgery", "Oncology", "Cardiology", "Neurology", "Dermatology",
|
266 |
+
"Gastroenterology", "Endocrinology", "Nephrology", "Urology", "Pulmonology", "Rheumatology",
|
267 |
+
"Hematology", "Ophthalmology", "Otolaryngology", "Orthopedics", "Pediatrics", "Geriatrics",
|
268 |
+
"Psychiatry", "Psychology", "Neuropsychology", "Epidemiology", "Public health", "Health promotion",
|
269 |
+
"Health education", "Health administration", "Health informatics", "Telemedicine", "Bioethics",
|
270 |
+
"Nutrition science", "Dietetics", "Sports medicine", "Emergency medicine", "Family medicine",
|
271 |
+
"Internal medicine", "General practice", "Primary care", "Secondary care", "Tertiary care",
|
272 |
+
"Quaternary care", "Nursing", "Nurse practitioner", "Physician assistant", "Medical assistant",
|
273 |
+
"Clinical trials", "Evidence-based medicine", "Alternative medicine", "Complementary medicine",
|
274 |
+
"Integrative medicine", "Holistic medicine", "Traditional medicine", "Regenerative medicine",
|
275 |
+
"Precision medicine", "Personalized medicine", "Pharmacogenomics", "Health technology",
|
276 |
+
"Health informatics", "Digital health", "Medical devices", "Artificial intelligence in healthcare",
|
277 |
+
"Telehealth", "Telemedicine", "Healthcare economics", "Healthcare policy", "Healthcare management",
|
278 |
+
"Medical billing", "Health insurance", "Healthcare financing", "Patient care", "Patient safety",
|
279 |
+
"Quality improvement", "Health disparities", "Health equity", "Population health", "Global health",
|
280 |
+
"Infectious diseases", "Vector-borne diseases", "Zoonotic diseases", "Emerging infectious diseases",
|
281 |
+
"Pandemic preparedness", "Outbreak response", "Public health surveillance", "Health communication",
|
282 |
+
"Health literacy", "Health behavior", "Health psychology", "Health coaching", "Medical documentation",
|
283 |
+
"Medical transcription", "Medical coding", "Electronic health records (EHR)", "Health information management",
|
284 |
+
"Medical data analysis", "Clinical decision support systems", "Medical simulation", "Medical training",
|
285 |
+
"Continuing medical education", "Interprofessional education", "Healthcare accreditation",
|
286 |
+
"Patient advocacy", "Patient-centered care", "Patient engagement", "Shared decision-making",
|
287 |
+
"Medical decision-making", "Medical ethics", "Patient rights", "Informed consent", "Confidentiality",
|
288 |
+
"Medical confidentiality", "Healthcare privacy", "Healthcare ethics", "Biosecurity", "Biomedical research",
|
289 |
+
"Clinical research", "Translational research", "Health research ethics", "Research integrity",
|
290 |
+
"Research misconduct", "Research ethics committees", "Publication ethics", "Peer review", "Research funding",
|
291 |
+
"Research grants", "Research administration", "Health research policy", "Health information exchange",
|
292 |
+
"Health data privacy", "Health data security", "Health data analytics", "Big data in healthcare",
|
293 |
+
"Machine learning in healthcare", "Artificial intelligence in healthcare", "Digital health interventions",
|
294 |
+
"Telehealth technologies", "Telemedicine platforms", "Remote monitoring devices", "mHealth apps",
|
295 |
+
"Health technology assessment", "Healthcare interoperability", "Healthcare standards", "Medical guidelines",
|
296 |
+
"Clinical practice guidelines", "Medical errors", "Medical malpractice", "Medical liability",
|
297 |
+
"Healthcare quality assurance", "Healthcare risk management", "Healthcare compliance", "Healthcare regulations",
|
298 |
+
"Healthcare accreditation", "Healthcare certification", "Healthcare audit", "Healthcare governance",
|
299 |
+
"Healthcare leadership", "Healthcare teamwork", "Healthcare communication", "Medical teamwork",
|
300 |
+
"Interprofessional collaboration", "Interdisciplinary healthcare teams", "Healthcare innovation",
|
301 |
+
"Healthcare entrepreneurship", "Healthcare startups", "Healthcare technology adoption",
|
302 |
+
"Healthcare informatics", "Healthcare transformation", "Healthcare sustainability",
|
303 |
+
"Healthcare delivery models", "Healthcare systems", "Global healthcare systems", "National healthcare systems",
|
304 |
+
"Healthcare disparities", "Healthcare equity", "Healthcare access", "Universal healthcare",
|
305 |
+
"Healthcare reform", "Healthcare finance", "Healthcare economics", "Healthcare insurance",
|
306 |
+
"Healthcare financing", "Healthcare cost management", "Healthcare pricing", "Value-based healthcare",
|
307 |
+
"Accountable care organizations", "Healthcare payment models", "Healthcare reimbursement",
|
308 |
+
"Healthcare purchasing", "Healthcare procurement", "Healthcare supply chain", "Healthcare logistics",
|
309 |
+
"Healthcare facilities", "Healthcare infrastructure", "Healthcare building design",
|
310 |
+
"Healthcare facility management", "Healthcare facility operations", "Healthcare facility safety",
|
311 |
+
"Healthcare facility security", "Healthcare facility planning", "Healthcare facility renovation",
|
312 |
+
"Healthcare equipment", "Medical equipment", "Healthcare technology", "Healthcare IT",
|
313 |
+
"Healthcare cybersecurity", "Healthcare data management", "Healthcare software", "Healthcare apps",
|
314 |
+
"Healthcare analytics", "Healthcare reporting", "Healthcare dashboards", "Healthcare performance",
|
315 |
+
"Healthcare outcomes", "Healthcare improvement", "Healthcare administration", "Healthcare management",
|
316 |
+
"Healthcare leadership", "Healthcare governance", "Healthcare ethics", "Healthcare professionalism",
|
317 |
+
"Healthcare law", "Healthcare regulations", "Healthcare compliance", "Healthcare quality",
|
318 |
+
"Healthcare safety", "Healthcare risk management", "Healthcare audit", "Healthcare assessment",
|
319 |
+
"Healthcare evaluation", "Healthcare auditing", "Healthcare monitoring", "Healthcare inspection",
|
320 |
+
"Healthcare certification", "Healthcare accreditation", "Healthcare accreditation organizations",
|
321 |
+
"Healthcare standards", "Healthcare policy", "Healthcare politics", "Healthcare lobbying",
|
322 |
+
"Healthcare advocacy", "Healthcare diplomacy", "Healthcare negotiations", "Healthcare communication",
|
323 |
+
"Health","Diagnosis", "Treatment", "Medication", "Prescription", "Consultation",
|
324 |
+
"Appointment", "Referral", "Follow-up", "Health", "Condition", "Prognosis",
|
325 |
+
"Care", "Test", "Results", "Pain", "Symptoms", "Disease", "Illness",
|
326 |
+
"Injury", "Infection", "Virus", "Bacteria", "Pathogen", "Fever", "Cough",
|
327 |
+
"Headache", "Nausea", "Vomiting", "Diarrhea", "Fatigue", "Weakness",
|
328 |
+
"Allergy", "Rash", "Swelling", "Inflammation", "Bruise", "Fracture",
|
329 |
+
"Sprain", "Sore throat", "Congestion", "Shortness of breath", "Heartburn",
|
330 |
+
"Stomach ache", "Joint pain", "Back pain", "Neck pain", "Muscle cramp",
|
331 |
+
"Blood pressure", "Heart rate", "Cholesterol", "Blood sugar", "Weight",
|
332 |
+
"Diet", "Exercise", "Fitness", "Physical therapy", "Mental health",
|
333 |
+
"Anxiety", "Depression", "Stress", "Sleep", "Insomnia", "Fatigue",
|
334 |
+
"Addiction", "Recovery", "Wellness", "Nutrition", "Vitamins",
|
335 |
+
"Supplements", "Holistic", "Alternative medicine", "Integrative medicine",
|
336 |
+
"Chronic", "Acute", "Progressive", "Degenerative", "Genetic", "Hereditary",
|
337 |
+
"Genomics", "DNA", "Gene therapy", "Stem cells", "Regenerative medicine",
|
338 |
+
"Precision medicine", "Personalized medicine", "Telemedicine", "Virtual care",
|
339 |
+
"Wearable technology", "Health monitoring", "Health tracking", "Fitness tracker",
|
340 |
+
"Smartwatch", "Mobile health apps", "Telehealth", "Remote patient monitoring",
|
341 |
+
"Healthcare", "Doctor", "Physician", "Nurse", "Specialist", "Surgeon",
|
342 |
+
"Therapist", "Pharmacist", "Hospital", "Clinic", "Emergency room",
|
343 |
+
"Operating room", "ICU", "Intensive care unit", "Primary care",
|
344 |
+
"Secondary care", "Tertiary care", "Pharmacy", "Medication", "Side effects",
|
345 |
+
"Dosage", "Medicine cabinet", "Health insurance", "Coverage", "Premium",
|
346 |
+
"Policy", "Benefits", "Claim", "Medical record", "Electronic health record",
|
347 |
+
"HIPAA", "Patient confidentiality", "Medical research", "Clinical trial",
|
348 |
+
"Medical journal", "Peer-reviewed", "Public health", "Epidemiology",
|
349 |
+
"Outbreak", "Pandemic", "Contagious", "Transmission", "Immunity",
|
350 |
+
"Herd immunity", "Hygiene", "Sanitation", "Vaccine", "Immunization",
|
351 |
+
"Quarantine", "Isolation", "Diagnosis", "Prognosis", "Consultation",
|
352 |
+
"Medical history", "Healthcare provider", "General practitioner",
|
353 |
+
"Hospital", "Clinic", "Emergency room", "Operating room", "ICU",
|
354 |
+
"Intensive care unit", "Primary care", "Secondary care", "Tertiary care",
|
355 |
+
"Quarantine", "Isolation", "Health insurance", "Coverage", "Premium",
|
356 |
+
"Policy", "Benefits", "Claim", "Medical record", "Electronic health record",
|
357 |
+
"HIPAA", "Patient confidentiality", "Medical research", "Clinical trial",
|
358 |
+
"Medical journal", "Peer-reviewed", "Public health", "Epidemiology",
|
359 |
+
"Outbreak", "Pandemic", "Contagious", "Transmission", "Immunity",
|
360 |
+
"Herd immunity", "Hygiene", "Sanitation", "Nutrition", "Diet", "Exercise",
|
361 |
+
"Fitness", "Mental health", "Stress", "Anxiety", "Depression", "Therapy",
|
362 |
+
"Counseling", "Substance abuse", "Addiction", "Rehabilitation",
|
363 |
+
"Well-being", "Holistic health", "Alternative medicine",
|
364 |
+
"Integrative medicine", "Complementary medicine", "Traditional medicine",
|
365 |
+
"Naturopathy", "Acupuncture", "Homeopathy", "Chiropractic", "Osteopathy",
|
366 |
+
"Massage therapy", "Aromatherapy", "Herbal medicine", "Supplements",
|
367 |
+
"Vitamins", "Minerals", "Nutritional supplements", "Dietary supplements",
|
368 |
+
"Nutraceuticals", "Functional foods", "Superfoods", "Organic foods",
|
369 |
+
"Genetic predisposition", "Hereditary", "Genetic testing", "DNA",
|
370 |
+
"Genomics", "Genome sequencing", "Gene therapy", "Stem cells",
|
371 |
+
"Regenerative medicine", "Precision medicine", "Personalized medicine",
|
372 |
+
"Telemedicine", "Virtual care", "Wearable technology", "Health monitoring",
|
373 |
+
"Health tracking", "Fitness tracker", "Smartwatch", "Mobile health apps",
|
374 |
+
"mHealth", "Telehealth", "Remote patient monitoring", "Anemia", "Asthma",
|
375 |
+
"Arthritis", "Diabetes", "Hypertension", "Hyperthyroidism", "Hypothyroidism",
|
376 |
+
"Migraine", "Osteoporosis", "Pneumonia", "Stroke", "Tuberculosis",
|
377 |
+
"Coronary artery disease", "Fibromyalgia", "Chronic obstructive pulmonary disease",
|
378 |
+
"Endometriosis", "Gastroesophageal reflux disease", "Irritable bowel syndrome",
|
379 |
+
"Multiple sclerosis", "Parkinson's disease", "Alzheimer's disease", "Schizophrenia",
|
380 |
+
"Bipolar disorder", "Post-traumatic stress disorder", "Cancer", "Leukemia",
|
381 |
+
"Lymphoma", "Melanoma", "Breast cancer", "Colon cancer", "Lung cancer",
|
382 |
+
"Prostate cancer", "Skin cancer", "Heart attack", "Cardiac arrest",
|
383 |
+
"Arrhythmia", "Congestive heart failure", "Kidney stones", "Urinary tract infection",
|
384 |
+
"Gastroenteritis", "Appendicitis", "Concussion", "Fracture", "Sprain",
|
385 |
+
"Strain", "Pneumothorax", "Hypoglycemia", "Hyperglycemia", "Anaphylaxis",
|
386 |
+
"Sepsis", "Hypotension", "Hypertension", "Pulmonary embolism",
|
387 |
+
"Deep vein thrombosis", "Cirrhosis", "Hepatitis", "Pancreatitis",
|
388 |
+
"Diverticulitis", "Gastritis", "Peptic ulcer disease", "Celiac disease",
|
389 |
+
"Crohn's disease", "Ulcerative colitis", "Gout", "Rheumatoid arthritis",
|
390 |
+
"Lupus", "Psoriasis", "Eczema", "Acne", "Rosacea", "Warts", "Genital herpes",
|
391 |
+
"Gonorrhea", "Syphilis", "Chlamydia", "HIV", "AIDS", "Influenza",
|
392 |
+
"Common cold", "Bronchitis", "Sinusitis", "Tonsillitis", "Pharyngitis",
|
393 |
+
"Otitis media", "Conjunctivitis", "Glaucoma", "Cataracts", "Macular degeneration",
|
394 |
+
"Amblyopia", "Strabismus", "Myopia", "Hyperopia", "Astigmatism", "Presbyopia",
|
395 |
+
"Cataract surgery", "LASIK", "Contact lenses", "Orthokeratology",
|
396 |
+
"Retinal detachment", "Retinopathy", "Macular edema", "Keratoconus",
|
397 |
+
"Uveitis", "Iritis", "Keratitis", "Corneal ulcer", "Conjunctival hemorrhage",
|
398 |
+
"Retinal vein occlusion", "Retinal artery occlusion", "Central retinal vein occlusion",
|
399 |
+
"Central retinal artery occlusion", "Retinal tear", "Retinal detachment",
|
400 |
+
"Macular hole", "Macular pucker", "Epiretinal membrane", "Diabetic retinopathy",
|
401 |
+
"Hypertensive retinopathy", "Retinal degeneration", "Retinitis pigmentosa",
|
402 |
+
"Optic neuritis", "Optic neuropathy", "Ocular migraine", "Ocular histoplasmosis",
|
403 |
+
"Ocular toxoplasmosis", "Ocular syphilis", "Ocular tuberculosis", "Ocular sarcoidosis",
|
404 |
+
"Ocular herpes", "Ocular shingles", "Ocular pemphigoid", "Ocular cicatricial pemphigoid",
|
405 |
+
"Ocular graft-versus-host disease", "Ocular surface disease", "Ocular rosacea",
|
406 |
+
"Ocular allergies", "Ocular surface tumor", "Ocular surface cancer",
|
407 |
+
"Ocular surface melanoma", "Ocular surface lymphoma", "Ocular surface squamous neoplasia",
|
408 |
+
"Ocular surface carcinoma", "Anterior uveitis", "Posterior uveitis", "Intermediate uveitis",
|
409 |
+
"Panuveitis", "Scleritis", "Episcleritis", "Iridocyclitis", "Iriditis", "Choroiditis",
|
410 |
+
"Chorioretinitis", "Pars planitis", "Vogt-Koyanagi-Har"]
|
411 |
+
|
412 |
+
|
413 |
+
def checking(query):
|
414 |
+
flag = False
|
415 |
+
list_of_words = query.split(" ")
|
416 |
+
for i in list_of_words:
|
417 |
+
for j in health_keywords:
|
418 |
+
if i in j.lower().split(" "):
|
419 |
+
# if i.lower() in health_keywords:
|
420 |
+
flag = True
|
421 |
+
break
|
422 |
+
return flag
|
423 |
+
|
424 |
+
|
425 |
+
# if checking("i have an headache"):
|
426 |
+
# print("sucess")
|
427 |
+
# else:
|
428 |
+
# print("failed")
|
429 |
+
|
requirements.txt
ADDED
Binary file (2.66 kB). View file
|
|