0% found this document useful (0 votes)
17 views

Python code

Uploaded by

somak.lahiri1d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Python code

Uploaded by

somak.lahiri1d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Python code

import mysql.connector as sqltor

mycon = sqltor.connect(host='localhost', user='root', passwd='tiger', database='project')

if mycon.is_connected():

print('Successfully Connected')

else:

print('Error')

cursor = mycon.cursor()

cursor.execute('SELECT DiseaseName, Symptoms, Description FROM Diseases')

disease_data = cursor.fetchall()

diseases = {}

for disease_name, symptoms, description in disease_data:

symptoms_list = [symptom.strip().lower() for symptom in symptoms.split(',')]

diseases[disease_name] = {"symptoms": symptoms_list, "description": description}

while True:

user_symptoms = input("Enter your symptoms (comma-separated): ").strip().lower().split(',')

user_symptoms = [symptom.strip() for symptom in user_symptoms]


possible_diseases = []

for disease, details in diseases.items():

if all(symptom in details["symptoms"] for symptom in user_symptoms):

possible_diseases.append((disease, details["description"]))

if possible_diseases:

print("\nPossible diseases based on symptoms:")

for disease, description in possible_diseases:

print(f"Disease: {disease}\nDescription: {description}\n")

else:

print("No diseases match the provided symptoms or incorrect spelling.")

again = input("Do you want to check for another set of symptoms? (yes/no): ").strip().lower()

if again != 'yes':

break

cursor.close()

mycon.close()

SQL QUERY
CREATE TABLE IF NOT EXISTS Diseases ( DiseaseID INT PRIMARY KEY AUTO_INCREMENT,
DiseaseName VARCHAR(255) NOT NULL, Symptoms TEXT NOT NULL, Description TEXT NOT NULL );

INSERT INTO Diseases (DiseaseName, Symptoms, Description) VALUES

