20.5 HIV Infection & Opportunistic Diseases
Key Takeaways
- Fourth-generation laboratory screening assays simultaneously detect HIV-1/2 antibodies and p24 antigen with a window period of 4 weeks; seroconversion illness manifests 2-6 weeks post-exposure as a glandular fever-like syndrome with intense viraemia.
- Combined antiretroviral therapy (ART) is indicated universally upon diagnosis regardless of CD4 count; standard first-line therapy utilizes a triple-agent backbone of two NRTIs (e.g., tenofovir + emtricitabine) combined with an integrase strand transfer inhibitor (INSTI: dolutegravir or bictegravir).
- Mandatory HLA-B*5701 genetic screening must precede abacavir initiation to prevent life-threatening multisystem hypersensitivity; tenofovir disoproxil fumarate (TDF) carries proximal renal tubulopathy and Fanconi syndrome risks, which are minimized by tenofovir alafenamide (TAF).
- Pneumocystis jirovecii pneumonia (CD4 < 200/mcL) presents with exertional desaturation and elevated LDH; high-dose co-trimoxazole mandates adjunctive corticosteroids if room air PaO2 < 9.3 kPa (70 mmHg) or A-a gradient > 35 mmHg.
- At CD4 < 100/mcL, cerebral toxoplasmosis (multiple ring-enhancing basal ganglia lesions) must be differentiated from primary CNS lymphoma (solitary, periventricular, EBV-driven), and cryptococcal meningitis requires induction with liposomal amphotericin B and flucytosine with aggressive therapeutic lumbar punctures to lower raised intracranial pressure.
Human Immunodeficiency Virus (HIV) medicine is a heavily examined component of the MRCP(UK) curriculum. Candidates must demonstrate deep understanding of contemporary diagnostic algorithms, viral kinetics, lifelong antiretroviral therapy (ART) regimens, pharmacogenomic safety markers, class-specific toxicities, and the clinical recognition and emergency management of opportunistic infections stratified by CD4 T-cell thresholds.
1. Virology, Diagnostic Testing & Clinical Course
HIV is an enveloped single-stranded RNA lentivirus belonging to the Retroviridae family. Viral surface glycoprotein gp120 binds to the host CD4 receptor on T-helper lymphocytes, monocytes, and macrophages. Consequential conformational changes allow gp120 to interact with chemokine co-receptors (CCR5 in macrophage-tropic strains; CXCR4 in T-cell-tropic strains). Viral glycoprotein gp41 then mediates fusion of the viral envelope with the host cell membrane.
Modern Laboratory Diagnostics & The Diagnostic Window
- 4th Generation Laboratory Assay (The Gold Standard): Combined enzyme immunoassay (EIA) detecting both HIV-1 and HIV-2 antibodies (IgM and IgG) AND circulating free HIV-1 p24 antigen. The addition of p24 viral capsid protein shortens the diagnostic window period to approximately 4 weeks (28 days) post-exposure (compared to 6–12 weeks for antibody-only tests).
- Confirmatory Algorithm: A reactive 4th generation screen mandates automated confirmatory testing using a secondary HIV-1/HIV-2 antibody differentiation immunoassay, followed by quantitative plasma HIV-1 RNA PCR.
- Point-of-Care (POCT) Rapid Tests: Third-generation fingerprick capillary blood or oral fluid tests detect antibodies only; they have a prolonged window period of up to 12 weeks. Negative rapid tests following recent high-risk exposure require formal laboratory 4th generation testing at 4 weeks.
Primary HIV Seroconversion Illness
Occurs in $70\text{–}80%$ of newly infected individuals, typically 2 to 6 weeks following viral inoculation. It coincides with massive exponential viral replication, transient immune depletion, and high infectivity.
- Clinical Syndrome: Resembles infectious mononucleosis (glandular fever-like): high fever, pharyngitis, non-tender generalized lymphadenopathy, myalgias, arthralgias, and a faint, non-pruritic erythematous maculopapular rash over the trunk and face. Mucocutaneous ulcerations (oral aphthous-like or genital ulcers) and aseptic meningoencephalitis are highly characteristic clues.
- Diagnostic Caveat: In the earliest days of seroconversion, anti-HIV antibodies may still be undetectable (negative 3rd generation test), but p24 antigen and plasma HIV RNA PCR are astronomically elevated ($> 1,000,000\text{ copies/mL}$).
2. Antiretroviral Therapy (ART) Principles & Classes
Modern Treatment Mandates: Universal Immediate Initiation
- Universal ART Initiation: British HIV Association (BHIVA) and WHO guidelines mandate initiation of ART in all individuals diagnosed with HIV, regardless of baseline CD4+ cell count or clinical stage.
- Therapeutic Goals: Suppress viral replication to an undetectable plasma viral load ($< 50\text{ copies/mL}$), restore functional CD4+ T-cell counts, halt disease progression, and eliminate horizontal transmission (Undetectable = Untransmittable [U=U]).
- Standard First-Line Regimen (Triple Therapy Backbone):
- Dual Nucleoside/Nucleotide Reverse Transcriptase Inhibitors (NRTIs): e.g., Tenofovir (TDF or TAF) + Emtricitabine (FTC), OR Abacavir (ABC) + Lamivudine (3TC).
- PLUS a High-Barrier Third Agent: Preferably an Integrase Strand Transfer Inhibitor (INSTI): Dolutegravir or Bictegravir.
Pharmacogenomic Safety & Antiretroviral Drug Classes
[HIV Entry / Fusion]
│ (CCR5 Antagonists: Maraviroc; Fusion Inhibitor: Enfuvirtide)
▼
[Reverse Transcription: Viral RNA → cDNA]
│ (NRTIs: Tenofovir, Abacavir, Emtricitabine, Lamivudine)
│ (NNRTIs: Efavirenz, Rilpivirine, Nevirapine)
▼
[Proviral Integration into Host DNA]
│ (INSTIs: Dolutegravir, Bictegravir, Raltegravir)
▼
[Viral Protein Cleavage & Virion Assembly]
│ (Protease Inhibitors: Darunavir, Atazanavir [+ Ritonavir / Cobicistat])
▼
[Mature Infectious Virion]
- Nucleoside / Nucleotide Reverse Transcriptase Inhibitors (NRTIs):
- Mechanism: Competitive inhibitors of HIV reverse transcriptase; lack a 3'-hydroxyl group, acting as obligate DNA chain terminators.
- Class Toxicity: Inhibit host mitochondrial DNA polymerase-gamma, predisposing to lactic acidosis, hepatic steatosis, and peripheral lipoatrophy (most pronounced with historical agents: stavudine, didanosine, zidovudine).
- Abacavir (ABC) & HLA-B*5701: Prescribing abacavir to patients carrying the major histocompatibility complex allele HLA-B*5701 triggers an acute, life-threatening multisystem hypersensitivity reaction (fever, rash, nausea, vomiting, dyspnoea). Mandatory genetic screening for HLA-B*5701 is legally required prior to prescribing abacavir; if positive, abacavir is permanently contraindicated.
- Tenofovir Disoproxil Fumarate (TDF) vs. Tenofovir Alafenamide (TAF): TDF delivers high systemic plasma tenofovir levels, which accumulate within renal proximal tubular cells, causing proximal renal tubular dysfunction (acquired Fanconi syndrome: hypophosphataemia, normoglycaemic glycosuria, proteinuria) and bone mineral density loss. TAF is a novel prodrug with targeted intracellular uptake into lymphocytes, yielding $> 90%$ lower plasma concentrations and negligible renal/bone toxicity.
- Non-Nucleoside Reverse Transcriptase Inhibitors (NNRTIs):
- Mechanism: Non-competitive allosteric inhibitors binding an adjacent hydrophobic pocket of reverse transcriptase (e.g., Efavirenz, Rilpivirine, Nevirapine).
- Toxicities: Efavirenz causes severe central nervous system neuropsychiatric adverse effects in $> 50%$ (vivid nightmares, insomnia, depression, dizziness, daytime somnolence, depersonalization) and skin rash. Nevirapine causes severe fulminant hepatotoxicity and Stevens-Johnson syndrome.
- Integrase Strand Transfer Inhibitors (INSTIs):
- Mechanism: Bind catalytic divalent magnesium ions within the integrase active site, preventing strand transfer and incorporation of proviral cDNA into the host genome (e.g., Dolutegravir, Bictegravir, Raltegravir).
- Profile: Exceptional viral suppression efficacy, high genetic barrier to resistance, minimal drug-drug interactions. Adverse effects include modest weight gain and rare insomnia.
- Protease Inhibitors (PIs):
- Mechanism: Inhibit HIV aspartyl protease, preventing the cleavage of Gag-Pol polyprotein precursors and rendering budding virions immature and non-infectious (e.g., Darunavir, Atazanavir).
- Pharmacokinetic Boosting: Co-administered with low-dose ritonavir or cobicistat to inhibit cytochrome P450 CYP3A4, dramatically increasing PI plasma half-life.
- Toxicities: Metabolic complications including dyslipidaemia, central visceral adiposity ('buffalo hump'), insulin resistance, and accelerated cardiovascular disease.
3. Opportunistic Infections Stratified by CD4 Thresholds
In untreated HIV infection, progressive depletion of CD4+ helper T-lymphocytes exposes the patient to opportunistic pathogens along predictable immunological thresholds.
| CD4 Count Threshold | Cardinal Opportunistic Pathogens | Hallmark Clinical Presentation | Definitive Diagnosis | Acute Pharmacological Management |
|---|---|---|---|---|
| CD4 $< 200\text{ cells/}\mu\text{L}$ | Pneumocystis jirovecii Pneumonia (PCP) | Subacute exertional dyspnoea, dry non-productive cough, fever; striking exercise-induced oxygen desaturation; marked elevation of serum lactate dehydrogenase (LDH) | Bilateral perihilar ground-glass opacities on HRCT; silver stain or immunofluorescence on induced sputum or bronchoalveolar lavage (BAL) | High-dose co-trimoxazole ($120\text{ mg/kg/day}$ in divided doses) for 21 days.<br>Add IV/oral corticosteroids if $\text{PaO}_2 < 9.3\text{ kPa}$ ($< 70\text{ mmHg}$) on room air. |
| CD4 $< 200\text{ cells/}\mu\text{L}$ | Candida albicans (Oesophageal) | Severe odynophagia (retrosternal pain on swallowing), dysphagia, oral pseudomembranous candidiasis (thrush) | Endoscopic visualization of creamy-white mucosal plaques; fungal scraping | Oral fluconazole ($200\text{–}400\text{ mg}$ daily for 14–21 days). |
| CD4 $< 100\text{ cells/}\mu\text{L}$ | Toxoplasma gondii Encephalitis | Headache, confusion, fever, focal neurological deficits (hemiparesis, aphasia), seizures | Brain MRI showing multiple ring-enhancing lesions with surrounding vasogenic oedema, predilection for basal ganglia; positive serum Toxoplasma IgG | Pyrimethamine + Sulfadiazine + Folinic acid (Leucovorin) for 6 weeks. |
| CD4 $< 100\text{ cells/}\mu\text{L}$ | Cryptococcus neoformans Meningitis | Subacute insidious headache, fever, malaise, cranial neuropathies; minimal neck stiffness; severely raised intracranial pressure | Lumbar puncture: positive India ink preparation (encapsulated budding yeasts); Cryptococcal Antigen (CrAg) lateral flow assay $> 98%$ sensitive | Induction Therapy: IV Liposomal Amphotericin B ($3\text{–}4\text{ mg/kg/day}$) PLUS oral Flucytosine ($100\text{ mg/kg/day}$ in 4 divided doses) for $\ge 2\text{ weeks}$. Follow with fluconazole consolidation. |
| CD4 $< 100\text{ cells/}\mu\text{L}$ | Primary CNS Lymphoma (PCNSL) | Progressive cognitive decline, focal deficits, seizures; non-Hodgkin large B-cell lymphoma driven by Epstein-Barr Virus (EBV) | Brain MRI showing solitary (or few) thick, periventricular/subependymal ring-enhancing lesions; positive EBV PCR in CSF | High-dose IV methotrexate-based chemotherapy, whole-brain radiotherapy, immediate ART. |
| CD4 $< 50\text{ cells/}\mu\text{L}$ | Cytomegalovirus (CMV) Retinitis | Painless blurred vision, floaters, scotomata; risk of retinal detachment and permanent blindness | Fundoscopy: "pizza-pie" or "ketchup and scrambled eggs" fundus (confluent white retinal exudates with perivascular haemorrhages) | Intravenous ganciclovir or oral valganciclovir ($900\text{ mg}$ BD induction for 21 days, then OD maintenance). |
| CD4 $< 50\text{ cells/}\mu\text{L}$ | Mycobacterium avium Complex (MAC) | Disseminated systemic illness: swinging fevers, drenching night sweats, severe wasting, profound anaemia, elevated alkaline phosphatase | Automated liquid blood cultures (MGIT) for mycobacteria; mesenteric lymphadenopathy on CT | Oral clarithromycin ($500\text{ mg}$ BD) plus ethambutol ($15\text{ mg/kg}$ OD). |
| CD4 $< 50\text{ cells/}\mu\text{L}$ | Progressive Multifocal Leukoencephalopathy (PML) | Insidious subacute cognitive impairment, hemiparesis, visual field loss (homonymous hemianopia), limb ataxia; caused by JC polyomavirus | Brain MRI: asymmetric, confluent non-enhancing subcortical white matter demyelination without mass effect; positive CSF JC virus PCR | No direct antiviral; immediate immune reconstitution via antiretroviral therapy (ART). |
4. In-Depth Management of Major Opportunistic Conditions
Pneumocystis jirovecii Pneumonia (PCP)
- Pathogen: Atypical, unicellular fungus with cholesterol rather than ergosterol in its plasma membrane (explaining intrinsic resistance to amphotericin B and azoles).
- Clinical Presentation: Classically subacute (over 2–4 weeks): progressive exertional breathlessness, persistent non-productive cough, and fever. Auscultation is frequently unremarkable despite profound dyspnoea. Auscultation while walking demonstrates catastrophic, rapid exercise-induced arterial oxygen desaturation.
- Biochemical & Radiographic Findings: Marked elevation of serum lactate dehydrogenase (LDH $> 500\text{ IU/L}$) reflects diffuse alveolar injury. Chest radiograph demonstrates symmetrical bilateral perihilar bat-wing interstitial and alveolar infiltrates. HRCT reveals patchy or diffuse ground-glass attenuation with subpleural sparing.
- Therapy & Systemic Corticosteroid Criteria:
- First-line: High-dose oral or intravenous co-trimoxazole (trimethoprim $15\text{–}20\text{ mg/kg/day}$ plus sulfamethoxazole $75\text{–}100\text{ mg/kg/day}$ in 3–4 divided doses) for 21 days.
- Adjunctive Corticosteroid Therapy: Dying fungal organisms release intense inflammatory antigens that trigger acute alveolar capillary injury, precipitating respiratory arrest 48–72 hours after commencing antibiotics. Systemic corticosteroids (oral prednisolone or IV methylprednisolone) are strictly indicated if:
- Room air arterial $\text{PaO}_2 < 9.3\text{ kPa}$ ($< 70\text{ mmHg}$), OR
- Alveolar-arterial oxygen gradient ($A\text{-}a\ \text{gradient}$) $\ge 35\text{ mmHg}$.
- Steroids must be administered prior to or concurrently with the first dose of co-trimoxazole (prednisolone $40\text{ mg}$ BD for 5 days, $40\text{ mg}$ OD for 5 days, then $20\text{ mg}$ OD for 11 days).
Cerebral Toxoplasmosis vs. Primary CNS Lymphoma
A classic MRCP diagnostic dilemma in patients with CD4 $< 100\text{ cells/}\mu\text{L}$:
- Toxoplasma Encephalitis: Reactivation of encysted Toxoplasma gondii. MRI demonstrates multiple ring-enhancing lesions, classically located in the basal ganglia, thalamus, and corticomedullary junction, accompanied by prominent vasogenic oedema. Serum Toxoplasma IgG is positive in $> 95%$ (negative IgG strongly points away from toxoplasmosis). First-line treatment: pyrimethamine, sulfadiazine, and folinic acid (leucovorin, added to prevent pyrimethamine-induced bone marrow suppression). Clinical and radiological improvement should be documented within 10 to 14 days.
- Primary CNS Lymphoma (PCNSL): High-grade B-cell non-Hodgkin lymphoma driven by latent Epstein-Barr Virus (EBV) infection. MRI shows solitary (or fewer, larger) lesions, typically in a periventricular or subependymal distribution, demonstrating intense nodular or ring-like enhancement with mass effect. Lumbar puncture demonstrates positive EBV DNA by PCR in the CSF ($> 90%$ sensitivity and specificity), confirming the diagnosis and precluding brain biopsy.
Cryptococcal Meningitis (Cryptococcus neoformans)
- Clinical Presentation: Encapsulated yeast acquired by inhalation of pigeon droppings. Disseminates to the central nervous system in profoundly immunosuppressed hosts (CD4 $< 100$). Presents indolently with persistent headache, malaise, low-grade fever, and vomiting, frequently with absent signs of meningism.
- Severely Elevated Intracranial Pressure: Fungal capsular polysaccharide (glucuronoxylomannan) clogs arachnoid villi, producing severe non-communicating/communicating hydrocephalus with opening pressures $> 30\text{–}40\text{ cmH}_2\text{O}$. Uncontrolled intracranial pressure is the principal cause of death and blindness.
- Induction Therapy & ICP Management:
- Induction: IV Liposomal Amphotericin B ($3\text{–}4\text{ mg/kg/day}$) plus oral Flucytosine ($100\text{ mg/kg/day}$) for 14 days (or high-dose single-dose liposomal amphotericin B $10\text{ mg/kg}$ stat with flucytosine/fluconazole as per the AMBITION-cm trial).
- Daily Therapeutic Lumbar Punctures: Mandatory if opening pressure is $> 25\text{ cmH}_2\text{O}$; remove large volumes of CSF until pressure falls below $20\text{ cmH}_2\text{O}$ or by $50%$.
- Timing of ART: ART initiation must be delayed for 2 to 4 weeks after starting antifungal therapy. Immediate ART triggers massive intracranial Immune Reconstitution Inflammatory Syndrome (IRIS), with fatal cerebral herniation.
Prophylaxis Guidelines
- Primary Prophylaxis against PCP: Recommended for all patients with a CD4 count $< 200\text{ cells/}\mu\text{L}$ (or CD4 percentage $< 14%$). First-line agent: oral co-trimoxazole ($960\text{ mg}$ three times weekly or $480\text{ mg}$ once daily). Also confers cross-prophylaxis against Toxoplasma gondii. Discontinued once CD4 count remains $> 200\text{ cells/}\mu\text{L}$ for $\ge 3$ consecutive months on suppressive ART.
A 36-year-old man presents to the acute medical unit with a 3-week history of progressive breathlessness on exertion, dry non-productive cough, and night sweats. He has had no previous medical history. On examination, his temperature is 38.2°C, blood pressure is 118/72 mmHg, heart rate is 102 beats/min, and respiratory rate is 24 breaths/min. His resting oxygen saturation on room air is 92%, which falls abruptly to 81% when he walks around his bed. Auscultation of his chest reveals faint bilateral bibasal crackles. A point-of-care HIV test is positive. An arterial blood gas obtained while breathing ambient room air reveals: pH 7.45, PaO2 8.1 kPa (61 mmHg), PaCO2 4.2 kPa (31 mmHg), HCO3- 22 mmol/L. Serum lactate dehydrogenase (LDH) is markedly elevated at 680 IU/L. Chest radiography demonstrates diffuse bilateral perihilar ground-glass interstitial infiltrates. What is the most appropriate immediate medical management?
A 31-year-old man who is known to be living with HIV and has defaulted from clinic follow-up for 18 months presents to the emergency department with a 10-day history of worsening headache, low-grade fever, and focal weakness. His CD4 count 18 months ago was 54 cells/mcL. On physical examination, he is drowsy and has a mild right-sided spastic hemiparesis with pronator drift. Contrast-enhanced MRI of the brain demonstrates multiple discrete rounded ring-enhancing mass lesions within the left basal ganglia, right thalamus, and subcortical white matter, with marked surrounding vasogenic oedema. Serum Toxoplasma IgG antibodies are strongly positive. What is the most appropriate initial management step?
A 42-year-old man is newly diagnosed with HIV infection during routine sexual health screening. His baseline CD4 T-cell count is 320 cells/mcL and his plasma HIV-1 RNA viral load is 85,000 copies/mL. His renal function, liver function tests, and baseline viral resistance genotypes are normal. The multidisciplinary clinical team plans to initiate combination antiretroviral therapy with a regimen containing abacavir, lamivudine, and dolutegravir. Before issuing this prescription, what pharmacogenomic screening test is mandatory according to UK national guidelines?