Immunology

Primary Immunodeficiency

Primary immunodeficiency comprises a group of inherited disorders, typically presenting in infancy or early childhood, in which one or more components of the immune system are absent or dysfunctional, leading to increased susceptibility to recurrent, severe, or unusual infections.

Primary Immunodeficiency (PID) / Inborn Errors of Immunity (IEI) — Paediatrics

2. Epidemiology

3. Anatomy and Functional Immunology Review (Paediatric Focus)

Understanding PID requires understanding the normal immune system. Let's build from first principles.

3.3 Key Cell Types and Their Functions

4. Aetiology (Focus on Hong Kong Relevance) and Pathophysiology

4.4 Detailed Aetiology and Pathophysiology by Category


CATEGORY 1: PREDOMINANTLY ANTIBODY (HUMORAL) DEFICIENCY (36.3% — most common category)

General Principles:

  • Commonly cause sinopulmonary and GI infections [2]
    • Why these sites? → (1) These are sites where most immunoglobulin is deposited (IgA in mucosa, IgG in serum bathing respiratory/GI surfaces), and (2) they are open to the external environment [2]
  • Common complications: bronchiectasis, granulomatous-lymphocytic ILD (GLILD), IBD [2]
  • Timing: present after 4–6 months due to maternal IgG depletion [2]
  • Common pathogens: encapsulated bacteria (S. pneumoniae, H. influenzae), Giardia lamblia, enteroviruses [2]

Why encapsulated bacteria? Encapsulated organisms have polysaccharide capsules that resist phagocytosis. The primary defence against them is opsonisation — coating with antibodies (especially IgG2) and complement (C3b) so phagocytes can recognise and engulf them. Without antibodies, opsonisation fails → encapsulated bacteria proliferate unchecked.


CATEGORY 3: CID WITH ASSOCIATED/SYNDROMIC FEATURES (15.2%)

These PIDs have immunodeficiency PLUS other recognisable syndromic features.


CATEGORY 4: PHAGOCYTE DEFECTS (14.9%)

General Principles:

  • Commonly cause recurrent bacterial infections [2]
  • Common pathogens: skin commensals (Staphylococcus), fungi (Aspergillus, Candida) [2]

6. Clinical Features

Differential Diagnosis of Primary Immunodeficiency in Children

The clinical challenge in paediatrics is not merely "does this child have PID?" but rather "why does this child keep getting infections?" — and that differential is much broader than PID alone. This section systematically works through the differential diagnosis at two levels:

  1. Level 1: What is causing recurrent infections in this child? (PID vs. non-PID causes)
  2. Level 2: If PID is suspected, which category/specific PID is it?

1. Level 1: Differential Diagnosis of Recurrent Infections in Childhood

"Not as rare as previously thought — ever-expanding list! Many patients remain undiagnosed or present later in life. High index of suspicion for early diagnosis and intervention. Vigilance — warning signs of primary immunodeficiencies. Differentials: exclude anatomical and functional disorders. May also present with non-infectious symptoms." [1]

This GC lecture slide neatly frames the approach: think broadly, exclude common mimics, maintain a high index of suspicion.

Recurrent infections are common in childhood — some children can have up to 8–10 URTIs per year! [2]

The majority (50%) of children with recurrent infections are normal and healthy [2]. Features that reassure you: short duration, self-limiting, uncomplicated, healthy between episodes [2]. Risk factors include start of school and siblings [2] — these are simply increased antigen exposure, not immunodeficiency.

So before invoking PID, systematically consider three broad non-PID categories:

2. Level 2: Differential Diagnosis Within PID — Which Arm Is Affected?

Once you suspect PID (infections are Severe, Persistent, Unusual, Recurrent — "SPUR"), the next step is to determine which component of the immune system is defective. The pattern of infections is your strongest clinical clue.

3. Specific PID Entities — Key Differentiating Features

When you've narrowed down the arm of the immune system, the next step is identifying the specific entity. Below is the differential within each category, focusing on the distinguishing features:

7. Approach to History and Physical Examination in Suspected PID [3]

