Complications of tb full details for md exam answer from this pdf
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" with pdfplumber.open(pdf_path) as pdf: print(f"Total pages: {len(pdf.pages)}") # Search for TB complications content for i, page in enumerate(pdf.pages): text = page.extract_text() if text and ('complication' in text.lower() or 'tuberculosis' in text.lower() or 'tb' in text.lower()): print(f"\n=== PAGE {i+1} ===") print(text[:500]) EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" with pdfplumber.open(pdf_path) as pdf: print(f"Total pages: {len(pdf.pages)}") # Just get page count first EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" # Search pages in batches of 50 for TB complications with pdfplumber.open(pdf_path) as pdf: for i in range(0, 200, 1): try: text = pdf.pages[i].extract_text() if text and 'complication' in text.lower(): print(f"PAGE {i+1}: {text[:200]}") print("---") except: pass EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" # Try just 20 pages at a time with pdfplumber.open(pdf_path) as pdf: for i in range(0, 20): try: text = pdf.pages[i].extract_text() or "" if 'complication' in text.lower() or 'tubercul' in text.lower(): print(f"PAGE {i+1}: MATCH") print(text[:300]) print("---") else: # Print headings to understand structure lines = text.split('\n')[:3] print(f"P{i+1}: {' | '.join(lines)}") except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" # Look at TOC pages (usually pages 20-35) with pdfplumber.open(pdf_path) as pdf: for i in range(20, 40): try: text = pdf.pages[i].extract_text() or "" print(f"\n=== PAGE {i+1} ===") print(text[:800]) except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" # The book page 419 - the PDF has ~20 pages of front matter before ch1 starts # Chapter 1 starts at PDF page 26 (book page 1), so offset = 25 # Book page 419 = PDF page ~444 # Let's search around pages 440-460 with pdfplumber.open(pdf_path) as pdf: for i in range(438, 470): try: text = pdf.pages[i].extract_text() or "" if 'complication' in text.lower() or '419' in text or '420' in text or '421' in text: print(f"\n=== PDF PAGE {i+1} ===") print(text[:300]) except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" with pdfplumber.open(pdf_path) as pdf: for i in range(443, 457): # PDF pages 444-457 (0-indexed: 443-456) try: text = pdf.pages[i].extract_text() or "" print(f"\n{'='*60}") print(f"PDF PAGE {i+1}") print('='*60) print(text) except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
| Category | Complication |
|---|---|
| Local – Pulmonary | Haemoptysis, Post-TB bronchiectasis, Aspergilloma (fungal ball), TB endobronchitis & tracheitis, Scar carcinoma, Disseminated calcification, Pulmonary function changes/obstructive airways disease, Secondary pyogenic infections, NTM disease |
| Local – Pleural | Spontaneous pneumothorax, Pleural thickening (fibrothorax), Acute and chronic empyema |
| Systemic | Secondary amyloidosis, Chronic respiratory failure (Type I & II), Pulmonary hypertension, Chronic cor-pulmonale |
| Complication | Key Point |
|---|---|
| Haemoptysis | 30–35%; Rasmussen's aneurysm; BAE first-line for massive |
| Aspergilloma | Air crescent sign; serum precipitins 100%; treat only if symptomatic |
| Post-TB bronchiectasis | Upper lobe "dry" bronchiectasis; multifactorial pathogenesis |
| Spontaneous pneumothorax | 5–15%; rupture of subpleural cavity or bulla |
| Scar carcinoma | 11× higher lung cancer risk; independent of smoking |
| Calcification | Healed TB; broncholiths; massive haemoptysis if eroded |
| Open-negative syndrome | Thin-walled epithelialised cavity; radiological ring shadow |
| Cor-pulmonale | PAP >20 mmHg; ECG: P pulmonale, RAD, rSR'; echo monitoring |
| Amyloidosis | TB = most common cause of 2° amyloidosis in India; renal amyloid 8–33% |
| Respiratory failure | V/Q mismatch; type I & II; pump failure from fibrothorax |
| Fibrothorax/Destroyed lung | All three compartments; surgery often needed |
Hematology complications of tb full details for md exam answer from this pdf
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" # From TOC: Chapter 33 "Haematological Manifestations of Tuberculosis" page 442 # Offset from previous session: book page 1 = PDF page 26, so book page 442 = PDF page ~467 # Let's scan pages 462-490 with pdfplumber.open(pdf_path) as pdf: for i in range(460, 490): try: text = pdf.pages[i].extract_text() or "" if 'haematolog' in text.lower() or 'hematolog' in text.lower() or '442' in text or '443' in text: print(f"\n=== PDF PAGE {i+1} ===") print(text[:300]) print("---") except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
python3 << 'EOF' import pdfplumber pdf_path = "/home/daytona/workspace/attachments/52f00355-4cca-44c9-a0a1-849f67499752/Sharma mohan latest_compressed-compressed (1).pdf" with pdfplumber.open(pdf_path) as pdf: for i in range(466, 478): # PDF pages 467-478 try: text = pdf.pages[i].extract_text() or "" print(f"\n{'='*60}") print(f"PDF PAGE {i+1}") print('='*60) print(text) except Exception as e: print(f"P{i+1}: ERROR {e}") EOF
| Category | Findings |
|---|---|
| Anaemia | Anaemia of chronic disease, iron deficiency, haemolytic, sideroblastic, PRCA, aplastic, megaloblastic |
| Leucocyte changes | Leucopenia/leucocytosis, lymphocytopenia, neutropenia/neutrophilia, monocytopenia/monocytosis, leukaemoid reaction, Pelger-Huet anomaly |
| Platelet changes | Thrombocytopenia or thrombocytosis, TTP |
| Pancytopenia | Hypersplenism, haemophagocytosis, marrow aplasia |
| Coagulation | DIC, DVT, Factor V/XIII deficiency, platelet hyperaggregation, protein C/S deficiency |
| Bone marrow | Granulomas, haemophagocytosis, necrosis, myelofibrosis |
| HLH/MAS | Secondary haemophagocytic lymphohistiocytosis |
| Cause | Mechanism |
|---|---|
| Anaemia of chronic disease | TNF-α from monocytes → blunted erythropoietin response + decreased utilisation of marrow iron stores |
| Iron deficiency | Low serum iron, low TIBC; however, serum ferritin is unreliable (elevated as acute phase reactant) |
| Hepcidin role | Hepcidin (acute-phase peptide, central regulator of iron homeostasis) concentrations strongly associated with mycobacterial burden, disseminated TB, and anaemia severity |
| Nutritional deficiency | Folate, B12 deficiency (especially in vegetarians/malnourished) |
| Chronic blood loss | GI TB, haemoptysis |
| Haemolytic anaemia | Autoimmune haemolytic anaemia (AIHA) — both pulmonary & disseminated TB; disappears with treatment |
| Myelophthisic anaemia | Bone marrow infiltration by granulomas |
| Hypoplastic/aplastic anaemia | Rare; associated with severe disseminated TB |
| Pure red cell aplasia (PRCA) | Reported in children with TB |
| Sideroblastic anaemia | Ring sideroblasts in marrow; responds to pyridoxine |
| Megaloblastic | Less frequent; usually not related to B12/folate deficiency |
| Finding | Comment |
|---|---|
| Myeloid hyperplasia | Most common; normal to increased cellularity |
| Plasmacytosis | Reactive; more common in pulmonary TB than miliary TB |
| Megaloblastoid maturation | Up to 60% of disseminated TB; not due to B12/folate deficiency |
| Hypoplasia/Aplasia | Rare |
| Haemophagocytosis | More often in disseminated TB; disappears with treatment |
| Caseating/non-caseating granulomas | Present in 50%–100% of miliary TB; absent in pulmonary TB |
| Bone marrow necrosis | Described in disseminated TB |
| Myelofibrosis | Near granulomas; increased reticulin fibres |
| Criterion | Threshold |
|---|---|
| Fever | Present |
| Splenomegaly | Present |
| Cytopenias (≥2 cell lines) | Hb <9 g/dL, Plt <100×10⁹/L, Neut <1.0×10⁹/L |
| Hypertriglyceridaemia | Fasting TG ≥265 mg/dL |
| Hypofibrinogenaemia | Fibrinogen ≤1.5 g/L |
| Haemophagocytosis in BM/spleen/lymph nodes | Present |
| Low/absent NK cell activity | By local laboratory reference |
| Ferritin | ≥500 μg/L |
| Soluble CD25 (IL-2 receptor) | ≥2400 U/mL |
| Drug | Type of Anaemia |
|---|---|
| Isoniazid (INH) | Sideroblastic (ring sideroblasts; responds to pyridoxine), PRCA (immune-mediated; reverses on withdrawal), drug-induced AIHA |
| Rifampicin | AIHA (flu-like prodrome → intravascular haemolysis; direct Coombs' positive) |
| Streptomycin | AIHA |
| PAS | AIHA, megaloblastic anaemia (B12 malabsorption), hypothrombinemia |
| Pyrazinamide | Sideroblastic anaemia (rare) |
| BCG (disseminated) | Aplastic anaemia |
| Drug | Effect |
|---|---|
| INH, Rifampicin, PAS | Leucopenia, agranulocytosis, aplastic anaemia |
| PAS | Atypical lymphocytosis (simulating infectious mononucleosis) |
| Rifampicin | Eosinophilia |
| Ethambutol | Leucopenia (rare); eosinophilia |
| Anti-TB drugs (general) | Drug-induced leucopenia more common in elderly patients |
| Drug | Mechanism |
|---|---|
| Rifampicin | Immune-mediated — antibodies against glycoprotein Ib/IX complex; both IgG and IgM types; more frequent with twice-weekly 900 mg dose (resolves with dose reduction to 150–300 mg/day) |
| Rifampicin | TTP (rare) |
| INH | Thrombocytopenia |
| Pyrazinamide | Thrombocytopenia |
| Streptomycin, Ethambutol, PAS | Thrombocytopenia |
| Drug | Effect |
|---|---|
| INH + Rifampicin | DIC (rare) |
| INH | Acquired Factor XIII deficiency (IgG inhibitors) → subcutaneous/retroperitoneal bleeding |
| PAS | Hypothrombinemia |
| Rifampicin | ↑ DVT risk (cytochrome P-450 enzyme induction → altered balance of anticoagulant/coagulant proteins → hypercoagulability) |
| Manifestation | Key Fact |
|---|---|
| Anaemia | 16–94%; normocytic normochromic; ACD most common; hepcidin central mediator |
| Leucocytosis | 6–22%; left shift; leukaemoid reaction possible |
| Leucopenia | More in disseminated; 10–30% miliary TB |
| CD4+ lymphopenia | Up to 15%; returns to normal with therapy |
| Pelger-Huet anomaly | Acquired; bilobed spectacle-shaped nucleus |
| Thrombocytosis | IL-6 driven; acute-phase reaction; pulmonary TB |
| Thrombocytopenia | 23–43% miliary TB; immune-mediated; anti-platelet IgG |
| TTP | IL-1 on endothelial cells; also with rifampicin |
| Pancytopenia | 3–12%; hypersplenism/haemophagocytosis/marrow aplasia |
| DIC | 3.2% of culture-proven TB; 63% mortality; early anti-TB Rx improves survival |
| DVT | 3–4%; protein S deficiency; hypercoagulable state |
| Bone marrow granulomas | 50–100% miliary TB; Langhans' giant cells + caseation = diagnostic |
| HLH/MAS | Secondary HLH; ≥5 HLH-2004 criteria; treat underlying TB |
| INH sideroblastic anaemia | Ring sideroblasts; responds to pyridoxine |
| Rifampicin AIHA | Flu-like prodrome; intravascular haemolysis; Coombs' positive |
| Rifampicin thrombocytopenia | Anti-GP Ib/IX IgG/IgM; immune-mediated |
| INH Factor XIII inhibitor | IgG autoantibody; severe subcutaneous/retroperitoneal bleeding |