PRMSChallenge / disease_support.py
vineelagampa's picture
Update disease_support.py
57a17af verified
disease_doctor_specialty = {
"asthma": "Pulmonologist",
"heart disease": "Cardiologist",
"diabetes": "Endocrinologist",
"hypertension": "Cardiologist / General Physician",
"stroke": "Neurologist",
"cancer": "Oncologist",
"tuberculosis": "Pulmonologist / Infectious Disease Specialist",
"pneumonia": "Pulmonologist",
"bronchitis": "Pulmonologist",
"copd": "Pulmonologist",
"arthritis": "Rheumatologist",
"migraine": "Neurologist",
"anemia": "Hematologist",
"allergy": "Allergist / Immunologist",
"obesity": "Endocrinologist / Nutritionist",
"epilepsy": "Neurologist",
"dementia": "Neurologist / Geriatrician",
"autism": "Developmental Pediatrician / Psychiatrist",
"parkinson's disease": "Neurologist",
"leukemia": "Hematologist / Oncologist",
"glaucoma": "Ophthalmologist",
"hepatitis": "Hepatologist / Gastroenterologist",
"kidney disease": "Nephrologist",
"thyroid disorder": "Endocrinologist",
"hiv/aids": "Infectious Disease Specialist",
"dengue": "Infectious Disease Specialist / General Physician",
"malaria": "Infectious Disease Specialist / General Physician",
"covid-19": "Pulmonologist / Infectious Disease Specialist",
"dengue fever": "Infectious Disease Specialist / General Physician",
"typhoid": "Infectious Disease Specialist / Gastroenterologist",
"herpes simplex": "Dermatologist / Infectious Disease Specialist",
"herpes zoster": "Dermatologist / Neurologist",
"chronic fatigue syndrome": "Rheumatologist / Neurologist",
"fibromyalgia": "Rheumatologist / Pain Specialist",
"sleep apnea": "Pulmonologist / Sleep Specialist",
"narcolepsy": "Neurologist / Sleep Specialist",
"insomnia": "Sleep Specialist / Psychiatrist",
"meningitis": "Infectious Disease Specialist / Neurologist",
"encephalitis": "Neurologist / Infectious Disease Specialist",
"brain abscess": "Neurologist / Neurosurgeon",
"spinal cord infection": "Neurologist / Infectious Disease Specialist",
"Guillain-Barré syndrome": "Neurologist",
"toxoplasmosis": "Infectious Disease Specialist",
"pericarditis": "Cardiologist",
"sjogren’s syndrome": "Rheumatologist",
"trigeminal neuralgia": "Neurologist / Pain Specialist",
"rectal cancer": "Colorectal Surgeon / Oncologist"
}
disease_home_care = {
"asthma": [
"Use prescribed inhalers as directed",
"Avoid known triggers like smoke and dust",
"Monitor breathing with a peak flow meter",
"Keep rescue inhaler nearby",
"Attend regular doctor visits"
],
"heart disease": [
"Adopt a low-sodium, heart-healthy diet",
"Engage in doctor-approved physical activity",
"Take prescribed medications regularly",
"Manage stress with relaxation techniques",
"Monitor blood pressure at home"
],
"diabetes": [
"Monitor blood glucose levels daily",
"Follow a balanced, low-sugar diet",
"Exercise regularly as advised",
"Take insulin or medication as prescribed",
"Check feet daily for sores or infections"
],
"hypertension": [
"Reduce salt intake",
"Maintain a healthy weight",
"Exercise regularly",
"Avoid excessive alcohol",
"Take prescribed blood pressure medication"
],
"stroke": [
"Follow a rehabilitation plan strictly",
"Eat a heart-healthy diet",
"Take all prescribed medications",
"Monitor blood pressure regularly",
"Avoid smoking and limit alcohol"
],
"cancer": [
"Attend all treatment sessions",
"Eat a balanced, nutrient-rich diet",
"Stay hydrated",
"Manage side effects with doctor guidance",
"Seek emotional and mental health support"
],
"tuberculosis": [
"Take all prescribed medication daily",
"Complete the full course of treatment",
"Cover mouth when coughing",
"Ventilate living spaces well",
"Avoid crowded places until cleared by doctor",
"Attend all follow-up appointments"
],
"pneumonia": [
"Take antibiotics as prescribed",
"Rest and stay hydrated",
"Use humidified air if advised",
"Complete the full course of medication",
"Monitor breathing difficulty and seek help if severe"
],
"bronchitis": [
"Stay hydrated with water and warm fluids",
"Rest as much as possible",
"Use inhalers or medicines as prescribed",
"Avoid smoke and other irritants",
"Use a humidifier to ease breathing"
],
"copd": [
"Use inhalers and medications regularly",
"Avoid smoking entirely",
"Attend pulmonary rehabilitation sessions",
"Practice breathing exercises",
"Monitor oxygen levels if prescribed"
],
"arthritis": [
"Exercise regularly with low-impact activities",
"Maintain healthy weight",
"Use pain relievers as directed",
"Apply heat or cold packs as needed",
"Attend physical therapy sessions"
],
"migraine": [
"Avoid known migraine triggers",
"Follow prescribed medication plans",
"Practice stress-reduction techniques",
"Stay well hydrated",
"Maintain a regular sleep schedule"
],
"anemia": [
"Eat iron-rich foods like leafy greens and red meat",
"Take iron supplements if prescribed",
"Monitor fatigue and dizziness",
"Attend regular blood tests",
"Avoid tea or coffee with iron-rich meals to improve absorption"
],
"allergy": [
"Avoid known allergens",
"Use antihistamines as prescribed",
"Carry an epinephrine auto-injector if severe",
"Keep living areas clean and dust-free",
"Monitor symptoms and seek help if they worsen"
],
"obesity": [
"Adopt a balanced, calorie-controlled diet",
"Engage in regular physical activity",
"Seek behavioral counseling if needed",
"Attend regular medical checkups",
"Consider medical or surgical options as advised"
],
"epilepsy": [
"Take anti-seizure medications as prescribed",
"Maintain regular sleep schedule",
"Avoid known seizure triggers",
"Inform close contacts about first aid for seizures",
"Attend regular neurology appointments"
],
"dementia": [
"Keep a structured daily routine",
"Use reminders and labels to aid memory",
"Ensure home safety (locks, alarms)",
"Maintain social engagement",
"Attend regular medical evaluations"
],
"autism": [
"Engage in behavioral therapy sessions",
"Create structured routines",
"Use communication aids if needed",
"Encourage social skills practice",
"Coordinate care with specialists"
],
"parkinson's disease": [
"Take medications on schedule",
"Attend physiotherapy sessions",
"Use mobility aids if necessary",
"Maintain a balanced diet",
"Practice speech and occupational therapy exercises"
],
"leukemia": [
"Follow chemotherapy schedules precisely",
"Monitor for infection signs",
"Maintain a nutritious diet",
"Stay hydrated",
"Attend all follow-up appointments"
],
"glaucoma": [
"Use eye drops as prescribed",
"Attend regular eye exams",
"Avoid activities that increase eye pressure",
"Report vision changes promptly",
"Follow ophthalmologist instructions carefully"
],
"hepatitis": [
"Avoid alcohol completely",
"Follow prescribed medication regimens",
"Eat a balanced, liver-friendly diet",
"Get adequate rest",
"Attend all medical follow-up visits"
],
"kidney disease": [
"Follow renal diet guidelines",
"Control blood pressure",
"Monitor fluid intake as advised",
"Avoid NSAIDs unless prescribed",
"Attend nephrologist appointments"
],
"thyroid disorder": [
"Take thyroid medication at the same time daily",
"Avoid food interactions if advised (e.g. soy, iron)",
"Monitor symptoms and report changes",
"Get regular blood tests",
"Attend endocrinologist appointments"
],
"hiv/aids": [
"Take antiretroviral therapy daily",
"Eat a balanced diet",
"Practice safe sex",
"Avoid sharing needles",
"Attend regular viral load testing"
],
"dengue": [
"Rest as much as possible",
"Stay well hydrated",
"Take acetaminophen for fever (avoid NSAIDs)",
"Monitor for warning signs",
"Seek immediate care if symptoms worsen"
],
"malaria": [
"Take full course of antimalarial drugs",
"Use bed nets to avoid mosquito bites",
"Stay hydrated",
"Rest until fever subsides",
"Seek prompt care for any recurrence"
],
"covid-19": [
"Isolate to avoid spreading",
"Stay hydrated",
"Monitor oxygen levels if possible",
"Rest adequately",
"Seek medical help if breathing difficulty develops"
],
"dengue fever": [
"Rest and avoid strenuous activities",
"Stay well hydrated with fluids",
"Take acetaminophen for fever and pain (avoid NSAIDs)",
"Monitor for warning signs like bleeding or severe pain",
"Seek immediate medical attention if symptoms worsen"
],
"typhoid": [
"Take all prescribed antibiotics exactly as directed",
"Maintain hydration and eat a balanced diet",
"Avoid raw or contaminated foods",
"Rest adequately to support recovery",
"Attend all follow-up appointments for monitoring"
],
"herpes simplex": [
"Take antiviral medication as prescribed",
"Keep affected areas clean and dry",
"Avoid touching or scratching lesions",
"Practice safe sexual habits to prevent transmission",
"Monitor for outbreaks and seek care if severe"
],
"herpes zoster": [
"Take antiviral medication as prescribed promptly",
"Keep rash clean and covered",
"Relieve pain with doctor-approved analgesics",
"Avoid contact with individuals who are immunocompromised",
"Monitor for postherpetic neuralgia and report persistent pain"
],
"chronic fatigue syndrome": [
"Pace daily activities to prevent overexertion",
"Prioritize rest and sleep hygiene",
"Engage in gentle exercise as tolerated",
"Track symptoms and triggers in a diary",
"Seek support from healthcare providers and support groups"
],
"fibromyalgia": [
"Engage in low-impact exercises regularly",
"Use prescribed medications for pain management",
"Apply heat or cold therapy for muscle relief",
"Practice stress-reducing activities like meditation",
"Maintain a consistent sleep schedule"
],
"sleep apnea": [
"Use CPAP or other prescribed airway devices nightly",
"Maintain a healthy weight",
"Avoid alcohol or sedatives before sleep",
"Sleep on your side if advised",
"Attend regular follow-ups to monitor therapy effectiveness"
],
"narcolepsy": [
"Take medications as prescribed for wakefulness",
"Schedule short, planned naps during the day",
"Maintain a consistent sleep schedule",
"Avoid activities that could be dangerous during sleep attacks",
"Track symptoms and report changes to your neurologist"
],
"insomnia": [
"Practice good sleep hygiene (consistent sleep/wake times)",
"Avoid caffeine and electronics before bed",
"Use relaxation techniques to reduce anxiety",
"Take sleep medication only if prescribed",
"Track sleep patterns and report persistent problems"
],
"meningitis": [
"Follow all prescribed medications (antibiotics or antivirals)",
"Rest and avoid strenuous activities",
"Stay hydrated and maintain proper nutrition",
"Monitor for worsening symptoms like headache or confusion",
"Attend follow-up appointments for recovery monitoring"
],
"encephalitis": [
"Follow all prescribed treatments and medications",
"Ensure adequate rest and hydration",
"Monitor neurological symptoms closely",
"Engage in rehabilitation therapies as recommended",
"Attend all follow-up neurological evaluations"
],
"brain abscess": [
"Take all antibiotics as prescribed completely",
"Rest and avoid strenuous activities",
"Monitor for neurological changes",
"Attend all follow-up imaging and doctor visits",
"Report any fever, headache, or vomiting immediately"
],
"spinal cord infection": [
"Take all prescribed antibiotics or antivirals completely",
"Rest and avoid activities that strain the spine",
"Monitor for neurological symptoms",
"Attend follow-up visits and imaging tests",
"Seek immediate care for worsening weakness or numbness"
],
"Guillain-Barré syndrome": [
"Monitor breathing and report difficulties immediately",
"Attend physical therapy as recommended",
"Take medications as prescribed",
"Maintain proper nutrition and hydration",
"Report new or worsening symptoms promptly"
],
"toxoplasmosis": [
"Take all prescribed antiparasitic medications",
"Maintain proper hygiene when handling raw meat or soil",
"Avoid contact with cat litter if immunocompromised",
"Rest and stay hydrated",
"Monitor for neurological or eye complications"
],
"pericarditis": [
"Take anti-inflammatory medications as prescribed",
"Rest and avoid strenuous physical activity",
"Monitor for chest pain or shortness of breath",
"Attend all follow-up cardiology appointments",
"Report any recurrent or worsening symptoms immediately"
],
"sjogren’s syndrome": [
"Use artificial tears and saliva substitutes",
"Maintain good oral hygiene",
"Stay hydrated",
"Follow prescribed medications for inflammation",
"Attend regular rheumatology follow-ups"
],
"trigeminal neuralgia": [
"Take prescribed anticonvulsants for pain management",
"Avoid triggers such as cold air or chewing hard foods",
"Use supportive therapies like warm compresses if recommended",
"Monitor pain frequency and intensity",
"Attend regular follow-ups with your neurologist"
],
"rectal cancer": [
"Follow all prescribed treatment plans (surgery, chemo, radiation)",
"Maintain a balanced and nutritious diet",
"Rest adequately to support recovery",
"Monitor bowel habits and report changes",
"Attend all follow-up appointments for surveillance"
],
"cardiac": [
"Follow prescribed medications consistently (beta-blockers, statins, ACE inhibitors, etc.).",
"Adopt a heart-healthy diet low in sodium, saturated fats, and processed foods.",
"Engage in safe regular exercise as advised by your doctor.",
"Monitor for chest pain, palpitations, or shortness of breath.",
"Attend scheduled cardiology check-ups and heart imaging tests."
],
"inflammation": [
"Take anti-inflammatory medications as prescribed.",
"Identify and avoid known triggers (allergens, infections, stress).",
"Adopt an anti-inflammatory diet rich in omega-3s, fruits, and vegetables.",
"Practice stress-reducing activities like yoga, meditation, or light exercise.",
"Report persistent joint pain, swelling, or fever to your doctor."
],
"vitamin": [
"Take vitamin supplements as prescribed (D, B12, folate, iron).",
"Include a variety of nutrient-rich foods in your daily diet.",
"Get safe sunlight exposure for natural vitamin D production.",
"Monitor for symptoms of deficiency like fatigue, weakness, or numbness.",
"Schedule repeat blood tests to track vitamin levels."
],
"electrolyte": [
"Stay hydrated with adequate fluids unless on fluid restriction.",
"Take electrolyte supplements or IV replacements if prescribed.",
"Avoid excessive salt or potassium intake depending on lab results.",
"Monitor for muscle cramps, irregular heartbeat, or confusion.",
"Follow up with repeat blood tests for sodium, potassium, and calcium."
],
"blood-pressure": [
"Take prescribed blood pressure medications consistently.",
"Check blood pressure at home and keep a log for your doctor.",
"Reduce salt and processed foods in your diet.",
"Exercise regularly with activities approved by your physician.",
"Avoid smoking, excessive caffeine, and alcohol."
],
"cbc": [
"Follow up on abnormal blood counts with your physician.",
"If anemic, eat iron-rich foods and take supplements as advised.",
"Monitor for signs of infection (fever, chills) if white blood cells are abnormal.",
"Report easy bruising or bleeding if platelets are low.",
"Repeat CBC as recommended to track changes."
],
"iron": [
"Increase intake of iron-rich foods like lean meats, beans, and leafy greens.",
"Take iron supplements if prescribed, preferably with vitamin C for absorption.",
"Avoid tea, coffee, and dairy close to iron intake as they reduce absorption.",
"Monitor for symptoms like fatigue, dizziness, or paleness.",
"Follow up with repeat ferritin and iron studies."
],
"liver": [
"Avoid alcohol and liver-toxic medications unless approved by your doctor.",
"Take prescribed treatments for hepatitis or fatty liver disease.",
"Follow a diet low in processed foods and rich in lean protein and vegetables.",
"Monitor for jaundice, swelling, or confusion and report promptly.",
"Get regular liver function blood tests and imaging if needed."
],
"respiratory": [
"Use prescribed inhalers, oxygen, or breathing treatments as directed.",
"Avoid smoking and secondhand smoke.",
"Stay up to date with vaccines (flu, pneumonia, COVID-19).",
"Monitor for worsening cough, wheezing, or shortness of breath.",
"Perform pulmonary function tests if recommended by your doctor."
],
"coagulation": [
"Take anticoagulants or clotting factor replacements as prescribed.",
"Avoid activities with high risk of injury or bleeding.",
"Report unusual bruising, nosebleeds, or prolonged bleeding.",
"Get regular PT/INR or aPTT tests as directed.",
"Consult hematology if clotting or bleeding problems persist."
],
"hormone": [
"Take hormone replacement or regulating medications consistently.",
"Monitor symptoms of imbalance such as weight changes, fatigue, or mood swings.",
"Get regular blood tests for thyroid, adrenal, or reproductive hormones.",
"Adopt a balanced diet and maintain a healthy sleep routine.",
"Schedule endocrinology follow-ups for treatment adjustments."
],
"infection": [
"Take the full course of prescribed antibiotics or antivirals.",
"Rest and maintain hydration.",
"Monitor for fever, worsening pain, or spreading symptoms.",
"Isolate if contagious and follow hygiene measures (handwashing, masking).",
"Follow up with your doctor if symptoms don’t improve or worsen."
],
"blood-gas": [
"Use supplemental oxygen if prescribed.",
"Practice breathing exercises to support lung function.",
"Follow guidance for treating the underlying cause (e.g., asthma, COPD, metabolic disorder).",
"Monitor for confusion, dizziness, or worsening shortness of breath.",
"Get repeat arterial blood gas (ABG) testing as directed."
],
"vitals": [
"Record daily vital signs (temperature, blood pressure, heart rate, oxygen).",
"Watch for abnormal readings and notify your healthcare provider.",
"Maintain a log for trends over time.",
"Use home monitoring devices as advised (BP cuff, oximeter, thermometer).",
"Seek immediate care if vitals show dangerous changes (e.g., very high BP, low oxygen)."
]
}