This is really about "what to ask and look for" to narrow the differential:

References

[1] Lecture slides: GC 096. Why do I always get sick.pdf (slide: "General principles — warning signs, differentials") [2] Senior notes: Adrian Lui Pediatrics Notes.pdf (pp. 406–411, Section 10.3.2 Primary Immunodeficiency) [3] Senior notes: MBBS Final MB (Pediatrics) (Felix PY Lai).pdf (pp. 638–640, Clinical manifestation, warning signs, history and PE) [4] Lecture slides: Investigations of Imm Disorders 2025.pdf (pp. 4, 6, 7, 14, 16 — IUIS classification, CVID case, ESID criteria) [5] Senior notes: Jerry's immunodeficiencies.pdf (PID classification table with genes, pathogens, treatments) [6] Senior notes: Maksim Medicine Notes.pdf (p. 303, Bronchiectasis aetiology including PCD, CF, PID) [7] Senior notes: MBBS Final MB (Medicine) (Felix PY Lai).pdf (p. 1787, Immunodeficiency syndromes featuring eczema) [8] Lecture slides: Evaluation of wheezing in infants and children - UpToDate.pdf (immunologic evaluation, sweat chloride, PCD workup) [9] Senior notes: Ryan Ho Haemtology.pdf (p. 47, atypical lymphocytes vs blasts differential)

Diagnostic Criteria, Diagnostic Algorithm, and Investigation Modalities for Primary Immunodeficiency in Children


5. Investigation Modalities — Detailed Guide

5.1 FIRST-LINE (SCREENING) INVESTIGATIONS

These are available in any general paediatric setting and should be ordered when PID is suspected.

5.2 SECOND-LINE (TARGETED) INVESTIGATIONS

Ordered based on the clinical pattern and first-line results, ideally in consultation with a paediatric immunologist.

References

[2] Senior notes: Adrian Lui Pediatrics Notes.pdf (pp. 406–411, Section 10.3.2 Primary Immunodeficiency) [3] Senior notes: MBBS Final MB (Pediatrics) (Felix PY Lai).pdf (pp. 638–640, Clinical manifestation, diagnosis, warning signs) [4] Lecture slides: Investigations of Imm Disorders 2025.pdf (pp. 4, 10, 14, 16 — Approach to PID diagnosis, ESID criteria, CVID case, genetic testing) [5] Senior notes: Jerry's immunodeficiencies.pdf (PID classification table with tests, genes, pathogens, treatments) [6] Senior notes: Maksim Medicine Notes.pdf (p. 303, Bronchiectasis aetiology including PID) [8] Lecture slides: Evaluation of wheezing in infants and children - UpToDate.pdf (immunologic evaluation, sweat chloride, PCD workup) [10] Lecture slides: GC 144. A child with recurrent infections Primary immunodeficiencies.pdf (p. 50, CBC/IgGAME/lymphocyte subset interpretation in IEI) [11] Senior notes: Block A - Introduction to Haematological investigations (CBP, Clotting).pdf (p. 27, SPE interpretation — pan-immunoparesis)

Management and Treatment Modalities for Primary Immunodeficiency in Children


3. Treatment Modalities — Detailed Guide


3.1 IMMUNOGLOBULIN REPLACEMENT THERAPY

This is the mainstay of treatment for antibody deficiency — the single most commonly used PID treatment.

3.2 HAEMATOPOIETIC STEM CELL TRANSPLANTATION (HSCT)

HSCT is the definitive curative therapy for severe PIDs where the defect is intrinsic to haematopoietic cells. It replaces the patient's defective immune system with a normal donor immune system.

3.3 GENE THERAPY

Gene therapy is the frontier of PID treatment — it corrects the genetic defect at the molecular level, avoiding the need for a donor.

3.4 ANTIMICROBIAL PROPHYLAXIS

Prophylaxis is essential in PIDs where the immune defect cannot be fully corrected, or as a bridge until definitive therapy.

3.5 VACCINATION GUIDANCE IN PID

