[
  {
    "phenotype_id": "PH4200",
    "phenotype_version_id": 9418,
    "name": "HIV",
    "definition": "Human immunodeficiency virus.\n\nUKB baseline self reported fields.\n",
    "implementation": "The earliest record across all sources is obtained.\n",
    "publications": [
      {
        "doi": "https://doi.org/10.1038/s41598-025-05838-9",
        "details": "Torralbo, Ana and Davitte, Jonathan M. and Croteau-Chonka, Damien C. and Ytsma, Cai R. and Tomlinson, Christopher and Fitzpatrick, Natalie and Chung, Sheng-Chia and Fatemifar, Ghazaleh and Cortes, Adrian S. and Richardson, Tom G. and Barclay, Matthew and Carrasco Zanini Sanchez, Julia and Finan, Chris and Hemingway, Harry and Hingorani, Aroon D. and Kuan Po Ai, Valerie and Langenberg, Claudia and Lyratzopoulos, Georgios and Lumbers, Tom and Pietzner, Maik and Shah, Anoop Dinesh and Thygesen, Johan Hilge and Zelenka, Natalie and Whittaker, John C. and Ehm, Margaret G. and Denaxas, Spiros, A Computational Framework for Defining and Validating Reproducible Phenotyping Algorithms of 313 Diseases in the UK Biobank.",
        "primary": true
      }
    ],
    "validation": "Phenotypes underwent a multi\\-layered validation approach that included a) evaluating data source concordance, b) age\\-sex incidence and baseline prevalence patterns, c) an external comparison to a representative and unselected UK EHR dataset, d) modifiable risk factor associations, and e) genetic correlations with external genome\\-wide association studies (GWAS). Results showed consistent disease distributions by age and sex, high ranked correlation with general population prevalence estimates, confirmed risk factor associations, and significant genetic correlations with external GWAS.\n",
    "citation_requirements": null,
    "created": "2026-06-08T20:11:09.067333Z",
    "author": "Torralbo, A; Davitte, J M; Croteau-Chonka, D C; Ytsma, C; Tomlinson, C; Fitzpatrick, N K; Chung, S C; Fatemifar, G; Cortes, A S; Richardson, T G; Barclay, M; Carrasco Zanini, J; Finan, C; Hemingway, H; Hingorani, A; Kuan, V; Langenberg, C; Lyratzopoulos, G; Lumbers, R T; Pietzner, M; Shah, A D; Thygesen, J H; Zelenka, N; Whittaker, J C; Ehm, M G; Denaxas, S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      },
      {
        "name": "UK Biobank",
        "value": 32
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-06-08T20:11:09.060762Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Human immunodeficiency virus infection (disorder)",
        "value": 773209
      }
    ],
    "phenoflowid": null,
    "data_sources": [
      {
        "name": "UK Biobank",
        "value": 13,
        "uid": "6a9f93ad-2434-41d9-93bf-6e9d2eee04e5",
        "url": "https://healthdatagateway.org/en/dataset/700",
        "datasource_id": 700
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Scottish Cancer Registry (SMR06)",
        "value": 417,
        "uid": "ad36dc03-1856-44de-99b0-1af6f312d86b",
        "url": "https://healthdatagateway.org/en/dataset/79",
        "datasource_id": 79
      },
      {
        "name": "Cancer Registration Data",
        "value": 788,
        "uid": "6904a2ff-ab44-4dd6-b9ec-25d3cad29e43",
        "url": "https://healthdatagateway.org/en/dataset/880",
        "datasource_id": 880
      }
    ],
    "endorsements": null,
    "project_name": null,
    "coding_system": [
      {
        "name": "UKBioBank codes",
        "value": 12
      },
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "corresp_author": "Ana Torralbo",
    "event_date_range": null,
    "concept_information": [
      {
        "concept_id": 10250,
        "concept_version_id": 17735,
        "concept_name": "Non-cancer illness code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1439",
            "description": "hiv/aids",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10251,
        "concept_version_id": 17736,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B20",
            "description": "Human immunodeficiency virus [HIV] disease resulting in infectious and parasitic diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B21",
            "description": "Human immunodeficiency virus [HIV] disease resulting in malignant neoplasms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other specified diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B23",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other conditions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B24",
            "description": "Unspecified human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F02.4",
            "description": "Dementia in human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "R75",
            "description": "Laboratory evidence of human immunodeficiency virus [HIV]",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Z21",
            "description": "Asymptomatic human immunodeficiency virus [HIV] infection status",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10252,
        "concept_version_id": 17737,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B20",
            "description": "Human immunodeficiency virus [HIV] disease resulting in infectious and parasitic diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B21",
            "description": "Human immunodeficiency virus [HIV] disease resulting in malignant neoplasms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other specified diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B23",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other conditions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B24",
            "description": "Unspecified human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F02.4",
            "description": "Dementia in human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "R75",
            "description": "Laboratory evidence of human immunodeficiency virus [HIV]",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Z21",
            "description": "Asymptomatic human immunodeficiency virus [HIV] infection status",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10253,
        "concept_version_id": 17738,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B20",
            "description": "Human immunodeficiency virus [HIV] disease resulting in infectious and parasitic diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B21",
            "description": "Human immunodeficiency virus [HIV] disease resulting in malignant neoplasms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other specified diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B23",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other conditions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B24",
            "description": "Unspecified human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F02.4",
            "description": "Dementia in human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "R75",
            "description": "Laboratory evidence of human immunodeficiency virus [HIV]",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Z21",
            "description": "Asymptomatic human immunodeficiency virus [HIV] infection status",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10254,
        "concept_version_id": 17739,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B20",
            "description": "Human immunodeficiency virus [HIV] disease resulting in infectious and parasitic diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B21",
            "description": "Human immunodeficiency virus [HIV] disease resulting in malignant neoplasms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other specified diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B23",
            "description": "Human immunodeficiency virus [HIV] disease resulting in other conditions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B24",
            "description": "Unspecified human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F02.4",
            "description": "Dementia in human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "R75",
            "description": "Laboratory evidence of human immunodeficiency virus [HIV]",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Z21",
            "description": "Asymptomatic human immunodeficiency virus [HIV] infection status",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10255,
        "concept_version_id": 17740,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4200",
        "phenotype_version_id": 9418,
        "phenotype_name": "HIV",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "43C3.11",
            "description": "HIV positive",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "4J34.00",
            "description": "HIV viral load",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "4J3F.00",
            "description": "Human immunodeficiency virus viral load by log rank",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "65QA.00",
            "description": "AIDS carrier",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "65VE.00",
            "description": "Notification of AIDS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "66j..00",
            "description": "Human immunodeficiency virus monitoring",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "66j0.00",
            "description": "Human immunodeficiency virus annual review",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "9kl..00",
            "description": "HIV pos gen health check serv declind - enhanc service admin",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788.00",
            "description": "Acquired immune deficiency syndrome",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788000",
            "description": "Acute human immunodeficiency virus infection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788100",
            "description": "Asymptomatic human immunodeficiency virus infection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788.11",
            "description": "Human immunodeficiency virus infection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788200",
            "description": "HIV infection with persistent generalised lymphadenopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788300",
            "description": "Human immunodeficiency virus with constitutional disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788400",
            "description": "Human immunodeficiency virus with neurological disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788500",
            "description": "Human immunodeficiency virus with secondary infection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788600",
            "description": "Human immunodeficiency virus with secondary cancers",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788U00",
            "description": "HIV disease result/haematological+immunologic abnorms,NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788W00",
            "description": "HIV disease resulting in unspecified malignant neoplasm",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788X00",
            "description": "HIV disease resulting/unspcf infectious+parasitic disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788y00",
            "description": "Human immunodeficiency virus with other clinical findings",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A788z00",
            "description": "Acquired human immunodeficiency virus infection syndrome NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789.00",
            "description": "Human immunodef virus resulting in other disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789000",
            "description": "HIV disease resulting in mycobacterial infection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789100",
            "description": "HIV disease resulting in cytomegaloviral disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789200",
            "description": "HIV disease resulting in candidiasis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789300",
            "description": "HIV disease resulting in Pneumocystis carinii pneumonia",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789311",
            "description": "HIV disease resulting in Pneumocystis jirovecii pneumonia",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789400",
            "description": "HIV disease resulting in multiple infections",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789500",
            "description": "HIV disease resulting in Kaposi's sarcoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789511",
            "description": "HIV disease resulting in Kaposi sarcoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789600",
            "description": "HIV disease resulting in Burkitt's lymphoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789700",
            "description": "HIV dis resulting oth types of non-Hodgkin's lymphoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789800",
            "description": "HIV disease resulting in multiple malignant neoplasms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789900",
            "description": "HIV disease resulting in lymphoid interstitial pneumonitis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789A00",
            "description": "HIV disease resulting in wasting syndrome",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A789X00",
            "description": "HIV dis reslt/oth mal neopl/lymph,h'matopoetc+reltd tissu",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuC.00",
            "description": "[X]Human immunodeficiency virus disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuC100",
            "description": "[X]HIV disease resulting in other viral infections",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuC300",
            "description": "[X]HIV disease resulting in multiple infections",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuC400",
            "description": "[X]HIV disease resulting/other infectious+parasitic diseases",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuC600",
            "description": "[X]HIV disease resulting in other non-Hodgkin's lymphoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuCB00",
            "description": "[X]HIV disease result/haematological+immunologic abnorms,NEC",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuCC00",
            "description": "[X]HIV disease resulting in other specified conditions",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "AyuCD00",
            "description": "[X]Unspecified human immunodeficiency virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu02400",
            "description": "[X]Dementia in human immunodef virus [HIV] disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "R109.00",
            "description": "[D]Laboratory evidence of human immunodeficiency virus [HIV]",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaFuL",
            "description": "HIV viral load",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaO9K",
            "description": "Human immunodeficiency virus viral load by log rank",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaQOt",
            "description": "Human immunodeficiency virus monitoring",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "XaQOu",
            "description": "Human immunodeficiency virus annual review",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "XE0RX",
            "description": "Acquired immune deficiency syndrome",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "ZV01A00",
            "description": "[V]Asymptomatic human immunodeficency virus infection status",
            "attributes": {
              "type": "any"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/mwtt-6p47",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 9418,
        "version_name": "HIV",
        "version_date": "2026-06-08T20:11:09.079424Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]