[
  {
    "phenotype_id": "PH4118",
    "phenotype_version_id": 9336,
    "name": "Bipolar affective disorder and mania",
    "definition": "Bipolar disorder causes extreme mood swings that include emotional highs (mania or hypomania) and lows (depression).\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:06:42.592381Z",
    "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:06:42.586434Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Bipolar disorder (disorder)",
        "value": 174253
      }
    ],
    "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": "Non-standard codes",
        "value": 13
      },
      {
        "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": 9718,
        "concept_version_id": 17203,
        "concept_name": "Non-cancer illness code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1291",
            "description": "mania/bipolar disorder/manic depression",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9719,
        "concept_version_id": 17204,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "F30",
            "description": "Manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F31",
            "description": "Bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9720,
        "concept_version_id": 17205,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "F30",
            "description": "Manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F31",
            "description": "Bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9721,
        "concept_version_id": 17206,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "F30",
            "description": "Manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F31",
            "description": "Bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9722,
        "concept_version_id": 17207,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "F30",
            "description": "Manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F31",
            "description": "Bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9723,
        "concept_version_id": 17208,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "146D.00",
            "description": "H/O: manic depressive disorder",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "1S42.00",
            "description": "Manic mood",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "212V.00",
            "description": "Bipolar affective disorder resolved",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110.00",
            "description": "Manic disorder, single episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110000",
            "description": "Single manic episode, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110100",
            "description": "Single manic episode, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110.11",
            "description": "Hypomanic psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110200",
            "description": "Single manic episode, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110300",
            "description": "Single manic episode, severe without mention of psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110400",
            "description": "Single manic episode, severe, with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110500",
            "description": "Single manic episode in partial or unspecified remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110600",
            "description": "Single manic episode in full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E110z00",
            "description": "Manic disorder, single episode NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111.00",
            "description": "Recurrent manic episodes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111000",
            "description": "Recurrent manic episodes, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11..11",
            "description": "Bipolar psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111100",
            "description": "Recurrent manic episodes, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111200",
            "description": "Recurrent manic episodes, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11..13",
            "description": "Manic psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111300",
            "description": "Recurrent manic episodes, severe without mention psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111400",
            "description": "Recurrent manic episodes, severe, with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111500",
            "description": "Recurrent manic episodes, partial or unspecified remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111600",
            "description": "Recurrent manic episodes, in full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E111z00",
            "description": "Recurrent manic episode NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114.00",
            "description": "Bipolar affective disorder, currently manic",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114000",
            "description": "Bipolar affective disorder, currently manic, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114100",
            "description": "Bipolar affective disorder, currently manic, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114.11",
            "description": "Manic-depressive - now manic",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114200",
            "description": "Bipolar affective disorder, currently manic, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114300",
            "description": "Bipolar affect disord, currently manic, severe, no psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114400",
            "description": "Bipolar affect disord, currently manic,severe with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114500",
            "description": "Bipolar affect disord,currently manic, part/unspec remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114600",
            "description": "Bipolar affective disorder, currently manic, full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E114z00",
            "description": "Bipolar affective disorder, currently manic, NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115.00",
            "description": "Bipolar affective disorder, currently depressed",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115000",
            "description": "Bipolar affective disorder, currently depressed, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115100",
            "description": "Bipolar affective disorder, currently depressed, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115.11",
            "description": "Manic-depressive - now depressed",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115200",
            "description": "Bipolar affective disorder, currently depressed, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115300",
            "description": "Bipolar affect disord, now depressed, severe, no psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115400",
            "description": "Bipolar affect disord, now depressed, severe with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115500",
            "description": "Bipolar affect disord, now depressed, part/unspec remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115600",
            "description": "Bipolar affective disorder, now depressed, in full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E115z00",
            "description": "Bipolar affective disorder, currently depressed, NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116.00",
            "description": "Mixed bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116000",
            "description": "Mixed bipolar affective disorder, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116100",
            "description": "Mixed bipolar affective disorder, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116200",
            "description": "Mixed bipolar affective disorder, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116300",
            "description": "Mixed bipolar affective disorder, severe, without psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116400",
            "description": "Mixed bipolar affective disorder, severe, with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116500",
            "description": "Mixed bipolar affective disorder, partial/unspec remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116600",
            "description": "Mixed bipolar affective disorder, in full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E116z00",
            "description": "Mixed bipolar affective disorder, NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117.00",
            "description": "Unspecified bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117000",
            "description": "Unspecified bipolar affective disorder, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117100",
            "description": "Unspecified bipolar affective disorder, mild",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117200",
            "description": "Unspecified bipolar affective disorder, moderate",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117300",
            "description": "Unspecified bipolar affective disorder, severe, no psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117400",
            "description": "Unspecified bipolar affective disorder,severe with psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117500",
            "description": "Unspecified bipolar affect disord, partial/unspec remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117600",
            "description": "Unspecified bipolar affective disorder, in full remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E117z00",
            "description": "Unspecified bipolar affective disorder, NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11y.00",
            "description": "Other and unspecified manic-depressive psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11y000",
            "description": "Unspecified manic-depressive psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11y100",
            "description": "Atypical manic disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11y300",
            "description": "Other mixed manic-depressive psychoses",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11yz00",
            "description": "Other and unspecified manic-depressive psychoses NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30.00",
            "description": "[X]Manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30000",
            "description": "[X]Hypomania",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30100",
            "description": "[X]Mania without psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30.11",
            "description": "[X]Bipolar disorder, single manic episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30200",
            "description": "[X]Mania with psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30211",
            "description": "[X]Mania with mood-congruent psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30212",
            "description": "[X]Mania with mood-incongruent psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30y00",
            "description": "[X]Other manic episodes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30z00",
            "description": "[X]Manic episode, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu30z11",
            "description": "[X]Mania NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31.00",
            "description": "[X]Bipolar affective disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31000",
            "description": "[X]Bipolar affective disorder, current episode hypomanic",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31100",
            "description": "[X]Bipolar affect disorder cur epi manic wout psychotic symp",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31.11",
            "description": "[X]Manic-depressive illness",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31.12",
            "description": "[X]Manic-depressive psychosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31.13",
            "description": "[X]Manic-depressive reaction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31200",
            "description": "[X]Bipolar affect disorder cur epi manic with psychotic symp",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31300",
            "description": "[X]Bipolar affect disorder cur epi mild or moderate depressn",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31400",
            "description": "[X]Bipol aff disord, curr epis sev depress, no psychot symp",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31500",
            "description": "[X]Bipolar affect dis cur epi severe depres with psyc symp",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31600",
            "description": "[X]Bipolar affective disorder, current episode mixed",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31700",
            "description": "[X]Bipolar affective disorder, currently in remission",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31800",
            "description": "[X]Bipolar affective disorder type I",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31900",
            "description": "[X]Bipolar affective disorder type II",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31911",
            "description": "[X]Bipolar II disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31y00",
            "description": "[X]Other bipolar affective disorders",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31y11",
            "description": "[X]Bipolar II disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31y12",
            "description": "[X]Recurrent manic episodes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu31z00",
            "description": "[X]Bipolar affective disorder, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu33213",
            "description": "[X]Manic-depress psychosis,depressd,no psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Eu33312",
            "description": "[X]Manic-depress psychosis,depressed type+psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Xa3WO",
            "description": "Manic mood",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaIx7",
            "description": "H/O: manic depressive disorder",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "XaMwc",
            "description": "Bipolar affective disorder resolved",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1Xz",
            "description": "Manic disorder, single episode",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1Zd",
            "description": "[X]Recurrent depressive disorder, current episode severe without psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1Ze",
            "description": "[X]Recurrent depressive disorder, current episode severe with psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1ZV",
            "description": "[X]Mania with psychotic symptoms",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1ZW",
            "description": "[X]Manic episode, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1ZX",
            "description": "[X]Other bipolar affective disorders",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "ZRby100",
            "description": "Profile of mood states, bipolar",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "ZV11111",
            "description": "[V]Personal history of manic-depressive psychosis",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV11112",
            "description": "[V]Personal history of manic-depressive psychosis",
            "attributes": {
              "type": "prevalent"
            }
          }
        ]
      },
      {
        "concept_id": 9724,
        "concept_version_id": 17209,
        "concept_name": "Type of bipolar episode",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Bipolar Type I (Mania)",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2",
            "description": "Bipolar Type II (Hypomania)",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 9725,
        "concept_version_id": 17210,
        "concept_name": "Bipolar and major depression status",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4118",
        "phenotype_version_id": 9336,
        "phenotype_name": "Bipolar affective disorder and mania",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Bipolar I Disorder",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2",
            "description": "Bipolar II Disorder",
            "attributes": {
              "type": "any"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/efyb-ng14",
    "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": 9336,
        "version_name": "Bipolar affective disorder and mania",
        "version_date": "2026-06-08T20:06:42.607143Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]