This is a critical and frequently examined area. The key principle: live vaccines are dangerous in severe PID; killed/inactivated vaccines are safe but may be ineffective.

3.6 SUPPORTIVE AND PREVENTIVE CARE

5. Important Drug Details for Paediatric Prescribing

References

[2] Senior notes: Adrian Lui Pediatrics Notes.pdf (pp. 406–411, Section 10.3.2 Primary Immunodeficiency) [3] Senior notes: MBBS Final MB (Pediatrics) (Felix PY Lai).pdf (pp. 638–640, Clinical manifestation, vaccination, warning signs) [4] Lecture slides: Investigations of Imm Disorders 2025.pdf (pp. 4, 9, 16 — Molecular diagnostics, treatable PIDs, ESID criteria) [5] Senior notes: Jerry's immunodeficiencies.pdf (PID classification table with tests, genes, pathogens, treatments) [6] Senior notes: Maksim Medicine Notes.pdf (p. 201, PJP prophylaxis indications and Septrin details) [12] Senior notes: Block A - High white cell count_ acute and chronic leukaemia; bone marrow transplantation; immunogenetics.pdf (pp. 28–29, HSCT indications and procedure) [13] Senior notes: Block A - Fever after a blood transfusion_ transfusion and related problems.pdf (pp. 21–22, TA-GVHD, irradiated blood) [14] Senior notes: Ryan Ho Haemtology.pdf (pp. 96, 153 — Irradiated blood indications, HSCT overview including PID indications)

Complications of Primary Immunodeficiency in Children

Understanding complications of PID requires appreciating that the immune system is not only an anti-infection machine — it is a fundamental regulator of tissue homeostasis, self-tolerance, tumour surveillance, and inflammation. When the immune system is defective, complications extend far beyond infections into autoimmunity, malignancy, end-organ damage, and treatment-related morbidity.

Diseases with a predisposition (mostly genetic) to recurrent infections, malignancy, autoimmune, auto-inflammatory and allergic diseases [4]

Delayed treatment associated with complications such as bronchiectasis [4]

These two lecture slide points frame the entire complication landscape: (1) PID inherently predisposes to complications beyond infection, and (2) delayed diagnosis compounds the damage.


1. Infectious Complications

Infection is the primary and most immediate complication of PID. The type of infectious complication depends on which arm of the immune system is defective (as discussed in previous sections), but here we focus on the consequences of these infections — i.e., what happens when they accumulate, disseminate, or are not adequately treated.

2. Autoimmune Complications

Autoimmunity is paradoxically common in PID — a defective immune system is not just weak, it is also dysregulated. Loss of immune tolerance mechanisms leads to autoimmune attack on self-tissues.

4. Lymphoproliferative Complications

Lymphoproliferation sits on a spectrum from benign reactive expansion to frank malignancy.

Polyclonal lymphoproliferation with splenomegaly, lymphadenopathy or nodular lymphoid hyperplasia of the small bowel occurs in approximately 1/3 of patients with CVID [4]

6. Complications of Treatment

The treatments for PID carry their own complications. In paediatrics, long-term treatment-related morbidity is a major consideration because these children will be on therapy for decades.

References

[2] Senior notes: Adrian Lui Pediatrics Notes.pdf (pp. 406–411, Section 10.3.2 Primary Immunodeficiency) [3] Senior notes: MBBS Final MB (Pediatrics) (Felix PY Lai).pdf (pp. 638–640, Clinical manifestation, warning signs) [4] Lecture slides: Investigations of Imm Disorders 2025.pdf (pp. 4, 9, 15, 21, 28 — CVID complications, Hyper-IgM complications, bronchiectasis, molecular diagnostics) [5] Senior notes: Jerry's immunodeficiencies.pdf (PID classification table with pathogens, complications, treatments) [6] Senior notes: Maksim Medicine Notes.pdf (p. 303, Bronchiectasis aetiology and pathophysiology) [15] Senior notes: Block A - High white cell count_ acute and chronic leukaemia; bone marrow transplantation; immunogenetics.pdf (p. 34, HSCT complications) [16] Senior notes: Ryan Ho Haemtology.pdf (pp. 153, 156 — HSCT overview, complications, PTLD, late effects)