('Influenza', 'fever, cough, sore throat, runny nose, body aches', 'A viral infection that attacks your
respiratory system.'),

('COVID-19', 'fever, cough, shortness of breath, loss of taste, fatigue', 'A contagious respiratory
illness caused by the coronavirus.'),

('Diabetes', 'increased thirst, frequent urination, fatigue, blurred vision', 'A chronic condition that
affects blood sugar regulation.'),
('Hypertension', 'headache, dizziness, chest pain, blurred vision', 'A condition where the force of
the blood against artery walls is too high.'),

('Asthma', 'shortness of breath, chest tightness, wheezing, cough', 'A respiratory condition marked
by spasms in the bronchi.'),

('Migraine', 'headache, nausea, sensitivity to light, sensitivity to sound', 'A neurological condition
with intense headaches.'),

('Chickenpox', 'itchy rash, fever, tiredness, loss of appetite', 'A viral infection that causes an itchy
rash all over the body.'),

('Tuberculosis', 'persistent cough, weight loss, night sweats, fever', 'A bacterial infection that
mainly affects the lungs.'),

('Bronchitis', 'cough, mucus production, chest discomfort, fatigue', 'An inflammation of the
bronchial tubes in the lungs.'),

('Pneumonia', 'fever, cough, chest pain, fatigue, difficulty breathing', 'An infection that inflames the
air sacs in the lungs.'),

('Strep Throat', 'sore throat, swollen lymph nodes, fever, headache', 'A bacterial infection that
causes throat pain and inflammation.'),

('Lupus', 'joint pain, fatigue, rash, fever', 'An autoimmune disease that can damage various body
parts.'),

('Eczema', 'itchy skin, red patches, dryness, swelling', 'A condition that makes skin red and itchy.'),

('Psoriasis', 'scaly skin, red patches, itching, burning', 'A skin disease that causes red, itchy scaly
patches.'),

('Anemia', 'fatigue, weakness, pale skin, irregular heartbeat', 'A condition in which you lack enough
healthy red blood cells.'),

('Hyperthyroidism', 'weight loss, rapid heartbeat, sweating, nervousness', 'A condition where the
thyroid gland is overactive.'),

('Hypothyroidism', 'fatigue, weight gain, sensitivity to cold, dry skin', 'A condition where the thyroid
gland is underactive.'),

('Celiac Disease', 'diarrhea, bloating, weight loss, fatigue', 'An immune reaction to eating gluten.'),

('Crohn\'s Disease', 'abdominal pain, diarrhea, weight loss, fatigue', 'An inflammatory bowel
disease affecting the digestive tract.'),

('Irritable Bowel Syndrome', 'cramping, abdominal pain, bloating, gas, diarrhea', 'A common
disorder affecting the large intestine.'),

('Alzheimer\'s Disease', 'memory loss, confusion, difficulty thinking, mood changes', 'A progressive
disease that destroys memory and other mental functions.'),

('Parkinson\'s Disease', 'tremors, stiffness, slow movement, balance problems', 'A disorder of the
central nervous system that affects movement.'),
('Epilepsy', 'seizures, confusion, staring spells, uncontrollable movements', 'A neurological disorder
where brain activity becomes abnormal.'),

('Stroke', 'numbness, confusion, trouble walking, severe headache', 'A medical condition where
poor blood flow to the brain results in cell death.'),

('Arthritis', 'joint pain, stiffness, swelling, reduced range of motion', 'Inflammation of one or more
joints, causing pain and stiffness.'),

('Gout', 'intense joint pain, redness, swelling, warmth', 'A form of arthritis characterized by severe
pain and tenderness in joints.'),

('Hepatitis', 'fatigue, nausea, loss of appetite, jaundice', 'Inflammation of the liver, often caused by
a viral infection.'),

('Pancreatitis', 'upper abdominal pain, nausea, vomiting, fever', 'Inflammation of the pancreas.'),

('Glaucoma', 'eye pain, blurred vision, halos around lights, tunnel vision', 'A group of eye conditions
that damage the optic nerve.'),

('Macular Degeneration', 'blurred vision, difficulty reading, loss of central vision', 'An eye disease
that can blur central vision.'),

('Osteoporosis', 'back pain, loss of height, bone fractures, stooped posture', 'A condition in which
bones become weak and brittle.'),

('Chlamydia', 'painful urination, lower abdominal pain, discharge, pain during intercourse', 'A
common sexually transmitted infection.'),

('Gonorrhea', 'painful urination, discharge, testicular pain, vaginal bleeding', 'A sexually transmitted
bacterial infection.'),

('HIV/AIDS', 'fever, fatigue, swollen lymph nodes, weight loss', 'A virus that attacks the immune
system.'),

('Mononucleosis', 'fatigue, sore throat, swollen lymph nodes, fever', 'A viral infection that causes
sore throat and fever.'),

('Meningitis', 'stiff neck, headache, fever, sensitivity to light', 'An inflammation of the membranes
surrounding your brain and spinal cord.'),

('Lyme Disease', 'rash, fatigue, headache, joint pain', 'An infectious disease caused by tick bites.'),

('Whooping Cough', 'severe cough, runny nose, nasal congestion, vomiting', 'A highly contagious
respiratory tract infection.'),

('Malaria', 'fever, chills, headache, muscle pain, nausea', 'A life-threatening disease caused by
parasites transmitted through mosquitoes.'),

('Dengue Fever', 'high fever, rash, muscle pain, joint pain', 'A mosquito-borne viral disease.'),

('Chikungunya', 'fever, joint pain, headache, muscle pain', 'A viral disease transmitted by
mosquitoes.'),

('Yellow Fever', 'fever, chills, nausea, jaundice', 'A viral infection transmitted by a bite from an
infected mosquito.'),
('Zika Virus', 'fever, rash, joint pain, red eyes', 'A virus spread primarily by Aedes mosquitoes.'),

('Rabies', 'fever, headache, nausea, confusion, hyperactivity', 'A viral disease transmitted through
bites or scratches from infected animals.'),

('Tetanus', 'jaw cramping, muscle spasms, difficulty swallowing', 'A bacterial infection that affects
the nervous system.'),

('Leprosy', 'skin lesions, numbness, muscle weakness', 'A chronic infection caused by bacteria,
affecting the skin and nerves.'),

('Syphilis', 'sore, rash, fever, swollen lymph nodes', 'A bacterial infection typically spread by sexual
contact.'),

('Measles', 'fever, cough, runny nose, rash', 'A highly contagious viral infection that causes a total-
body skin rash.'),

('Rubella', 'rash, fever, swollen lymph nodes', 'A contagious viral infection best known by its
distinctive red rash.'),

('Mumps', 'swollen salivary glands, fever, headache, muscle aches', 'A viral infection that primarily
affects salivary glands.'),

('Ebola', 'fever, headache, muscle pain, bleeding', 'A viral hemorrhagic fever of humans and other
primates.'),

('Hantavirus', 'fever, muscle aches, dizziness, abdominal pain', 'A disease spread mainly by rodents
that can lead to severe respiratory symptoms.'),

('Anthrax', 'fever, chest pain, shortness of breath, sores', 'A rare but serious bacterial illness.'),

('Legionnaires\' Disease', 'cough, fever, muscle pain, shortness of breath', 'A severe form of
pneumonia caused by bacteria.'),

('Leptospirosis', 'fever, headache, muscle pain, nausea, vomiting', 'A bacterial infection that affects
humans and animals.'),

('Histoplasmosis', 'fever, chills, headache, muscle aches', 'An infection caused by breathing in
spores of a fungus.'),

('Shigellosis', 'diarrhea, fever, stomach cramps, nausea', 'An infectious disease caused by a group of
bacteria called Shigella.'),

('Plague', 'fever, chills, swollen lymph nodes, headache', 'A bacterial infection caused by Yersinia
pestis.'),

('Scarlet Fever', 'sore throat, red rash, high fever', 'A bacterial illness that develops in some people
who have strep throat.'),

('Kawasaki Disease', 'fever, rash, swollen hands and feet', 'A condition that causes inflammation in
the walls of some blood vessels.'),

('Rheumatic Fever', 'fever, swollen joints, chest pain', 'An inflammatory disease that can develop as
a complication of untreated strep throat.');
INSERT INTO Diseases (DiseaseName, Symptoms, Description) VALUES

('Aplastic Anemia', 'fatigue, shortness of breath, pale skin, dizziness', 'A rare condition where the
body stops producing enough new blood cells.'),

('Addison’s Disease', 'fatigue, weight loss, darkened skin, low blood pressure', 'A disorder in which
the adrenal glands don’t produce enough hormones.'),

('Cushing’s Syndrome', 'weight gain, round face, high blood pressure, skin changes', 'A condition
caused by prolonged exposure to high cortisol levels.'),

('Graves’ Disease', 'anxiety, tremors, heat sensitivity, weight loss', 'An immune system disorder that
results in the overproduction of thyroid hormones.'),

('Polio', 'fever, sore throat, headache, muscle weakness', 'A viral disease that can cause paralysis
and is preventable by vaccine.'),

('Scarlet Fever', 'sore throat, red rash, fever, swollen glands', 'A bacterial infection that can develop
in people with strep throat.'),

('Acute Sinusitis', 'facial pain, nasal congestion, fever, mucus discharge', 'An infection or
inflammation of the sinuses.'),

('Bacterial Meningitis', 'stiff neck, headache, sensitivity to light, nausea', 'A bacterial infection of
the membranes covering the brain and spinal cord.'),

('Viral Gastroenteritis', 'diarrhea, nausea, vomiting, abdominal cramps', 'An intestinal infection
caused by viruses.'),

('Varicose Veins', 'swollen veins, leg pain, itching, skin discoloration', 'Enlarged veins, most
commonly appearing in the legs and feet.'),

('Bell\'s Palsy', 'facial drooping, drooling, inability to close eye, facial pain', 'A condition that causes
sudden weakness in the muscles on one side of the face.'),

('Botulism', 'difficulty swallowing, facial weakness, blurred vision', 'A rare but serious illness caused
by a toxin that attacks the body’s nerves.'),

('Hypoglycemia', 'shakiness, sweating, dizziness, confusion', 'A condition caused by low blood sugar
levels.'),

('Hyperglycemia', 'frequent urination, increased thirst, fatigue, blurred vision', 'A condition
characterized by an excess of glucose in the bloodstream.'),

('Osteoarthritis', 'joint pain, stiffness, loss of flexibility, swelling', 'The most common form of
arthritis, affecting millions of people worldwide.'),

('Interstitial Cystitis', 'pelvic pain, frequent urination, bladder pain, urgency', 'A chronic condition
causing bladder pressure, bladder pain and sometimes pelvic pain.'),

('Chronic Kidney Disease', 'nausea, fatigue, high blood pressure, fluid retention', 'A long-term
condition where the kidneys don’t work as well as they should.'),
('Myocarditis', 'chest pain, shortness of breath, fatigue, palpitations', 'An inflammation of the heart
muscle.'),

('Fibromyalgia', 'widespread pain, fatigue, sleep issues, memory problems', 'A disorder
characterized by widespread musculoskeletal pain.'),

('Multiple Sclerosis', 'numbness, fatigue, muscle weakness, blurred vision', 'A disease in which the
immune system eats away at the protective covering of nerves.'),

('Psoriatic Arthritis', 'joint pain, stiffness, swelling, red patches of skin', 'A form of arthritis that
affects some people who have psoriasis.'),

('Sarcoidosis', 'fatigue, swollen lymph nodes, weight loss, joint pain', 'A disease characterized by
the growth of tiny collections of inflammatory cells.'),

('ALS', 'muscle weakness, slurred speech, difficulty swallowing, cramps', 'A progressive
neurodegenerative disease that affects nerve cells in the brain and spinal cord.'),

('Dystonia', 'muscle contractions, abnormal posture, tremors, cramps', 'A movement disorder that
causes the muscles to contract involuntarily.'),

('Trigeminal Neuralgia', 'facial pain, tingling, stabbing pain, sensitivity to touch', 'A chronic pain
condition affecting the trigeminal nerve in the face.'),

('Wilson\'s Disease', 'fatigue, tremors, liver disease, mood changes', 'A genetic disorder in which
excess copper builds up in the body.'),

('Marfan Syndrome', 'tall stature, long limbs, flexible joints, heart problems', 'A genetic disorder
affecting the body’s connective tissue.'),

('Ehlers-Danlos Syndrome', 'hypermobile joints, stretchy skin, fragile skin', 'A group of disorders
affecting connective tissues supporting the skin, bones, and more.'),

('Klinefelter Syndrome', 'low testosterone, reduced muscle mass, enlarged breasts', 'A genetic
condition affecting males, where an extra X chromosome is present.'),

('Turner Syndrome', 'short stature, delayed puberty, infertility', 'A chromosomal disorder in
females, where one X chromosome is missing or partially missing.'),

('Sickle Cell Disease', 'anemia, episodes of pain, swelling, delayed growth', 'A group of inherited red
blood cell disorders.'),

('Hemophilia', 'easy bruising, spontaneous bleeding, joint pain', 'A rare disorder in which your
blood doesn’t clot normally.'),

('Thalassemia', 'fatigue, weakness, pale skin, slow growth', 'A blood disorder that causes the body
to make an abnormal form of hemoglobin.'),

('Alpha-1 Antitrypsin Deficiency', 'shortness of breath, wheezing, chronic cough', 'A genetic
disorder that can cause lung and liver disease.'),

('Myasthenia Gravis', 'muscle weakness, drooping eyelids, double vision, difficulty swallowing', 'A
neuromuscular disorder causing weakness in the skeletal muscles.'),

('Guillain-Barre Syndrome', 'weakness, tingling, difficulty walking, paralysis', 'A rare disorder where
the body’s immune system attacks the nerves.'),
('Raynaud\'s Disease', 'cold fingers or toes, color changes in skin, numbness', 'A condition that
affects blood flow to certain parts of the body.'),

('Sjogren\'s Syndrome', 'dry eyes, dry mouth, joint pain, swollen glands', 'An immune system
disorder characterized by dry eyes and dry mouth.'),

('Temporal Arteritis', 'headache, jaw pain, vision problems, scalp tenderness', 'An inflammation of
blood vessels, often in the scalp.'),

('Chronic Fatigue Syndrome', 'severe fatigue, muscle pain, sore throat, unrefreshing sleep', 'A
complex disorder characterized by extreme fatigue.'),

('Spina Bifida', 'weakness in legs, bladder problems, curved spine', 'A birth defect where there is
incomplete closing of the spine and membranes around the spinal cord.'),

('Neurofibromatosis', 'skin tumors, brown spots, bone deformities', 'A genetic disorder that causes
tumors to form on nerve tissue.'),

('Cerebral Palsy', 'stiff muscles, poor coordination, tremors, speech issues', 'A group of disorders
affecting a person’s ability to move and maintain balance.'),

('Achondroplasia', 'short stature, large head, prominent forehead, shortened limbs', 'A form of
short-limbed dwarfism.'),

('Phenylketonuria (PKU)', 'musty breath, skin rashes, intellectual disability', 'A birth defect that
causes an amino acid called phenylalanine to build up in the body.'),

('Huntington\'s Disease', 'involuntary jerking, muscle problems, difficulty speaking', 'An inherited
disease that causes the progressive breakdown of nerve cells in the brain.'),

('Duchenne Muscular Dystrophy', 'muscle weakness, walking difficulty, heart problems', 'A genetic
disorder characterized by progressive muscle degeneration.'),

('Fragile X Syndrome', 'intellectual disability, anxiety, hyperactivity, seizures', 'A genetic condition
causing intellectual disability.'),

('Rett Syndrome', 'slowed growth, loss of motor skills, seizures, breathing issues', 'A rare genetic
neurological disorder affecting mostly girls.'),

('Tay-Sachs Disease', 'muscle weakness, seizures, vision loss, hearing loss', 'A rare genetic disorder
that destroys nerve cells in the brain and spinal cord.'),

('Maple Syrup Urine Disease', 'sweet-smelling urine, poor feeding, lethargy, seizures', 'A metabolic
disorder characterized by the inability to break down certain proteins.'),

('Fabry Disease', 'pain in hands and feet, red spots, decreased sweating', 'A rare genetic disorder
that affects the heart, kidneys, and skin.'),

('Gaucher Disease', 'anemia, fatigue, bone pain, enlarged liver and spleen', 'A genetic disorder
where fatty substances accumulate in certain organs.'),

('Pompe Disease', 'muscle weakness, breathing problems, enlarged liver', 'A genetic disorder that
affects the muscles and the heart.'),

('Prader-Willi Syndrome', 'poor muscle tone, feeding difficulties, delayed development', 'A genetic
disorder causing constant hunger and obesity.'),
('Williams Syndrome', 'distinctive facial features, cardiovascular problems, developmental delays',
'A genetic disorder that affects many parts of the body.'),

('Angelman Syndrome', 'intellectual disability, speech impairment, balance disorder', 'A genetic
disorder causing developmental disabilities and nerve-related symptoms.'),

('Niemann-Pick Disease', 'abdominal swelling, feeding problems, jaundice, vision loss', 'A group of
inherited disorders that affect metabolism and lipid storage.');

INSERT INTO Diseases (DiseaseName, Symptoms, Description) VALUES

('Barrett\'s Esophagus', 'heartburn, difficulty swallowing, chest pain', 'A condition where the
esophagus lining changes, often due to acid reflux.'),

('Restless Legs Syndrome', 'uncomfortable leg sensations, urge to move legs, disrupted sleep', 'A
disorder causing an uncontrollable urge to move legs.'),

('Chronic Obstructive Pulmonary Disease (COPD)', 'shortness of breath, chronic cough, fatigue,
wheezing', 'A group of lung diseases causing airflow blockage and breathing issues.'),

('Chronic Bronchitis', 'persistent cough, mucus production, wheezing, fatigue', 'A long-term
inflammation of the bronchi in the lungs.'),

('Emphysema', 'shortness of breath, chronic cough, fatigue, weight loss', 'A lung condition that
causes shortness of breath.'),

('Gastroesophageal Reflux Disease (GERD)', 'heartburn, regurgitation, chest pain, sore throat', 'A
digestive disorder where stomach acid irritates the food pipe lining.'),

('Irritable Hip Syndrome', 'hip pain, limping, reduced range of motion', 'Temporary inflammation
around the hip joint, often seen in children.'),

('Sciatica', 'lower back pain, leg pain, tingling, numbness', 'Pain radiating along the sciatic nerve,
which runs down one or both legs from the lower back.'),

('Osteomyelitis', 'fever, pain, swelling, warmth in the affected area', 'An infection in a bone.'),

('Carpal Tunnel Syndrome', 'hand numbness, tingling, weakness, hand pain', 'A condition that
causes pain and tingling in the hand and arm.'),

('Shin Splints', 'leg pain, tenderness, swelling', 'Pain along the inner edge of the shinbone.'),

('Hypothermia', 'shivering, slurred speech, slow breathing, confusion', 'A dangerous drop in body
temperature.'),

('Heat Exhaustion', 'heavy sweating, fatigue, dizziness, nausea', 'A condition caused by exposure to
high temperatures.'),

('Heat Stroke', 'high body temperature, rapid pulse, confusion, dry skin', 'A severe heat-related
illness requiring immediate medical attention.'),

('Panic Disorder', 'rapid heartbeat, sweating, dizziness, fear of losing control', 'An anxiety disorder
causing sudden episodes of intense fear.'),
('Obsessive-Compulsive Disorder', 'repetitive thoughts, compulsive behaviors, distress', 'A disorder
where individuals have recurring, unwanted thoughts and behaviors.'),

('Post-Traumatic Stress Disorder', 'flashbacks, nightmares, severe anxiety, avoidance', 'A disorder
triggered by a traumatic event.'),

('Agoraphobia', 'fear of public spaces, anxiety, avoidance, panic attacks', 'An anxiety disorder
causing fear of open or crowded spaces.'),

('Social Anxiety Disorder', 'fear of social situations, avoidance, sweating, fast heart rate', 'An
intense fear of being judged or scrutinized in social situations.'),

('Generalized Anxiety Disorder', 'excessive worry, restlessness, fatigue, difficulty concentrating', 'A
disorder characterized by chronic anxiety, exaggerated worry, and tension.'),

('Insomnia', 'difficulty sleeping, daytime fatigue, irritability, depression', 'Persistent problems falling
and staying asleep.'),

('Narcolepsy', 'excessive daytime sleepiness, sudden loss of muscle tone, hallucinations', 'A chronic
sleep disorder characterized by overwhelming daytime drowsiness.'),

('Sleep Apnea', 'loud snoring, breathing pauses, daytime fatigue, restless sleep', 'A sleep disorder in
which breathing repeatedly stops and starts.'),

('Restless Legs Syndrome', 'uncomfortable sensations in legs, urge to move legs, disrupted sleep',
'A condition causing an uncontrollable urge to move one’s legs.'),

('Hypochondria', 'excessive worry about health, frequent doctor visits, persistent anxiety', 'A
condition where a person is excessively worried about having a serious illness.'),

('Conversion Disorder', 'weakness, paralysis, seizures, loss of sensation', 'A condition where
psychological stress presents as physical symptoms.'),

('Schizophrenia', 'hallucinations, delusions, disorganized speech, withdrawal', 'A disorder affecting


a person’s ability to think, feel, and behave clearly.'),

('Bipolar Disorder', 'mood swings, manic episodes, depressive episodes, impulsivity', 'A disorder
associated with episodes of mood swings ranging from depressive lows to manic highs.'),

('Major Depression', 'persistent sadness, loss of interest, fatigue, difficulty concentrating', 'A mood
disorder causing persistent feelings of sadness and loss of interest.'),

('Dysthymia', 'chronic low mood, fatigue, low self-esteem, hopelessness', 'A persistent, mild
depression.'),

('Seasonal Affective Disorder', 'depression, fatigue, weight gain, craving carbohydrates',


'Depression that occurs at the same time every year.'),

('Premenstrual Dysphoric Disorder', 'mood swings, irritability, anxiety, physical symptoms', 'A
severe form of premenstrual syndrome.'),

('Cyclothymia', 'mood swings, periods of mild depression, hypomania', 'A mood disorder that
causes emotional highs and lows.'),

('Borderline Personality Disorder', 'fear of abandonment, impulsivity, intense emotions, unstable


relationships', 'A mental illness characterized by unstable moods, behavior, and relationships.'),
('Dissociative Identity Disorder', 'memory gaps, feeling detached from self, different identities', 'A
disorder characterized by the presence of two or more distinct identities.'),

('Avoidant Personality Disorder', 'extreme sensitivity to criticism, feelings of inadequacy, social


inhibition', 'A disorder marked by social discomfort and avoidance of social situations.'),

('Histrionic Personality Disorder', 'attention-seeking, excessive emotions, need for approval', 'A
disorder characterized by excessive emotionality and a need to be the center of attention.'),

('Antisocial Personality Disorder', 'disregard for others, deceitfulness, impulsivity, aggression', 'A
disorder characterized by a long-term pattern of manipulating, exploiting, or violating the rights of
others.'),

('Narcissistic Personality Disorder', 'grandiosity, lack of empathy, need for admiration, arrogance',
'A disorder in which a person has an inflated sense of their own importance.'),

('Paranoid Personality Disorder', 'distrust, suspicion, hostility, hypervigilance', 'A mental health
condition marked by a long-term pattern of distrust and suspicion of others.'),

('Schizoid Personality Disorder', 'social withdrawal, emotional coldness, indifference to praise or


criticism', 'A disorder where people avoid social activities and consistently shy away from
interactions.'),

('Schizotypal Personality Disorder', 'eccentric behavior, strange beliefs, discomfort in close


relationships', 'A disorder marked by severe social anxiety, paranoia, and unconventional beliefs.'),

('Depersonalization Disorder', 'feeling detached from self, altered perception, emotional


numbness', 'A disorder in which a person feels disconnected from their own thoughts and feelings.'),

('Somatic Symptom Disorder', 'pain, fatigue, shortness of breath, excessive worry about
symptoms', 'A disorder causing excessive focus on physical symptoms.'),

('Chronic Migraines', 'severe headache, nausea, sensitivity to light and sound', 'A neurological
condition causing recurring, intense headaches.'),

('Cluster Headaches', 'intense pain around one eye, tearing, nasal congestion', 'A series of short
but extremely painful headaches.'),

('Tension Headaches', 'dull pain, tightness, pressure around forehead', 'A common headache
characterized by muscle tension.'),

('Sinus Headaches', 'facial pain, congestion, nasal discharge, pressure', 'Headache caused by
inflamed sinuses.'),

('Hormonal Headaches', 'throbbing pain, fatigue, mood changes, sensitivity to light', 'Headaches
triggered by hormonal changes in the body.'),

('Pseudotumor Cerebri', 'headache, vision problems, ringing in ears', 'A condition with symptoms
similar to a brain tumor, but without a tumor.'),

('Neurogenic Bladder', 'frequent urination, incontinence, urinary retention, urgency', 'A bladder
dysfunction due to nerve damage.'),

('Endometriosis', 'pelvic pain, heavy periods, infertility, fatigue', 'A disorder where tissue similar to
the lining inside the uterus grows outside of it.'),
('Pelvic Inflammatory Disease', 'pain, fever, vaginal discharge, pain during intercourse', 'An
infection of the female reproductive organs.'),

('Interstitial Cystitis', 'bladder pain, frequent urination, pelvic discomfort', 'A chronic bladder health
issue.'),

('Hemorrhoids', 'pain, itching, swelling, bleeding', 'Swollen veins in the lower rectum and anus.'),

('Gallstones', 'abdominal pain, nausea, jaundice', 'Solid particles that form from bile in the
gallbladder.'),

('Irritable Bowel Syndrome (IBS)', 'cramping, abdominal pain, bloating, diarrhea or constipation', 'A
disorder affecting the large intestine.'),

('Diverticulitis', 'abdominal pain, fever, bloating, constipation', 'An inflammation or infection in one
or more small pouches in the digestive tract.'),

('Chronic Pancreatitis', 'upper abdominal pain, weight loss, diarrhea', 'A long-term inflammation of
the pancreas.'),

('Cirrhosis', 'fatigue, jaundice, swelling in abdomen and legs', 'Scarring of the liver caused by long-
term liver damage.'),

('Non-Alcoholic Fatty Liver Disease', 'fatigue, pain in the upper right abdomen', 'A condition in
which fat builds up in the liver.'),

('Bile Duct Cancer', 'jaundice, abdominal pain, weight loss', 'A rare but aggressive form of cancer in
the bile ducts.'),

('Pancreatic Cancer', 'abdominal pain, jaundice, weight loss, nausea', 'A type of cancer that starts
in the pancreas.'),

('Appendicitis', 'abdominal pain, nausea, loss of appetite, fever', 'Inflammation of the appendix.'),

('Celiac Disease', 'diarrhea, weight loss, fatigue, bloating', 'An immune reaction to eating gluten.'),

('Chronic Gastritis', 'nausea, bloating, abdominal pain, loss of appetite', 'Long-term inflammation
of the stomach lining.'),

('Gastroparesis', 'nausea, vomiting, bloating, early satiety', 'A condition where stomach muscles
don’t work properly.'),

('Achalasia', 'difficulty swallowing, chest pain, regurgitation', 'A rare disorder making it difficult for
food and liquid to pass into the stomach.');

You might also like