Spaces:
Running
Running
Update disease_support.py
Browse files- disease_support.py +251 -1
disease_support.py
CHANGED
@@ -27,6 +27,25 @@ disease_doctor_specialty = {
|
|
27 |
"dengue": "Infectious Disease Specialist / General Physician",
|
28 |
"malaria": "Infectious Disease Specialist / General Physician",
|
29 |
"covid-19": "Pulmonologist / Infectious Disease Specialist",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
disease_home_care = {
|
@@ -226,5 +245,236 @@ disease_home_care = {
|
|
226 |
"Monitor oxygen levels if possible",
|
227 |
"Rest adequately",
|
228 |
"Seek medical help if breathing difficulty develops"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
]
|
230 |
-
}
|
|
|
27 |
"dengue": "Infectious Disease Specialist / General Physician",
|
28 |
"malaria": "Infectious Disease Specialist / General Physician",
|
29 |
"covid-19": "Pulmonologist / Infectious Disease Specialist",
|
30 |
+
"dengue fever": "Infectious Disease Specialist / General Physician",
|
31 |
+
"typhoid": "Infectious Disease Specialist / Gastroenterologist",
|
32 |
+
"herpes simplex": "Dermatologist / Infectious Disease Specialist",
|
33 |
+
"herpes zoster": "Dermatologist / Neurologist",
|
34 |
+
"chronic fatigue syndrome": "Rheumatologist / Neurologist",
|
35 |
+
"fibromyalgia": "Rheumatologist / Pain Specialist",
|
36 |
+
"sleep apnea": "Pulmonologist / Sleep Specialist",
|
37 |
+
"narcolepsy": "Neurologist / Sleep Specialist",
|
38 |
+
"insomnia": "Sleep Specialist / Psychiatrist",
|
39 |
+
"meningitis": "Infectious Disease Specialist / Neurologist",
|
40 |
+
"encephalitis": "Neurologist / Infectious Disease Specialist",
|
41 |
+
"brain abscess": "Neurologist / Neurosurgeon",
|
42 |
+
"spinal cord infection": "Neurologist / Infectious Disease Specialist",
|
43 |
+
"Guillain-Barré syndrome": "Neurologist",
|
44 |
+
"toxoplasmosis": "Infectious Disease Specialist",
|
45 |
+
"pericarditis": "Cardiologist",
|
46 |
+
"sjogren’s syndrome": "Rheumatologist",
|
47 |
+
"trigeminal neuralgia": "Neurologist / Pain Specialist",
|
48 |
+
"rectal cancer": "Colorectal Surgeon / Oncologist"
|
49 |
}
|
50 |
|
51 |
disease_home_care = {
|
|
|
245 |
"Monitor oxygen levels if possible",
|
246 |
"Rest adequately",
|
247 |
"Seek medical help if breathing difficulty develops"
|
248 |
+
],
|
249 |
+
"dengue fever": [
|
250 |
+
"Rest and avoid strenuous activities",
|
251 |
+
"Stay well hydrated with fluids",
|
252 |
+
"Take acetaminophen for fever and pain (avoid NSAIDs)",
|
253 |
+
"Monitor for warning signs like bleeding or severe pain",
|
254 |
+
"Seek immediate medical attention if symptoms worsen"
|
255 |
+
],
|
256 |
+
"typhoid": [
|
257 |
+
"Take all prescribed antibiotics exactly as directed",
|
258 |
+
"Maintain hydration and eat a balanced diet",
|
259 |
+
"Avoid raw or contaminated foods",
|
260 |
+
"Rest adequately to support recovery",
|
261 |
+
"Attend all follow-up appointments for monitoring"
|
262 |
+
],
|
263 |
+
"herpes simplex": [
|
264 |
+
"Take antiviral medication as prescribed",
|
265 |
+
"Keep affected areas clean and dry",
|
266 |
+
"Avoid touching or scratching lesions",
|
267 |
+
"Practice safe sexual habits to prevent transmission",
|
268 |
+
"Monitor for outbreaks and seek care if severe"
|
269 |
+
],
|
270 |
+
"herpes zoster": [
|
271 |
+
"Take antiviral medication as prescribed promptly",
|
272 |
+
"Keep rash clean and covered",
|
273 |
+
"Relieve pain with doctor-approved analgesics",
|
274 |
+
"Avoid contact with individuals who are immunocompromised",
|
275 |
+
"Monitor for postherpetic neuralgia and report persistent pain"
|
276 |
+
],
|
277 |
+
"chronic fatigue syndrome": [
|
278 |
+
"Pace daily activities to prevent overexertion",
|
279 |
+
"Prioritize rest and sleep hygiene",
|
280 |
+
"Engage in gentle exercise as tolerated",
|
281 |
+
"Track symptoms and triggers in a diary",
|
282 |
+
"Seek support from healthcare providers and support groups"
|
283 |
+
],
|
284 |
+
"fibromyalgia": [
|
285 |
+
"Engage in low-impact exercises regularly",
|
286 |
+
"Use prescribed medications for pain management",
|
287 |
+
"Apply heat or cold therapy for muscle relief",
|
288 |
+
"Practice stress-reducing activities like meditation",
|
289 |
+
"Maintain a consistent sleep schedule"
|
290 |
+
],
|
291 |
+
"sleep apnea": [
|
292 |
+
"Use CPAP or other prescribed airway devices nightly",
|
293 |
+
"Maintain a healthy weight",
|
294 |
+
"Avoid alcohol or sedatives before sleep",
|
295 |
+
"Sleep on your side if advised",
|
296 |
+
"Attend regular follow-ups to monitor therapy effectiveness"
|
297 |
+
],
|
298 |
+
"narcolepsy": [
|
299 |
+
"Take medications as prescribed for wakefulness",
|
300 |
+
"Schedule short, planned naps during the day",
|
301 |
+
"Maintain a consistent sleep schedule",
|
302 |
+
"Avoid activities that could be dangerous during sleep attacks",
|
303 |
+
"Track symptoms and report changes to your neurologist"
|
304 |
+
],
|
305 |
+
"insomnia": [
|
306 |
+
"Practice good sleep hygiene (consistent sleep/wake times)",
|
307 |
+
"Avoid caffeine and electronics before bed",
|
308 |
+
"Use relaxation techniques to reduce anxiety",
|
309 |
+
"Take sleep medication only if prescribed",
|
310 |
+
"Track sleep patterns and report persistent problems"
|
311 |
+
],
|
312 |
+
"meningitis": [
|
313 |
+
"Follow all prescribed medications (antibiotics or antivirals)",
|
314 |
+
"Rest and avoid strenuous activities",
|
315 |
+
"Stay hydrated and maintain proper nutrition",
|
316 |
+
"Monitor for worsening symptoms like headache or confusion",
|
317 |
+
"Attend follow-up appointments for recovery monitoring"
|
318 |
+
],
|
319 |
+
"encephalitis": [
|
320 |
+
"Follow all prescribed treatments and medications",
|
321 |
+
"Ensure adequate rest and hydration",
|
322 |
+
"Monitor neurological symptoms closely",
|
323 |
+
"Engage in rehabilitation therapies as recommended",
|
324 |
+
"Attend all follow-up neurological evaluations"
|
325 |
+
],
|
326 |
+
"brain abscess": [
|
327 |
+
"Take all antibiotics as prescribed completely",
|
328 |
+
"Rest and avoid strenuous activities",
|
329 |
+
"Monitor for neurological changes",
|
330 |
+
"Attend all follow-up imaging and doctor visits",
|
331 |
+
"Report any fever, headache, or vomiting immediately"
|
332 |
+
],
|
333 |
+
"spinal cord infection": [
|
334 |
+
"Take all prescribed antibiotics or antivirals completely",
|
335 |
+
"Rest and avoid activities that strain the spine",
|
336 |
+
"Monitor for neurological symptoms",
|
337 |
+
"Attend follow-up visits and imaging tests",
|
338 |
+
"Seek immediate care for worsening weakness or numbness"
|
339 |
+
],
|
340 |
+
"Guillain-Barré syndrome": [
|
341 |
+
"Monitor breathing and report difficulties immediately",
|
342 |
+
"Attend physical therapy as recommended",
|
343 |
+
"Take medications as prescribed",
|
344 |
+
"Maintain proper nutrition and hydration",
|
345 |
+
"Report new or worsening symptoms promptly"
|
346 |
+
],
|
347 |
+
"toxoplasmosis": [
|
348 |
+
"Take all prescribed antiparasitic medications",
|
349 |
+
"Maintain proper hygiene when handling raw meat or soil",
|
350 |
+
"Avoid contact with cat litter if immunocompromised",
|
351 |
+
"Rest and stay hydrated",
|
352 |
+
"Monitor for neurological or eye complications"
|
353 |
+
],
|
354 |
+
"pericarditis": [
|
355 |
+
"Take anti-inflammatory medications as prescribed",
|
356 |
+
"Rest and avoid strenuous physical activity",
|
357 |
+
"Monitor for chest pain or shortness of breath",
|
358 |
+
"Attend all follow-up cardiology appointments",
|
359 |
+
"Report any recurrent or worsening symptoms immediately"
|
360 |
+
],
|
361 |
+
"sjogren’s syndrome": [
|
362 |
+
"Use artificial tears and saliva substitutes",
|
363 |
+
"Maintain good oral hygiene",
|
364 |
+
"Stay hydrated",
|
365 |
+
"Follow prescribed medications for inflammation",
|
366 |
+
"Attend regular rheumatology follow-ups"
|
367 |
+
],
|
368 |
+
"trigeminal neuralgia": [
|
369 |
+
"Take prescribed anticonvulsants for pain management",
|
370 |
+
"Avoid triggers such as cold air or chewing hard foods",
|
371 |
+
"Use supportive therapies like warm compresses if recommended",
|
372 |
+
"Monitor pain frequency and intensity",
|
373 |
+
"Attend regular follow-ups with your neurologist"
|
374 |
+
],
|
375 |
+
"rectal cancer": [
|
376 |
+
"Follow all prescribed treatment plans (surgery, chemo, radiation)",
|
377 |
+
"Maintain a balanced and nutritious diet",
|
378 |
+
"Rest adequately to support recovery",
|
379 |
+
"Monitor bowel habits and report changes",
|
380 |
+
"Attend all follow-up appointments for surveillance"
|
381 |
+
],
|
382 |
+
"cardiac": [
|
383 |
+
"Follow prescribed medications consistently (beta-blockers, statins, ACE inhibitors, etc.).",
|
384 |
+
"Adopt a heart-healthy diet low in sodium, saturated fats, and processed foods.",
|
385 |
+
"Engage in safe regular exercise as advised by your doctor.",
|
386 |
+
"Monitor for chest pain, palpitations, or shortness of breath.",
|
387 |
+
"Attend scheduled cardiology check-ups and heart imaging tests."
|
388 |
+
],
|
389 |
+
"inflammation": [
|
390 |
+
"Take anti-inflammatory medications as prescribed.",
|
391 |
+
"Identify and avoid known triggers (allergens, infections, stress).",
|
392 |
+
"Adopt an anti-inflammatory diet rich in omega-3s, fruits, and vegetables.",
|
393 |
+
"Practice stress-reducing activities like yoga, meditation, or light exercise.",
|
394 |
+
"Report persistent joint pain, swelling, or fever to your doctor."
|
395 |
+
],
|
396 |
+
"vitamin": [
|
397 |
+
"Take vitamin supplements as prescribed (D, B12, folate, iron).",
|
398 |
+
"Include a variety of nutrient-rich foods in your daily diet.",
|
399 |
+
"Get safe sunlight exposure for natural vitamin D production.",
|
400 |
+
"Monitor for symptoms of deficiency like fatigue, weakness, or numbness.",
|
401 |
+
"Schedule repeat blood tests to track vitamin levels."
|
402 |
+
],
|
403 |
+
"electrolyte": [
|
404 |
+
"Stay hydrated with adequate fluids unless on fluid restriction.",
|
405 |
+
"Take electrolyte supplements or IV replacements if prescribed.",
|
406 |
+
"Avoid excessive salt or potassium intake depending on lab results.",
|
407 |
+
"Monitor for muscle cramps, irregular heartbeat, or confusion.",
|
408 |
+
"Follow up with repeat blood tests for sodium, potassium, and calcium."
|
409 |
+
],
|
410 |
+
"blood-pressure": [
|
411 |
+
"Take prescribed blood pressure medications consistently.",
|
412 |
+
"Check blood pressure at home and keep a log for your doctor.",
|
413 |
+
"Reduce salt and processed foods in your diet.",
|
414 |
+
"Exercise regularly with activities approved by your physician.",
|
415 |
+
"Avoid smoking, excessive caffeine, and alcohol."
|
416 |
+
],
|
417 |
+
"cbc": [
|
418 |
+
"Follow up on abnormal blood counts with your physician.",
|
419 |
+
"If anemic, eat iron-rich foods and take supplements as advised.",
|
420 |
+
"Monitor for signs of infection (fever, chills) if white blood cells are abnormal.",
|
421 |
+
"Report easy bruising or bleeding if platelets are low.",
|
422 |
+
"Repeat CBC as recommended to track changes."
|
423 |
+
],
|
424 |
+
"iron": [
|
425 |
+
"Increase intake of iron-rich foods like lean meats, beans, and leafy greens.",
|
426 |
+
"Take iron supplements if prescribed, preferably with vitamin C for absorption.",
|
427 |
+
"Avoid tea, coffee, and dairy close to iron intake as they reduce absorption.",
|
428 |
+
"Monitor for symptoms like fatigue, dizziness, or paleness.",
|
429 |
+
"Follow up with repeat ferritin and iron studies."
|
430 |
+
],
|
431 |
+
"liver": [
|
432 |
+
"Avoid alcohol and liver-toxic medications unless approved by your doctor.",
|
433 |
+
"Take prescribed treatments for hepatitis or fatty liver disease.",
|
434 |
+
"Follow a diet low in processed foods and rich in lean protein and vegetables.",
|
435 |
+
"Monitor for jaundice, swelling, or confusion and report promptly.",
|
436 |
+
"Get regular liver function blood tests and imaging if needed."
|
437 |
+
],
|
438 |
+
"respiratory": [
|
439 |
+
"Use prescribed inhalers, oxygen, or breathing treatments as directed.",
|
440 |
+
"Avoid smoking and secondhand smoke.",
|
441 |
+
"Stay up to date with vaccines (flu, pneumonia, COVID-19).",
|
442 |
+
"Monitor for worsening cough, wheezing, or shortness of breath.",
|
443 |
+
"Perform pulmonary function tests if recommended by your doctor."
|
444 |
+
],
|
445 |
+
"coagulation": [
|
446 |
+
"Take anticoagulants or clotting factor replacements as prescribed.",
|
447 |
+
"Avoid activities with high risk of injury or bleeding.",
|
448 |
+
"Report unusual bruising, nosebleeds, or prolonged bleeding.",
|
449 |
+
"Get regular PT/INR or aPTT tests as directed.",
|
450 |
+
"Consult hematology if clotting or bleeding problems persist."
|
451 |
+
],
|
452 |
+
"hormone": [
|
453 |
+
"Take hormone replacement or regulating medications consistently.",
|
454 |
+
"Monitor symptoms of imbalance such as weight changes, fatigue, or mood swings.",
|
455 |
+
"Get regular blood tests for thyroid, adrenal, or reproductive hormones.",
|
456 |
+
"Adopt a balanced diet and maintain a healthy sleep routine.",
|
457 |
+
"Schedule endocrinology follow-ups for treatment adjustments."
|
458 |
+
],
|
459 |
+
"infection": [
|
460 |
+
"Take the full course of prescribed antibiotics or antivirals.",
|
461 |
+
"Rest and maintain hydration.",
|
462 |
+
"Monitor for fever, worsening pain, or spreading symptoms.",
|
463 |
+
"Isolate if contagious and follow hygiene measures (handwashing, masking).",
|
464 |
+
"Follow up with your doctor if symptoms don’t improve or worsen."
|
465 |
+
],
|
466 |
+
"blood-gas": [
|
467 |
+
"Use supplemental oxygen if prescribed.",
|
468 |
+
"Practice breathing exercises to support lung function.",
|
469 |
+
"Follow guidance for treating the underlying cause (e.g., asthma, COPD, metabolic disorder).",
|
470 |
+
"Monitor for confusion, dizziness, or worsening shortness of breath.",
|
471 |
+
"Get repeat arterial blood gas (ABG) testing as directed."
|
472 |
+
],
|
473 |
+
"vitals": [
|
474 |
+
"Record daily vital signs (temperature, blood pressure, heart rate, oxygen).",
|
475 |
+
"Watch for abnormal readings and notify your healthcare provider.",
|
476 |
+
"Maintain a log for trends over time.",
|
477 |
+
"Use home monitoring devices as advised (BP cuff, oximeter, thermometer).",
|
478 |
+
"Seek immediate care if vitals show dangerous changes (e.g., very high BP, low oxygen)."
|
479 |
]
|
480 |
+
}
|