High Yield Summary

  1. PID = genetically determined defects in immunity; now called Inborn Errors of Immunity (IEI) [2][4]
  2. 559 entities, 10 IUIS categories (2024 update) [4]
  3. Most common PID overall = Selective IgA deficiency; most common severe PID = CVID [2][4]
  4. Antibody deficiency is the most common category (36.3%) — presents after 4–6 months with sinopulmonary/GI infections by encapsulated bacteria [2]
  5. XLA: Btk mutation → no B cells → pan-hypogammaglobulinaemia → absent tonsils → IVIG treatment [2][3]
  6. CVID: most common severe PID; heterogeneous; late-onset hypogammaglobulinaemia; infections + autoimmunity + lymphoproliferation + malignancy [4][5]
  7. SCID: T⁻ ± B⁻ ± NK⁻; fatal without HSCT; present with FTT + severe infections + absent thymus; lymphopenia in infants = < 2,500/μL [2][3]
  8. DiGeorge: 22q11.2 deletion → CATCH-22 (Cardiac, Abnormal facies, Thymic aplasia, Cleft palate, Hypocalcaemia) [2][3]
  9. CGD: NADPH oxidase defect → can't kill catalase-positive organisms → granulomas; BCG dissemination important in HK [2][3][5]
  10. LAD: CD18 deficiency → neutrophils can't leave vessels → absent pus, delayed cord separation, neutrophilia [2][3]
  11. Complement: early (C1,2,4) → SLE; C3 → encapsulated bacteria; C5-9 → Neisseria; C1-INH → hereditary angioedema [3][5]
  12. Warning signs: SPUR infections, FTT, FHx of unexplained early death, persistent lymphopenia, complications from live vaccines [3]
  13. Many are treatable: IVIG for antibody deficiency, HSCT for SCID, gene therapy for ADA-SCID; delayed treatment → bronchiectasis [4]

High Yield Summary — Differential Diagnosis

  1. 50% of children with recurrent infections are normal and healthy [2] — always start by asking: are the infections truly SPUR (Severe, Persistent, Unusual, Recurrent)?
  2. Exclude structural/anatomical causes (site-specific infections: same lobe pneumonia → bronchial obstruction; recurrent meningitis → midline defect) and secondary immunodeficiency (HIV, drugs, nephrotic syndrome, malnutrition, malignancy) before diagnosing PID [2]
  3. Pattern of infections narrows the PID category: sinopulmonary with encapsulated bacteria → antibody; viral/fungal/opportunistic → T cell/combined; skin abscesses with catalase-positive organisms → phagocyte; Neisseria → complement [2][3]
  4. CVID is the most common severe PID but must exclude secondary causes of hypogammaglobulinaemia [4]
  5. XLA: absent B cells + absent tonsils + pan-hypogammaglobulinaemia; CVID: B cells present but dysfunctional + late onset + autoimmunity/lymphoproliferation [2][4]
  6. PID can present with non-infectious manifestations: autoimmunity, malignancy, lymphoproliferation, eczema, granulomatous disease, early-onset IBD [1][2][3]
  7. In Hong Kong, BCG dissemination may be the first presentation of SCID, CGD, or MSMD [5]
  8. Immunisation history is critical: complications from live vaccines (BCG, rotavirus, oral polio) are red flags for PID [3]

