[
  {
    "phenotype_id": "PH2927",
    "phenotype_version_id": 7475,
    "name": "Primary immunodeficiency disorder codes",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nTaken from the `PRIMIMMDEF_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T22:52:25.482190Z",
    "author": "NHSD Primary Care Domain Refsets",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T22:52:29.660227Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/primimmdef_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/primimmdef_cod/20250912",
    "concept_information": [
      {
        "concept_id": 7652,
        "concept_version_id": 15137,
        "concept_name": "nhsd-primary-care-domain-refsets/primimmdef_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2927",
        "phenotype_version_id": 7475,
        "phenotype_name": "Primary immunodeficiency disorder codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1003381002",
            "description": "Onycho-tricho-dysplasia neutropenia syndrome",
            "attributes": null
          },
          {
            "code": "1050951000000106",
            "description": "Immunoglobulin G4 deficiency",
            "attributes": null
          },
          {
            "code": "111396008",
            "description": "Chédiak-Higashi syndrome",
            "attributes": null
          },
          {
            "code": "111584000",
            "description": "Reticular dysgenesis",
            "attributes": null
          },
          {
            "code": "111587007",
            "description": "Severe combined immunodeficiency due to absent interleukin-2 receptor",
            "attributes": null
          },
          {
            "code": "116133005",
            "description": "Congenital agammaglobulinemia",
            "attributes": null
          },
          {
            "code": "1162263002",
            "description": "Complement component 8 deficiency",
            "attributes": null
          },
          {
            "code": "1172892009",
            "description": "Autosomal recessive mendelian susceptibility to mycobacterial disease due to complete RAR related orphan receptor C receptor mutation",
            "attributes": null
          },
          {
            "code": "1172895006",
            "description": "Mendelian susceptibility to mycobacterial disease",
            "attributes": null
          },
          {
            "code": "1173999006",
            "description": "Interleukin 21 related infantile inflammatory bowel disease",
            "attributes": null
          },
          {
            "code": "1177173001",
            "description": "Congenital progressive bone marrow failure, B-cell immunodeficiency, skeletal dysplasia syndrome",
            "attributes": null
          },
          {
            "code": "1177175008",
            "description": "Skeletal dysplasia, T-cell immunodeficiency, developmental delay syndrome",
            "attributes": null
          },
          {
            "code": "1179284005",
            "description": "Severe combined immunodeficiency due to linker for activation of T cells deficiency",
            "attributes": null
          },
          {
            "code": "1179285006",
            "description": "Combined immunodeficiency due to moesin deficiency",
            "attributes": null
          },
          {
            "code": "1179286007",
            "description": "Combined immunodeficiency due to GINS complex subunit 1 deficiency",
            "attributes": null
          },
          {
            "code": "1179288008",
            "description": "Combined immunodeficiency due to transferrin receptor deficiency",
            "attributes": null
          },
          {
            "code": "1179300002",
            "description": "B-cell expansion with nuclear factor kappa light chain enhancer of activated B cells and T-cell anergy disease",
            "attributes": null
          },
          {
            "code": "1186654001",
            "description": "Immune dysregulation, inflammatory bowel disease, arthritis, recurrent infection, lymphopenia syndrome",
            "attributes": null
          },
          {
            "code": "1186712009",
            "description": "Combined immunodeficiency due to capping protein regulator and myosin 1 linker 2 deficiency",
            "attributes": null
          },
          {
            "code": "1186714005",
            "description": "Combined immunodeficiency due to interleukin-2 inducible T cell kinase deficiency",
            "attributes": null
          },
          {
            "code": "1186715006",
            "description": "Combined immunodeficiency due to CD70 deficiency",
            "attributes": null
          },
          {
            "code": "1186719000",
            "description": "Predisposition to invasive fungal disease due to caspase recruitment domain family member 9 deficiency",
            "attributes": null
          },
          {
            "code": "1186720006",
            "description": "CCAAT enhancer binding protein epsilon-associated autoinflammation, immunodeficiency, neutrophil dysfunction syndrome",
            "attributes": null
          },
          {
            "code": "1186725001",
            "description": "Warts, immunodeficiency, lymphedema, anogenital dysplasia syndrome",
            "attributes": null
          },
          {
            "code": "1187623009",
            "description": "Phosphoglucomutase 3-related congenital disorder of glycosylation",
            "attributes": null
          },
          {
            "code": "1197205005",
            "description": "Combined immunodeficiency due to dedicator of cytokinesis 8 deficiency",
            "attributes": null
          },
          {
            "code": "1197361002",
            "description": "Autoimmune lymphoproliferative syndrome due to cytotoxic T-lymphocyte associated protein 4 haploinsufficiency",
            "attributes": null
          },
          {
            "code": "1197366007",
            "description": "Autosomal recessive primary immunodeficiency with defective spontaneous natural killer cell cytotoxicity",
            "attributes": null
          },
          {
            "code": "1197415001",
            "description": "Susceptibility to infection due to tyrosine kinase 2 deficiency",
            "attributes": null
          },
          {
            "code": "1197428008",
            "description": "Combined immunodeficiency, enteropathy spectrum",
            "attributes": null
          },
          {
            "code": "1197477000",
            "description": "Combined immunodeficiency due to lipopolysaccharide-responsive beige-like anchor protein deficiency",
            "attributes": null
          },
          {
            "code": "1197478005",
            "description": "Primary immunodeficiency with multifaceted aberrant lymphoid immunity",
            "attributes": null
          },
          {
            "code": "1197479002",
            "description": "Dedicator of cytokinesis 2 deficiency",
            "attributes": null
          },
          {
            "code": "1197594000",
            "description": "Periodic fever, infantile enterocolitis, autoinflammatory syndrome",
            "attributes": null
          },
          {
            "code": "1209075008",
            "description": "Periodontitis due to congenital neutropenia",
            "attributes": null
          },
          {
            "code": "1222681008",
            "description": "Autoimmune hemolytic anemia, autoimmune thrombocytopenia, primary immunodeficiency syndrome",
            "attributes": null
          },
          {
            "code": "1229940001",
            "description": "Autosomal recessive T-cell negative, B-cell positive severe combined immunodeficiency due to interleukin 7 receptor deficiency",
            "attributes": null
          },
          {
            "code": "1229941002",
            "description": "Autosomal recessive T-cell negative, B-cell positive severe combined immunodeficiency due to protein tyrosine phosphatase receptor type C deficiency",
            "attributes": null
          },
          {
            "code": "1229942009",
            "description": "Severe combined immunodeficiency due to coronin 1A deficiency",
            "attributes": null
          },
          {
            "code": "1230295000",
            "description": "B-cell immunodeficiency, limb anomaly, urogenital malformation syndrome",
            "attributes": null
          },
          {
            "code": "1234831009",
            "description": "Myelodysplasia, infection, restriction of growth, adrenal hypoplasia, genital anomalies, enteropathy syndrome",
            "attributes": null
          },
          {
            "code": "124950009",
            "description": "Deficiency of immunoglobulin",
            "attributes": null
          },
          {
            "code": "1251449006",
            "description": "Ubiquitin specific peptidase 18 deficiency",
            "attributes": null
          },
          {
            "code": "12631000119106",
            "description": "Immunoglobulin G deficiency",
            "attributes": null
          },
          {
            "code": "1269234000",
            "description": "Predisposition to severe viral infection due to interferon regulatory factor 7 deficiency",
            "attributes": null
          },
          {
            "code": "1269277004",
            "description": "Leukocyte adhesion deficiency type 3",
            "attributes": null
          },
          {
            "code": "1279842008",
            "description": "Autosomal recessive mendelian susceptibility to mycobacterial disease due to partial janus kinase 1 deficiency",
            "attributes": null
          },
          {
            "code": "1279887007",
            "description": "Complement hyperactivation, angiopathic thrombosis, protein losing enteropathy syndrome",
            "attributes": null
          },
          {
            "code": "129643009",
            "description": "Chronic hypoplastic neutropenia",
            "attributes": null
          },
          {
            "code": "1297036006",
            "description": "Autosomal recessive agammaglobulinemia",
            "attributes": null
          },
          {
            "code": "16894671000119102",
            "description": "Immunoglobulin G deficiency due to monoclonal gammopathy of undetermined significance",
            "attributes": null
          },
          {
            "code": "17182001",
            "description": "Agranulocytosis",
            "attributes": null
          },
          {
            "code": "190983003",
            "description": "Hypogammaglobulinaemia: [congenital] or [agammaglobulinaemia: (Bruton's) or (congenital sex-linked &amp; [X-linked])]",
            "attributes": null
          },
          {
            "code": "190993005",
            "description": "Autosomal recessive severe combined immunodeficiency",
            "attributes": null
          },
          {
            "code": "190994004",
            "description": "(Severe combined immunodeficiency) or (Swiss type agammaglobulinaemia)",
            "attributes": null
          },
          {
            "code": "190996002",
            "description": "Severe combined immunodeficiency with reticular dysgenesis",
            "attributes": null
          },
          {
            "code": "190997006",
            "description": "Severe combined immunodeficiency with low T- and B-cell numbers",
            "attributes": null
          },
          {
            "code": "190998001",
            "description": "Severe combined immunodeficiency with low or normal B-cell numbers",
            "attributes": null
          },
          {
            "code": "191001007",
            "description": "Major histocompatibility complex class I deficiency",
            "attributes": null
          },
          {
            "code": "191002000",
            "description": "Immunodeficiency by defective expression of major histocompatibility complex class II",
            "attributes": null
          },
          {
            "code": "191003005",
            "description": "Combined immunity deficiency NOS",
            "attributes": null
          },
          {
            "code": "191007006",
            "description": "Severe combined immunodeficiency with short-limbed dwarfism",
            "attributes": null
          },
          {
            "code": "191010004",
            "description": "Common variable immunodeficiency",
            "attributes": null
          },
          {
            "code": "191011000",
            "description": "Common variable immunodeficiency with predominant abnormalities of B-cell numbers and functions",
            "attributes": null
          },
          {
            "code": "191012007",
            "description": "Common variable immunodeficiency with predominant immunoregulatory T-cell disorders",
            "attributes": null
          },
          {
            "code": "191013002",
            "description": "Common variable immunodeficiency with autoantibodies to B- or T-cells",
            "attributes": null
          },
          {
            "code": "191030000",
            "description": "[X]Immunodeficiency associated with major defect, unspecified",
            "attributes": null
          },
          {
            "code": "191031001",
            "description": "[X]Other common variable immunodeficiencies",
            "attributes": null
          },
          {
            "code": "191347008",
            "description": "Cyclical neutropenia",
            "attributes": null
          },
          {
            "code": "191349006",
            "description": "Other specified agranulocytosis",
            "attributes": null
          },
          {
            "code": "191350006",
            "description": "Agranulocytosis NOS",
            "attributes": null
          },
          {
            "code": "191352003",
            "description": "Congenital dysphagocytosis",
            "attributes": null
          },
          {
            "code": "191355001",
            "description": "Polymorphonuclear neutrophil disorder NOS",
            "attributes": null
          },
          {
            "code": "192783000",
            "description": "Schultz disease",
            "attributes": null
          },
          {
            "code": "192801000000104",
            "description": "Schwachman's syndrome",
            "attributes": null
          },
          {
            "code": "203592006",
            "description": "X-linked severe combined immunodeficiency",
            "attributes": null
          },
          {
            "code": "21527007",
            "description": "Chronic granulomatous disease, type IV",
            "attributes": null
          },
          {
            "code": "22406001",
            "description": "Severe combined immunodeficiency due to absent lymphoid stem cells",
            "attributes": null
          },
          {
            "code": "23238000",
            "description": "Common variable agammaglobulinemia",
            "attributes": null
          },
          {
            "code": "234415003",
            "description": "Congenital agranulocytosis NEC",
            "attributes": null
          },
          {
            "code": "234416002",
            "description": "X-linked hypogammaglobulinemia",
            "attributes": null
          },
          {
            "code": "234430007",
            "description": "CR3-receptor deficiency",
            "attributes": null
          },
          {
            "code": "234433009",
            "description": "Myeloperoxidase deficiency",
            "attributes": null
          },
          {
            "code": "234533006",
            "description": "X-linked agammaglobulinemia with growth hormone deficiency",
            "attributes": null
          },
          {
            "code": "234534000",
            "description": "Autosomal agammaglobulinemia with absent B-cells",
            "attributes": null
          },
          {
            "code": "234539005",
            "description": "Immunoglobulin heavy chain deficiency",
            "attributes": null
          },
          {
            "code": "234542004",
            "description": "Selective immunoglobulin M and immunoglobulin A deficiency",
            "attributes": null
          },
          {
            "code": "234543009",
            "description": "Immunoglobulin light chain deficiency",
            "attributes": null
          },
          {
            "code": "234544003",
            "description": "Immunoglobulin subclass deficiency",
            "attributes": null
          },
          {
            "code": "234546001",
            "description": "Immunoglobulin G2 deficiency",
            "attributes": null
          },
          {
            "code": "234548000",
            "description": "Immunoglobulin G3 deficiency",
            "attributes": null
          },
          {
            "code": "234549008",
            "description": "Immunoglobulin G4 deficiency",
            "attributes": null
          },
          {
            "code": "234550008",
            "description": "Immunoglobulin G1 deficiency",
            "attributes": null
          },
          {
            "code": "234551007",
            "description": "Immunoglobulin A1 deficiency",
            "attributes": null
          },
          {
            "code": "234552000",
            "description": "Immunoglobulin A2 deficiency",
            "attributes": null
          },
          {
            "code": "234553005",
            "description": "Immunoglobulin-associated molecule deficiency",
            "attributes": null
          },
          {
            "code": "234555003",
            "description": "Defective immunoglobulin glycosylation",
            "attributes": null
          },
          {
            "code": "234556002",
            "description": "Specific antibody deficiency",
            "attributes": null
          },
          {
            "code": "234557006",
            "description": "Anti-polysaccharide antibody deficiency",
            "attributes": null
          },
          {
            "code": "234558001",
            "description": "Anti-Haemophilus influenzae type b capsular polysaccharide antibody deficiency",
            "attributes": null
          },
          {
            "code": "234559009",
            "description": "Anti-pneumococcal polysaccharide antibody deficiency",
            "attributes": null
          },
          {
            "code": "234560004",
            "description": "Anti-meningococcal polysaccharide A antibody deficiency",
            "attributes": null
          },
          {
            "code": "234561000",
            "description": "Anti-meningococcal polysaccharide C antibody deficiency",
            "attributes": null
          },
          {
            "code": "234562007",
            "description": "Anti-protein antibody deficiency",
            "attributes": null
          },
          {
            "code": "234563002",
            "description": "Anti-staphylococcal antibody deficiency",
            "attributes": null
          },
          {
            "code": "234564008",
            "description": "Primary immunoglobulin catabolism abnormality",
            "attributes": null
          },
          {
            "code": "234565009",
            "description": "Immunoglobulin hypercatabolism",
            "attributes": null
          },
          {
            "code": "234569003",
            "description": "X-linked severe combined immunodeficiency",
            "attributes": null
          },
          {
            "code": "234570002",
            "description": "Severe combined immunodeficiency with maternofetal engraftment",
            "attributes": null
          },
          {
            "code": "234571003",
            "description": "Warts, hypogammaglobulinemia, infections, and myelokathexis",
            "attributes": null
          },
          {
            "code": "234573000",
            "description": "Phagocytic cell defect",
            "attributes": null
          },
          {
            "code": "234577004",
            "description": "Lipochrome histiocytosis - familial",
            "attributes": null
          },
          {
            "code": "234578009",
            "description": "Defective phagocytic cell opsonization",
            "attributes": null
          },
          {
            "code": "234579001",
            "description": "Mannan-binding protein deficiency",
            "attributes": null
          },
          {
            "code": "234580003",
            "description": "Defective phagocytic cell chemotaxis",
            "attributes": null
          },
          {
            "code": "234581004",
            "description": "Defective phagocytic cell adhesion",
            "attributes": null
          },
          {
            "code": "234582006",
            "description": "Leukocyte adhesion deficiency - type 1",
            "attributes": null
          },
          {
            "code": "234583001",
            "description": "Leukocyte adhesion deficiency - type 2",
            "attributes": null
          },
          {
            "code": "234585008",
            "description": "Defective phagocytic cell killing",
            "attributes": null
          },
          {
            "code": "234586009",
            "description": "Leukocyte glucose-6-phosphate dehydrogenase deficiency",
            "attributes": null
          },
          {
            "code": "234587000",
            "description": "Neutrophil lactoferrin deficiency",
            "attributes": null
          },
          {
            "code": "234588005",
            "description": "Neutrophil secondary granule deficiency",
            "attributes": null
          },
          {
            "code": "234591005",
            "description": "Combined phagocytic defect",
            "attributes": null
          },
          {
            "code": "234593008",
            "description": "Classical complement pathway abnormality",
            "attributes": null
          },
          {
            "code": "234594002",
            "description": "Complement 1q deficiency",
            "attributes": null
          },
          {
            "code": "234595001",
            "description": "Complement 1q beta chain deficiency",
            "attributes": null
          },
          {
            "code": "234596000",
            "description": "Complement 1q dysfunction",
            "attributes": null
          },
          {
            "code": "234597009",
            "description": "Complement 1r deficiency",
            "attributes": null
          },
          {
            "code": "234598004",
            "description": "Complement 1s deficiency",
            "attributes": null
          },
          {
            "code": "234599007",
            "description": "Complement 2 deficiency",
            "attributes": null
          },
          {
            "code": "234600005",
            "description": "Complement 4 deficiency",
            "attributes": null
          },
          {
            "code": "234601009",
            "description": "Complement 4A deficiency",
            "attributes": null
          },
          {
            "code": "234602002",
            "description": "Complement 4B deficiency",
            "attributes": null
          },
          {
            "code": "234603007",
            "description": "Complement 3 deficiency",
            "attributes": null
          },
          {
            "code": "234604001",
            "description": "Alternative pathway deficiency",
            "attributes": null
          },
          {
            "code": "234605000",
            "description": "Factor B deficiency",
            "attributes": null
          },
          {
            "code": "234607008",
            "description": "Factor D deficiency",
            "attributes": null
          },
          {
            "code": "234608003",
            "description": "Terminal component deficiency",
            "attributes": null
          },
          {
            "code": "234609006",
            "description": "Complement 5 deficiency",
            "attributes": null
          },
          {
            "code": "234611002",
            "description": "Complement 6 deficiency",
            "attributes": null
          },
          {
            "code": "234612009",
            "description": "Complement 7 deficiency",
            "attributes": null
          },
          {
            "code": "234613004",
            "description": "Combined complement 6 and 7 deficiencies",
            "attributes": null
          },
          {
            "code": "234614005",
            "description": "Complement 8 beta chain deficiency",
            "attributes": null
          },
          {
            "code": "234615006",
            "description": "Complement 8 beta chain dysfunction",
            "attributes": null
          },
          {
            "code": "234616007",
            "description": "Complement 8 alpha-gamma deficiency",
            "attributes": null
          },
          {
            "code": "234617003",
            "description": "Complement 9 deficiency",
            "attributes": null
          },
          {
            "code": "234618008",
            "description": "Complement regulatory factor defect",
            "attributes": null
          },
          {
            "code": "234621005",
            "description": "Factor I deficiency",
            "attributes": null
          },
          {
            "code": "234623008",
            "description": "Complement 4 binding protein deficiency",
            "attributes": null
          },
          {
            "code": "234626000",
            "description": "Complement 5a inhibitor deficiency",
            "attributes": null
          },
          {
            "code": "234628004",
            "description": "Complement receptor deficiency",
            "attributes": null
          },
          {
            "code": "234629007",
            "description": "Complement receptor 1 deficiency",
            "attributes": null
          },
          {
            "code": "234630002",
            "description": "Complement receptor 3 deficiency",
            "attributes": null
          },
          {
            "code": "234631003",
            "description": "Immunodeficiency with major anomalies",
            "attributes": null
          },
          {
            "code": "234632005",
            "description": "Immunodeficiency associated with chromosomal abnormality",
            "attributes": null
          },
          {
            "code": "234633000",
            "description": "Centromeric instability of chromosomes 1,9 and 16 and immunodeficiency",
            "attributes": null
          },
          {
            "code": "234634006",
            "description": "Chromosome 18 syndromes and antibody deficiency",
            "attributes": null
          },
          {
            "code": "234635007",
            "description": "Chromosome 22 abnormalities with hypogammaglobulinemia",
            "attributes": null
          },
          {
            "code": "234636008",
            "description": "Monosomy 22 and absence of immunoglobulin A",
            "attributes": null
          },
          {
            "code": "234637004",
            "description": "Deletion of X-chromosome and hypogammaglobulinemia",
            "attributes": null
          },
          {
            "code": "234638009",
            "description": "Microcephaly, normal intelligence and immunodeficiency",
            "attributes": null
          },
          {
            "code": "234639001",
            "description": "Triple X syndrome, epilepsy, and hypogammaglobulinemia",
            "attributes": null
          },
          {
            "code": "234640004",
            "description": "18-p syndrome with associated immunodeficiency",
            "attributes": null
          },
          {
            "code": "234641000",
            "description": "Immunodeficiency associated with multiple organ system abnormalities",
            "attributes": null
          },
          {
            "code": "237618001",
            "description": "Insulin-dependent diabetes mellitus secretory diarrhea syndrome",
            "attributes": null
          },
          {
            "code": "24743004",
            "description": "Complement deficiency disease",
            "attributes": null
          },
          {
            "code": "24974008",
            "description": "Myelokathexis",
            "attributes": null
          },
          {
            "code": "25109007",
            "description": "Lymphopenic agammaglobulinemia - short-limbed dwarfism syndrome",
            "attributes": null
          },
          {
            "code": "254067002",
            "description": "Immuno-osseous dysplasia",
            "attributes": null
          },
          {
            "code": "26252007",
            "description": "Chronic granulomatous disease, type IIA",
            "attributes": null
          },
          {
            "code": "263661007",
            "description": "Complement 5 dysfunction",
            "attributes": null
          },
          {
            "code": "267538002",
            "description": "Agranulocytopenic disorder",
            "attributes": null
          },
          {
            "code": "29260007",
            "description": "Immunoglobulin A deficiency",
            "attributes": null
          },
          {
            "code": "29272001",
            "description": "Chronic granulomatous disease, type I",
            "attributes": null
          },
          {
            "code": "302874002",
            "description": "Phagocytic cell dysfunction",
            "attributes": null
          },
          {
            "code": "31323000",
            "description": "Severe combined immunodeficiency disease",
            "attributes": null
          },
          {
            "code": "33374000",
            "description": "Familial hemophagocytic lymphohistiocytosis",
            "attributes": null
          },
          {
            "code": "3439009",
            "description": "Severe combined immunodeficiency due to absent peripheral T cell maturation",
            "attributes": null
          },
          {
            "code": "350353007",
            "description": "De Vaal's syndrome",
            "attributes": null
          },
          {
            "code": "351287008",
            "description": "Reticular dysgenesis with congenital aleukocytosis",
            "attributes": null
          },
          {
            "code": "36070007",
            "description": "Wiskott-Aldrich syndrome",
            "attributes": null
          },
          {
            "code": "362993009",
            "description": "Autosomal recessive severe combined immunodeficiency disease",
            "attributes": null
          },
          {
            "code": "363265005",
            "description": "Predominant humoral immune deficiency",
            "attributes": null
          },
          {
            "code": "36980009",
            "description": "Severe combined immunodeficiency due to absent adenosine deaminase",
            "attributes": null
          },
          {
            "code": "37548006",
            "description": "Hypopigmentation-immunodeficiency disease",
            "attributes": null
          },
          {
            "code": "387759001",
            "description": "Chronic granulomatous disease",
            "attributes": null
          },
          {
            "code": "39674000",
            "description": "Familial C3B inhibitor deficiency syndrome",
            "attributes": null
          },
          {
            "code": "398250003",
            "description": "Familial hemophagocytic lymphohistiocytosis",
            "attributes": null
          },
          {
            "code": "40197009",
            "description": "Chronic granulomatous disease, type IA",
            "attributes": null
          },
          {
            "code": "403835002",
            "description": "X-linked hyper-immunoglobulin M syndrome",
            "attributes": null
          },
          {
            "code": "403836001",
            "description": "Autosomal recessive hyperimmunoglobulin M syndrome",
            "attributes": null
          },
          {
            "code": "403837005",
            "description": "Wiskott-Aldrich autosomal dominant variant syndrome",
            "attributes": null
          },
          {
            "code": "411421000000102",
            "description": "[X]Immunodeficiency associated with major defect, unspecified",
            "attributes": null
          },
          {
            "code": "411431000000100",
            "description": "[X]Other common variable immunodeficiencies",
            "attributes": null
          },
          {
            "code": "417167007",
            "description": "Immunoglobulin deficiency",
            "attributes": null
          },
          {
            "code": "41814009",
            "description": "Neutropenia with dysgranulopoiesis",
            "attributes": null
          },
          {
            "code": "442459007",
            "description": "Combined immunodeficiency disease",
            "attributes": null
          },
          {
            "code": "4434006",
            "description": "Bloom syndrome",
            "attributes": null
          },
          {
            "code": "449187006",
            "description": "Kappa light chain deficiency",
            "attributes": null
          },
          {
            "code": "44940001",
            "description": "Adenosine deaminase deficiency",
            "attributes": null
          },
          {
            "code": "449853003",
            "description": "Interleukin-12 deficiency",
            "attributes": null
          },
          {
            "code": "45390000",
            "description": "Severe combined immunodeficiency due to absent interleukin-2 production",
            "attributes": null
          },
          {
            "code": "467901000000107",
            "description": "[X]Immunodeficiency associated with major defect, unspecified",
            "attributes": null
          },
          {
            "code": "49555001",
            "description": "Severe combined immunodeficiency due to absent T cell receptor",
            "attributes": null
          },
          {
            "code": "55602000",
            "description": "Nezelof's syndrome",
            "attributes": null
          },
          {
            "code": "571321000000109",
            "description": "Other specified agranulocytosis",
            "attributes": null
          },
          {
            "code": "58606001",
            "description": "Primary immune deficiency disorder",
            "attributes": null
          },
          {
            "code": "626051000000103",
            "description": "Agranulocytosis NOS",
            "attributes": null
          },
          {
            "code": "646621000000103",
            "description": "Combined immunity deficiency NOS",
            "attributes": null
          },
          {
            "code": "656561000000105",
            "description": "Congenital agranulocytosis NEC",
            "attributes": null
          },
          {
            "code": "65880007",
            "description": "X-linked agammaglobulinemia",
            "attributes": null
          },
          {
            "code": "660661000000101",
            "description": "Polymorphonuclear neutrophil disorder NOS",
            "attributes": null
          },
          {
            "code": "68504005",
            "description": "Ataxia-telangiectasia syndrome",
            "attributes": null
          },
          {
            "code": "69295006",
            "description": "Cyclic neutropenia",
            "attributes": null
          },
          {
            "code": "699869003",
            "description": "Interleukin-1 receptor-associated kinase 4 deficiency",
            "attributes": null
          },
          {
            "code": "703149000",
            "description": "Periodontitis associated with cyclical neutropenia",
            "attributes": null
          },
          {
            "code": "703406006",
            "description": "Trichohepatoenteric syndrome",
            "attributes": null
          },
          {
            "code": "703523004",
            "description": "Spondyloenchondrodysplasia with immune dysregulation",
            "attributes": null
          },
          {
            "code": "703525006",
            "description": "Anhidrotic ectodermal dysplasia with immune deficiency",
            "attributes": null
          },
          {
            "code": "703538003",
            "description": "Mannose-binding lectin deficiency",
            "attributes": null
          },
          {
            "code": "709465004",
            "description": "Periodontitis co-occurrent with Chédiak-Higashi syndrome",
            "attributes": null
          },
          {
            "code": "709535007",
            "description": "Periodontitis co-occurrent with infantile genetic agranulocytosis",
            "attributes": null
          },
          {
            "code": "710927004",
            "description": "Periodontitis co-occurrent with cyclical neutropenia",
            "attributes": null
          },
          {
            "code": "711480000",
            "description": "Activated PI3K-delta syndrome",
            "attributes": null
          },
          {
            "code": "71436005",
            "description": "Periodic fever, immunodeficiency, thrombocytopenia syndrome",
            "attributes": null
          },
          {
            "code": "715982006",
            "description": "Severe combined immunodeficiency due to deoxyribonucleic acid cross-link repair protein 1c deficiency",
            "attributes": null
          },
          {
            "code": "716378008",
            "description": "Combined immunodeficiency due to Zeta-chain associated protein kinase 70 deficiency",
            "attributes": null
          },
          {
            "code": "716869006",
            "description": "Mendelian susceptibility to mycobacterial disease due to complete interleukin 12 receptor beta 1 deficiency",
            "attributes": null
          },
          {
            "code": "716871006",
            "description": "Severe combined immunodeficiency due to deoxyribonucleic acid dependent protein kinase catalytic subunit deficiency",
            "attributes": null
          },
          {
            "code": "717811007",
            "description": "Combined immunodeficiency due to calcium release activated calcium channel dysfunction",
            "attributes": null
          },
          {
            "code": "718107000",
            "description": "Severe combined immunodeficiency T-cell negative B-cell positive due to janus kinase-3 deficiency",
            "attributes": null
          },
          {
            "code": "718230004",
            "description": "Mendelian susceptibility to mycobacterial disease due to complete interferon gamma receptor 1 deficiency",
            "attributes": null
          },
          {
            "code": "718232007",
            "description": "Pyogenic bacterial infection due to deficiency of myeloid differentiation primary response 88",
            "attributes": null
          },
          {
            "code": "718717004",
            "description": "Primary immunodeficiency syndrome due to p14 deficiency",
            "attributes": null
          },
          {
            "code": "718882006",
            "description": "X-linked severe congenital neutropenia",
            "attributes": null
          },
          {
            "code": "71904008",
            "description": "Severe combined immunodeficiency due to absent class II human leukocyte antigens",
            "attributes": null
          },
          {
            "code": "719156006",
            "description": "X-linked intellectual disability with hypogammaglobulinemia and progressive neurological deterioration syndrome",
            "attributes": null
          },
          {
            "code": "719685004",
            "description": "Absent thumb with short stature and immunodeficiency syndrome",
            "attributes": null
          },
          {
            "code": "719814009",
            "description": "X-linked mendelian susceptibility to mycobacterial disease",
            "attributes": null
          },
          {
            "code": "719824001",
            "description": "Vici syndrome",
            "attributes": null
          },
          {
            "code": "719827008",
            "description": "X-linked immunoneurologic disorder",
            "attributes": null
          },
          {
            "code": "720345008",
            "description": "Severe T-cell immunodeficiency, congenital alopecia, nail dystrophy syndrome",
            "attributes": null
          },
          {
            "code": "720520009",
            "description": "Attenuated Chédiak-Higashi syndrome",
            "attributes": null
          },
          {
            "code": "720853005",
            "description": "Severe combined immunodeficiency, microcephaly, growth retardation, sensitivity to ionizing radiation syndrome",
            "attributes": null
          },
          {
            "code": "720986005",
            "description": "Anhidrotic ectodermal dysplasia, immunodeficiency, osteopetrosis, lymphedema syndrome",
            "attributes": null
          },
          {
            "code": "721876004",
            "description": "Mendelian susceptibility to mycobacterial disease due to complete interferon gamma receptor 2 deficiency",
            "attributes": null
          },
          {
            "code": "721877008",
            "description": "Mendelian susceptibility to mycobacterial disease due to complete interleukin 12 subunit beta deficiency",
            "attributes": null
          },
          {
            "code": "721903007",
            "description": "Microcephaly, hypogammaglobulinemia, abnormal immunity syndrome",
            "attributes": null
          },
          {
            "code": "721977007",
            "description": "Lung fibrosis, immunodeficiency, 46,XX gonadal dysgenesis syndrome",
            "attributes": null
          },
          {
            "code": "722067005",
            "description": "Omenn syndrome",
            "attributes": null
          },
          {
            "code": "722281001",
            "description": "Agammaglobulinemia, microcephaly, craniosynostosis, severe dermatitis syndrome",
            "attributes": null
          },
          {
            "code": "722288007",
            "description": "Autoimmune enteropathy and endocrinopathy with susceptibility to chronic infection syndrome",
            "attributes": null
          },
          {
            "code": "722290008",
            "description": "Autoimmune lymphoproliferative syndrome with recurrent viral infection",
            "attributes": null
          },
          {
            "code": "723334006",
            "description": "Immunodeficiency due to mutation of FAS-associated protein with death domain gene",
            "attributes": null
          },
          {
            "code": "723384004",
            "description": "Mendelian susceptibility to mycobacterial disease due to complete interferon stimulated gene 15 deficiency",
            "attributes": null
          },
          {
            "code": "723385003",
            "description": "Mendelian susceptibility to mycobacterial disease due to partial interferon regulatory factor 8 deficiency",
            "attributes": null
          },
          {
            "code": "723386002",
            "description": "Mendelian susceptibility to mycobacterial disease due to partial signal transducer and activator of transcription 1 deficiency",
            "attributes": null
          },
          {
            "code": "723443003",
            "description": "Neutrophil immunodeficiency syndrome",
            "attributes": null
          },
          {
            "code": "723508002",
            "description": "RAS-associated autoimmune leukoproliferative disease",
            "attributes": null
          },
          {
            "code": "723995003",
            "description": "Schimke immuno-osseous dysplasia",
            "attributes": null
          },
          {
            "code": "724177005",
            "description": "Ligase 4 syndrome",
            "attributes": null
          },
          {
            "code": "724179008",
            "description": "Laron syndrome with immunodeficiency",
            "attributes": null
          },
          {
            "code": "724275005",
            "description": "Primary immunodeficiency with natural killer cell deficiency and adrenal insufficiency",
            "attributes": null
          },
          {
            "code": "724276006",
            "description": "X-linked immune dysregulation, polyendocrinopathy, enteropathy syndrome",
            "attributes": null
          },
          {
            "code": "724361001",
            "description": "Hepatic veno-occlusive disease with immunodeficiency syndrome",
            "attributes": null
          },
          {
            "code": "724641002",
            "description": "Primary hemophagocytic lymphohistiocytosis",
            "attributes": null
          },
          {
            "code": "725135004",
            "description": "Combined immunodeficiency due to CD3gamma deficiency",
            "attributes": null
          },
          {
            "code": "725136003",
            "description": "Immunodeficiency by defective expression of major histocompatibility complex class I",
            "attributes": null
          },
          {
            "code": "725137007",
            "description": "Neutropenia, monocytopenia, deafness syndrome",
            "attributes": null
          },
          {
            "code": "725150008",
            "description": "Autosomal dominant mendelian susceptibility to mycobacterial disease due to partial interferon gamma receptor 1 deficiency",
            "attributes": null
          },
          {
            "code": "725151007",
            "description": "Autosomal dominant mendelian susceptibility to mycobacterial disease due to partial interferon gamma receptor 2 deficiency",
            "attributes": null
          },
          {
            "code": "725290000",
            "description": "Combined immunodeficiency due to partial recombination-activating gene 1 deficiency",
            "attributes": null
          },
          {
            "code": "725431001",
            "description": "Autosomal recessive mendelian susceptibility to mycobacterial disease due to partial interferon gamma receptor 1 deficiency",
            "attributes": null
          },
          {
            "code": "725432008",
            "description": "Autosomal recessive mendelian susceptibility to mycobacterial disease due to partial interferon gamma receptor 2 deficiency",
            "attributes": null
          },
          {
            "code": "76243000",
            "description": "Chronic granulomatous disease, type IVA",
            "attributes": null
          },
          {
            "code": "763623001",
            "description": "Severe combined immunodeficiency due to cytidine 5-prime triphosphate synthetase 1 deficiency",
            "attributes": null
          },
          {
            "code": "763668009",
            "description": "Lichtenstein syndrome",
            "attributes": null
          },
          {
            "code": "763713000",
            "description": "Idiopathic CD4 lymphocytopenia",
            "attributes": null
          },
          {
            "code": "764858009",
            "description": "Isolated agammaglobulinemia",
            "attributes": null
          },
          {
            "code": "765145001",
            "description": "T cell negative B cell positive severe combined immunodeficiency due to gamma chain deficiency",
            "attributes": null
          },
          {
            "code": "765188009",
            "description": "Severe combined immunodeficiency due to complete recombination-activating gene 1 and/or recombination-activating gene 2 deficiency",
            "attributes": null
          },
          {
            "code": "765327005",
            "description": "Congenital sideroblastic anemia, B-cell immunodeficiency, periodic fever, developmental delay syndrome",
            "attributes": null
          },
          {
            "code": "766705006",
            "description": "Immunodeficiency due to ficolin 3 deficiency",
            "attributes": null
          },
          {
            "code": "766879006",
            "description": "Combined immunodeficiency due to OX40 deficiency",
            "attributes": null
          },
          {
            "code": "766983005",
            "description": "Susceptibility to respiratory infection associated with CD8alpha chain mutation",
            "attributes": null
          },
          {
            "code": "767263007",
            "description": "22q11.2 deletion syndrome",
            "attributes": null
          },
          {
            "code": "768560008",
            "description": "Melanoma differentiation-associated gene 5 deficiency",
            "attributes": null
          },
          {
            "code": "770625006",
            "description": "Combined immunodeficiency with faciooculoskeletal anomalies syndrome",
            "attributes": null
          },
          {
            "code": "770687001",
            "description": "Vasculitis due to adenosine deaminase 2 deficiency",
            "attributes": null
          },
          {
            "code": "770785002",
            "description": "T-cell immunodeficiency due to ras homolog family member H deficiency",
            "attributes": null
          },
          {
            "code": "770942003",
            "description": "Kostmann syndrome",
            "attributes": null
          },
          {
            "code": "770947009",
            "description": "Autosomal dominant severe congenital neutropenia",
            "attributes": null
          },
          {
            "code": "771078002",
            "description": "Immunodeficiency due to mannan binding lectin serine peptidase 2 deficiency",
            "attributes": null
          },
          {
            "code": "77121009",
            "description": "X-linked lymphoproliferative syndrome",
            "attributes": null
          },
          {
            "code": "771333006",
            "description": "Immune dysregulation, inflammatory bowel disease, arthritis, recurrent infection syndrome",
            "attributes": null
          },
          {
            "code": "771443008",
            "description": "Complement component 3 deficiency",
            "attributes": null
          },
          {
            "code": "771479000",
            "description": "Combined immunodeficiency due to serine/threonine kinase 4 deficiency",
            "attributes": null
          },
          {
            "code": "771515001",
            "description": "Facial dysmorphism, immunodeficiency, livedo, short stature syndrome",
            "attributes": null
          },
          {
            "code": "771517009",
            "description": "Severe combined immunodeficiency due to caspase recruitment domain family member 11 deficiency",
            "attributes": null
          },
          {
            "code": "772126000",
            "description": "Poikiloderma with neutropenia",
            "attributes": null
          },
          {
            "code": "77330006",
            "description": "Chronic granulomatous disease, type II",
            "attributes": null
          },
          {
            "code": "773404000",
            "description": "Roifman syndrome",
            "attributes": null
          },
          {
            "code": "773488000",
            "description": "Combined immunodeficiency due to mucosa-associated lymphoid tissue lymphoma translocation gene 1 deficiency",
            "attributes": null
          },
          {
            "code": "77358003",
            "description": "Congenital leukocyte adherence deficiency",
            "attributes": null
          },
          {
            "code": "773646003",
            "description": "Phospholipase C gamma 2 associated antibody deficiency and immune dysregulation",
            "attributes": null
          },
          {
            "code": "773662009",
            "description": "Neonatal inflammatory skin and bowel disease",
            "attributes": null
          },
          {
            "code": "773664005",
            "description": "Deficiency in anterior pituitary function, variable immunodeficiency syndrome",
            "attributes": null
          },
          {
            "code": "773730002",
            "description": "Osteopetrosis hypogammaglobulinemia syndrome",
            "attributes": null
          },
          {
            "code": "774211005",
            "description": "Severe dermatitis, multiple allergies, metabolic wasting syndrome",
            "attributes": null
          },
          {
            "code": "775909002",
            "description": "Congenital neutropenia, myelofibrosis, nephromegaly syndrome",
            "attributes": null
          },
          {
            "code": "778023004",
            "description": "Syndromic multisystem autoimmune disease due to itchy E3 ubiquitin protein ligase deficiency",
            "attributes": null
          },
          {
            "code": "778024005",
            "description": "Monocytopenia with susceptibility to infections",
            "attributes": null
          },
          {
            "code": "778028008",
            "description": "Immunodeficiency due to CD25 deficiency",
            "attributes": null
          },
          {
            "code": "778045003",
            "description": "Susceptibility to viral and mycobacterial infection",
            "attributes": null
          },
          {
            "code": "782750002",
            "description": "T-cell receptor alpha-beta-positive T-cell deficiency",
            "attributes": null
          },
          {
            "code": "782751003",
            "description": "Severe combined immunodeficiency due to inhibitor of nuclear factor kappa B kinase subunit beta deficiency",
            "attributes": null
          },
          {
            "code": "782759001",
            "description": "X-linked dyserythropoietic anemia with abnormal platelets and neutropenia",
            "attributes": null
          },
          {
            "code": "783007005",
            "description": "Recurrent Neisseria infection due to factor D deficiency",
            "attributes": null
          },
          {
            "code": "783058007",
            "description": "Autosomal recessive severe congenital neutropenia due to glucose-6-phosphatase catalytic subunit 3 deficiency",
            "attributes": null
          },
          {
            "code": "783099001",
            "description": "Radiosensitivity, immunodeficiency, dysmorphic features, learning difficulties syndrome",
            "attributes": null
          },
          {
            "code": "783142006",
            "description": "Pancytopenia due to IKAROS family zinc finger 1 mutations",
            "attributes": null
          },
          {
            "code": "783199003",
            "description": "Autosomal recessive severe congenital neutropenia due to jagunal homolog 1 deficiency",
            "attributes": null
          },
          {
            "code": "783200000",
            "description": "Autosomal recessive severe congenital neutropenia due to C-X-C motif chemokine receptor 2 deficiency",
            "attributes": null
          },
          {
            "code": "783201001",
            "description": "Autosomal recessive severe congenital neutropenia due to colony stimulating factor 3 receptor deficiency",
            "attributes": null
          },
          {
            "code": "783205005",
            "description": "Alopecia antibody deficiency",
            "attributes": null
          },
          {
            "code": "783245001",
            "description": "Primary immunodeficiency with post-measles-mumps-rubella vaccine viral infection",
            "attributes": null
          },
          {
            "code": "783248004",
            "description": "Hyperimmunoglobulin M syndrome with susceptibility to opportunistic infection",
            "attributes": null
          },
          {
            "code": "783249007",
            "description": "Hyperimmunoglobulin M syndrome without susceptibility to opportunistic infection",
            "attributes": null
          },
          {
            "code": "783617001",
            "description": "Severe combined immunodeficiency due to lymphocyte-specific protein-tyrosine kinase deficiency",
            "attributes": null
          },
          {
            "code": "783621008",
            "description": "Immunodeficiency with factor I anomaly",
            "attributes": null
          },
          {
            "code": "783743009",
            "description": "Combined immunodeficiency with granulomatosis",
            "attributes": null
          },
          {
            "code": "784340000",
            "description": "Combined immunodeficiency due to interleukin 21 receptor deficiency",
            "attributes": null
          },
          {
            "code": "789777007",
            "description": "Short-limb skeletal dysplasia with severe combined immunodeficiency",
            "attributes": null
          },
          {
            "code": "7990002",
            "description": "Immunoglobulinemia with isolated somatotropin deficiency",
            "attributes": null
          },
          {
            "code": "81166004",
            "description": "Properdin deficiency disease",
            "attributes": null
          },
          {
            "code": "82286005",
            "description": "Hyperimmunoglobulin M syndrome",
            "attributes": null
          },
          {
            "code": "82317007",
            "description": "Chronic granulomatous disease, type III",
            "attributes": null
          },
          {
            "code": "829973009",
            "description": "Autoinflammatory syndrome with pyogenic bacterial infection and amylopectinosis",
            "attributes": null
          },
          {
            "code": "840472009",
            "description": "Deficiency of immunoglobulin A with immunoglobulin G subclass deficiency",
            "attributes": null
          },
          {
            "code": "89454001",
            "description": "Shwachman syndrome",
            "attributes": null
          },
          {
            "code": "89655007",
            "description": "Congenital neutropenia",
            "attributes": null
          },
          {
            "code": "938231000000103",
            "description": "Mannan-binding protein deficiency",
            "attributes": null
          },
          {
            "code": "987840791000119102",
            "description": "Adenosine deaminase 2 deficiency",
            "attributes": null
          },
          {
            "code": "9893005",
            "description": "Immunodeficiency with thymoma",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "30e9749b",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/nrs8-k835",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 7475,
        "version_name": "Primary immunodeficiency disorder codes",
        "version_date": "2026-01-26T22:52:29.671834Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 7474,
        "version_name": "Primary immunodeficiency disorder codes",
        "version_date": "2026-01-26T22:52:27.579794Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7473,
        "version_name": "Primary immunodeficiency disorder codes",
        "version_date": "2026-01-26T22:52:25.492731Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]