High Yield Summary — Diagnosis of PID

  1. Diagnostic approach: Clinical history → Physical examination → Phenotypic investigations → Genetic testing [4]. No single screening test catches all PIDs.
  2. First-line: CBC with differential + Serum Ig (IgG/A/M/E) + CXR + HIV test.
  3. CBC interpretation in IEI (GC 144): ALC low → SCID; ANC low → SCN; ANC high → LAD; PLT low → WAS; AEC high → primary atopic/HIES. [10]
  4. IgGAME interpretation: low IgGAM → XLA; high IgE → HIES; high IgM → HIGM; high IgGAM → CGD; low IgM → WAS/DOCK8/AT. [10]
  5. ESID criteria for CVID: clinical features + ↓IgG + ↓IgA (×2) + impaired vaccine response or ↓switched memory B cells + exclude secondary causes + Dx after age 4 + no profound T cell deficiency. [4]
  6. DHR flow cytometry is the gold standard for CGD diagnosis (low/absent fluorescence). [5]
  7. Newborn screening: TREC for SCID, KREC for XLA [5] — enables pre-symptomatic detection and early HSCT.
  8. Genetic testing is important for all cases: diagnosis, family studies, prognostication, prenatal diagnosis, defining new diseases. [4]
  9. Absent thymus on CXR → SCID or complete DiGeorge; pneumatoceles → HIES; bronchiectasis → CVID/XLA (delayed treatment). [2][5]
  10. Always use age-appropriate reference ranges — lymphopenia < 2,500/μL in infants is a red flag for SCID. [3]

High Yield Summary — Management of PID

  1. Four pillars: definitive therapy (HSCT/gene therapy), replacement (IVIG/SCIG), prophylaxis (antimicrobials), supportive care (infection avoidance, irradiated blood, vaccines, family support)
  2. IVIG/SCIG is the mainstay for antibody deficiency (XLA, CVID, HIGM) [4][5] — target trough IgG > 5–8 g/L
  3. HSCT is curative for SCID, WAS, CGD, LAD, SCN, IL-10R deficiency [5][12] — for SCID, transplant ASAP (before 3.5 months and before active infections)
  4. Gene therapy is approved for ADA-SCID and emerging for X-SCID, WAS, CGD
  5. CGD prophylaxis: Septrin + Itraconazole [5]; HIES: Septrin + IVIG + secukinumab [5]
  6. Live vaccines are CONTRAINDICATED in T cell / combined deficiency and CGD (BCG) [5]
  7. Irradiated blood products are mandatory for all patients with congenital cell-mediated immunodeficiencies [13][14] — prevents fatal TA-GVHD
  8. HAE: adrenaline/antihistamines/steroids are INEFFECTIVE — use C1-INH concentrate, icatibant, or ecallantide for acute attacks
  9. Delayed treatment → bronchiectasis [4] — early diagnosis and IVIG initiation prevents irreversible lung damage
  10. Family-centred care: genetic counselling, household vaccination, psychosocial support, school liaison, transition planning

High Yield Summary — Complications of PID

  1. Bronchiectasis is the cardinal preventable complication — results from recurrent sinopulmonary infections in antibody deficiency (CVID, XLA); delayed treatment → bronchiectasis [4]; once established, it is irreversible. Early IVIG prevents it.
  2. CVID has the broadest complication profile: infections + autoimmune cytopenias (up to 25%) + granulomatous disease (8–22%) + lymphoid and GI malignancies + GLILD + nodular lymphoid hyperplasia [4]
  3. Hyper-IgM has increased risk of infections (especially Cryptosporidium), autoimmune (especially neutropenia), and lymphoproliferative/malignant complications (especially lymphoma/GI involvement) [4]
  4. Disseminated BCG is a presenting complication in SCID, CGD, and MSMD — critical in the Hong Kong context where BCG is given at birth [5]
  5. HSCT complications include: infection, haemorrhage, VOD, GVHD (acute and chronic), graft rejection, late effects (cataract, endocrine dysfunction, infertility, secondary malignancy, immunodeficiency) [15]
  6. Malignancy risk is elevated in CVID, AT, WAS, XLP, and Hyper-IgM — lymphoma is the predominant type; regular surveillance is essential
  7. Autoimmunity in PID is paradoxical but common — SLE in complement deficiency, cytopenias in CVID/ALPS/WAS, enteropathy in IPEX/IL-10R deficiency
  8. Growth failure, hearing loss, neurocognitive impairment, and psychosocial difficulties are major paediatric-specific complications requiring multidisciplinary management

On this page

No Headings