[
  {
    "phenotype_id": "PH964",
    "phenotype_version_id": 2142,
    "name": "Depression",
    "definition": "\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Rochelle Knight, Venexia Walker, Samantha Ip, Jennifer A Cooper, Thomas Bolton, Spencer Keene, Rachel Denholm, Ashley Akbari, Hoda Abbasizanjani, Fatemeh Torabi, Efosa Omigie, Sam Hollings, Teri-Louise North, Renin Toms, Emanuele Di Angelantonio, Spiros Denaxas, Johan H Thygesen, Christopher Tomlinson, Ben Bray, Craig J Smith, Mark Barber, George Davey Smith, Nishi Chaturvedi, Cathie Sudlow, William N Whiteley, Angela Wood, Jonathan A C Sterne, for the CVD-COVID-UK/COVID-IMPACT consortium and th",
        "primary": true
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-05-09T07:58:04.192980Z",
    "author": "Rochelle Knight, Venexia Walker, Samantha Ip, Jennifer A Cooper, Thomas Bolton, Spencer Keene, Rachel Denholm, Ashley Akbari, Hoda Abbasizanjani, Fatemeh Torabi, Efosa Omigie, Sam Hollings, Teri-Louise North, Renin Toms, Emanuele Di Angelantonio, Spiros Denaxas, Johan H Thygesen, Christopher Tomlinson, Ben Bray, Craig J Smith, Mark Barber, George Davey Smith, Nishi Chaturvedi, Cathie Sudlow, William N Whiteley, Angela Wood, Jonathan A C Sterne",
    "collections": [
      {
        "name": "BHF Data Science Centre",
        "value": 20
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 13,
      "slug": "bhf-data-science-centre",
      "name": "BHF Data Science Centre"
    },
    "world_access": 1,
    "updated": "2022-05-17T21:18:38.679493Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "Trusted Research Environments for CVD-COVID-UK / COVID-IMPACT",
        "value": 37,
        "uid": "7e5f0247-f033-4f98-aed3-3d7422b9dc6d",
        "url": "https://healthdatagateway.org/en/dataset/1379",
        "datasource_id": 1379
      },
      {
        "name": "GPES Data for Pandemic Planning and Research (COVID-19)",
        "value": 1,
        "uid": "c7eed372-9f1e-467e-8a37-948f4de5abc4",
        "url": "https://healthdatagateway.org/en/dataset/874",
        "datasource_id": 874
      },
      {
        "name": "Hospital Episode Statistics Admitted Patient Care",
        "value": 2,
        "uid": "6599230a-df54-4615-937c-d724d239491f",
        "url": "https://healthdatagateway.org/en/dataset/875",
        "datasource_id": 875
      },
      {
        "name": "Secondary Uses Services Payment By Results",
        "value": 38,
        "uid": "d4c2361e-556f-4812-b17e-7f371b04c0d2",
        "url": "https://healthdatagateway.org/en/dataset/851",
        "datasource_id": 851
      },
      {
        "name": "Civil Registration - Deaths",
        "value": 3,
        "uid": "b9009bc5-b7a6-4036-9d4b-a5133c0b14a3",
        "url": "https://healthdatagateway.org/en/dataset/877",
        "datasource_id": 877
      },
      {
        "name": "Covid-19 Second Generation Surveillance System",
        "value": 4,
        "uid": "4e289a0f-50e7-4413-9376-ffbd13fc1a59",
        "url": "https://healthdatagateway.org/en/dataset/854",
        "datasource_id": 854
      },
      {
        "name": "COVID-19 Test Results (PATD)",
        "value": 39,
        "uid": "f5f6d882-163d-4ef1-a53e-000fba409480",
        "url": "https://healthdatagateway.org/en/dataset/345",
        "datasource_id": 345
      },
      {
        "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": "Welsh Longitudinal General Practice Dataset (WLGP) - Welsh Primary Care",
        "value": 41,
        "uid": "33fc3ffd-aa4c-4a16-a32f-0c900aaea3d2",
        "url": "https://healthdatagateway.org/en/dataset/355",
        "datasource_id": 355
      }
    ],
    "endorsements": null,
    "project_name": "CCU002_01",
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "corresp_author": null,
    "event_date_range": "01/01/1997 - 07/12/2020",
    "concept_information": [
      {
        "concept_id": 2778,
        "concept_version_id": 7299,
        "concept_name": "CCU002_01 Depression - Phenotypes - England hospitalization EHR: Depression diagnosis",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH964",
        "phenotype_version_id": 2142,
        "phenotype_name": "Depression",
        "code_attribute_header": [
          "terminology",
          "code_type"
        ],
        "codes": [
          {
            "code": "F32",
            "description": "Depressive episode",
            "attributes": {
              "terminology": "ICD10",
              "code_type": "1"
            }
          },
          {
            "code": "F33",
            "description": "Recurrent depressive disorder",
            "attributes": {
              "terminology": "ICD10",
              "code_type": "1"
            }
          }
        ]
      },
      {
        "concept_id": 2779,
        "concept_version_id": 7300,
        "concept_name": "CCU002_01 Depression - Phenotypes - England primary care EHR: Depression diagnosis",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH964",
        "phenotype_version_id": 2142,
        "phenotype_name": "Depression",
        "code_attribute_header": [
          "terminology",
          "code_type"
        ],
        "codes": [
          {
            "code": "1086471000000103",
            "description": "Recurrent reactive depressive episodes, severe, with psychosis (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "1086661000000108",
            "description": "Reactive depression, prolonged single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "1089511000000100",
            "description": "Recurrent depression with current severe episode and psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "1089631000000109",
            "description": "Recurrent depression with current severe episode without psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "1089641000000100",
            "description": "Recurrent depression with current moderate episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "15639000",
            "description": "Moderate major depression, single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "16264621000119109",
            "description": "Recurrent mild major depressive disorder co-occurrent with anxiety (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "16264901000119109",
            "description": "Recurrent moderate major depressive disorder co-occurrent with anxiety (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "16265951000119109",
            "description": "Mild major depressive disorder co-occurrent with anxiety single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "16266831000119100",
            "description": "Moderate major depressive disorder co-occurrent with anxiety single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "18818009",
            "description": "Moderate recurrent major depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191455000",
            "description": "Presenile dementia with depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191459006",
            "description": "Senile dementia with depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191601008",
            "description": "Single major depressive episode, mild (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191604000",
            "description": "Single major depressive episode, severe, with psychosis (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191610000",
            "description": "Recurrent major depressive episodes, mild (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191611001",
            "description": "Recurrent major depressive episodes, moderate (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191613003",
            "description": "Recurrent major depressive episodes, severe, with psychosis (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191616006",
            "description": "Recurrent depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191659001",
            "description": "Atypical depressive disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "191676002",
            "description": "Reactive depressive psychosis (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "192049004",
            "description": "Prolonged depressive adjustment reaction (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "192080009",
            "description": "Chronic depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "19527009",
            "description": "Single episode of major depression in full remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "231485007",
            "description": "Post-schizophrenic depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "231499006",
            "description": "Endogenous depression first episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "231500002",
            "description": "Masked depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "231504006",
            "description": "Mixed anxiety and depressive disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "247803002",
            "description": "Seasonal affective disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "251000119105",
            "description": "Severe major depression, single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "25922000",
            "description": "Major depressive disorder, single episode with postpartum onset (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "268621008",
            "description": "Recurrent major depressive episodes (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "274948002",
            "description": "Endogenous depression - recurrent (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "28475009",
            "description": "Severe recurrent major depression with psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "300706003",
            "description": "Endogenous depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "310495003",
            "description": "Mild depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "310496002",
            "description": "Moderate depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "310497006",
            "description": "Severe depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "35489007",
            "description": "Depressive disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "357705009",
            "description": "Cotard's syndrome (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "36474008",
            "description": "Severe recurrent major depression without psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "36923009",
            "description": "Major depression, single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "370143000",
            "description": "Major depressive disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "397701000000102",
            "description": "[X]Severe depressive episode without psychotic symptoms (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "397711000000100",
            "description": "[X]Severe depressive episode with psychotic symptoms (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "40379007",
            "description": "Mild recurrent major depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "40568001",
            "description": "Recurrent brief depressive disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "430421000000104",
            "description": "[X]Mild depressive episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "465441000000108",
            "description": "[X]Moderate depressive episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "698957003",
            "description": "Depressive disorder in remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "70747007",
            "description": "Major depression single episode, in partial remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "720453001",
            "description": "Moderately severe major depression single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "73867007",
            "description": "Severe major depression with psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "75084000",
            "description": "Severe major depression without psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "755321000000106",
            "description": "Single major depressive episode, severe, with psychosis, psychosis in remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "755331000000108",
            "description": "Recurrent major depressive episodes, severe, with psychosis, psychosis in remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "76441001",
            "description": "Severe major depression, single episode, without psychotic features (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "764611000000100",
            "description": "Recurrent major depressive episodes, severe (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "764691000000109",
            "description": "Recurrent major depressive episodes, in partial remission (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "765176007",
            "description": "Psychosis and severe depression co-occurrent and due to bipolar affective disorder (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "78667006",
            "description": "Dysthymia (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "79298009",
            "description": "Mild major depression, single episode (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "832007",
            "description": "Moderate major depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "83458005",
            "description": "Agitated depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "84760002",
            "description": "Schizoaffective disorder, depressive type (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "87414006",
            "description": "Reactive depression (situational) (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          },
          {
            "code": "87512008",
            "description": "Mild major depression (disorder)",
            "attributes": {
              "terminology": "SNOMEDCT",
              "code_type": "1"
            }
          }
        ]
      },
      {
        "concept_id": 2780,
        "concept_version_id": 7301,
        "concept_name": "CCU002_01 Depression - Phenotypes - Wales primary care EHR: Depression diagnosis",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH964",
        "phenotype_version_id": 2142,
        "phenotype_name": "Depression",
        "code_attribute_header": [
          "Category",
          "Phenotype"
        ],
        "codes": [
          {
            "code": "1465",
            "description": "H/O: depression                                                                                                                                                                                                                                                ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "212S.",
            "description": "Depression resolved                                                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "8BK0.",
            "description": "Depression management programme                                                                                                                                                                                                                                ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "8CAa.",
            "description": "Patient given advice about management of depression                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "8HHq.",
            "description": "Referral for guided self-help for depression                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9H90.",
            "description": "Depression annual review                                                                                                                                                                                                                                       ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9H91.",
            "description": "Depression medication review                                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9H92.",
            "description": "Depression interim review                                                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9HA0.",
            "description": "On depression register                                                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9k4..",
            "description": "Depression - enhanced services administration                                                                                                                                                                                                                  ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9k40.",
            "description": "Depression - enhanced service completed                                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9kQ..",
            "description": "On full dose long term treatment depression - enh serv admin                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov..",
            "description": "Depression monitoring administration                                                                                                                                                                                                                           ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov0.",
            "description": "Depression monitoring first letter                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov1.",
            "description": "Depression monitoring second letter                                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov2.",
            "description": "Depression monitoring third letter                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov3.",
            "description": "Depression monitoring verbal invite                                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "9Ov4.",
            "description": "Depression monitoring telephone invite                                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E0013",
            "description": "Presenile dementia with depression                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E0021",
            "description": "Senile dementia with depression                                                                                                                                                                                                                                ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E0043",
            "description": "Arteriosclerotic dementia with depression                                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E112.",
            "description": "Single major depressive episode                                                                                                                                                                                                                                ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1120",
            "description": "Single major depressive episode, unspecified                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1121",
            "description": "Single major depressive episode, mild                                                                                                                                                                                                                          ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1122",
            "description": "Single major depressive episode, moderate                                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1123",
            "description": "Single major depressive episode, severe, without psychosis                                                                                                                                                                                                     ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1124",
            "description": "Single major depressive episode, severe, with psychosis                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1125",
            "description": "Single major depressive episode, partial or unspec remission                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1126",
            "description": "Single major depressive episode, in full remission                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E112z",
            "description": "Single major depressive episode NOS                                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E113.",
            "description": "Recurrent major depressive episode                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1130",
            "description": "Recurrent major depressive episodes, unspecified                                                                                                                                                                                                               ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1131",
            "description": "Recurrent major depressive episodes, mild                                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1132",
            "description": "Recurrent major depressive episodes, moderate                                                                                                                                                                                                                  ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1133",
            "description": "Recurrent major depressive episodes, severe, no psychosis                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1134",
            "description": "Recurrent major depressive episodes, severe, with psychosis                                                                                                                                                                                                    ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1135",
            "description": "Recurrent major depressive episodes,partial/unspec remission                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1136",
            "description": "Recurrent major depressive episodes, in full remission                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E1137",
            "description": "Recurrent depression                                                                                                                                                                                                                                           ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E113z",
            "description": "Recurrent major depressive episode NOS                                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E118.",
            "description": "Seasonal affective disorder                                                                                                                                                                                                                                    ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E11y2",
            "description": "Atypical depressive disorder                                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E11z2",
            "description": "Masked depression                                                                                                                                                                                                                                              ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E130.",
            "description": "Reactive depressive psychosis                                                                                                                                                                                                                                  ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E135.",
            "description": "Agitated depression                                                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E2003",
            "description": "Anxiety with depression                                                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E291.",
            "description": "Prolonged depressive reaction                                                                                                                                                                                                                                  ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E2B..",
            "description": "Depressive disorder NEC                                                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "E2B1.",
            "description": "Chronic depression                                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu204",
            "description": "[X]Post-schizophrenic depression                                                                                                                                                                                                                               ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu251",
            "description": "[X]Schizoaffective disorder, depressive type                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu32.",
            "description": "[X]Depressive episode                                                                                                                                                                                                                                          ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu320",
            "description": "[X]Mild depressive episode                                                                                                                                                                                                                                     ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu321",
            "description": "[X]Moderate depressive episode                                                                                                                                                                                                                                 ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu322",
            "description": "[X]Severe depressive episode without psychotic symptoms                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu323",
            "description": "[X]Severe depressive episode with psychotic symptoms                                                                                                                                                                                                           ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu324",
            "description": "[X]Mild depression                                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu325",
            "description": "[X]Major depression, mild                                                                                                                                                                                                                                      ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu326",
            "description": "[X]Major depression, moderately severe                                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu327",
            "description": "[X]Major depression, severe without psychotic symptoms                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu328",
            "description": "[X]Major depression, severe with psychotic symptoms                                                                                                                                                                                                            ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu329",
            "description": "[X]Single major depr ep, severe with psych, psych in remiss                                                                                                                                                                                                    ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu32A",
            "description": "[X]Recurr major depr ep, severe with psych, psych in remiss                                                                                                                                                                                                    ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu32y",
            "description": "[X]Other depressive episodes                                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu32z",
            "description": "[X]Depressive episode, unspecified                                                                                                                                                                                                                             ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu33.",
            "description": "[X]Recurrent depressive disorder                                                                                                                                                                                                                               ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu330",
            "description": "[X]Recurrent depressive disorder, current episode mild                                                                                                                                                                                                         ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu331",
            "description": "[X]Recurrent depressive disorder, current episode moderate                                                                                                                                                                                                     ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu332",
            "description": "[X]Recurr depress disorder cur epi severe without psyc sympt                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu333",
            "description": "[X]Recurrent depress disorder cur epi severe with psyc symp                                                                                                                                                                                                    ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu334",
            "description": "[X]Recurrent depressive disorder, currently in remission                                                                                                                                                                                                       ",
            "attributes": {
              "Category": "History of Depression                             ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu33y",
            "description": "[X]Other recurrent depressive disorders                                                                                                                                                                                                                        ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu33z",
            "description": "[X]Recurrent depressive disorder, unspecified                                                                                                                                                                                                                  ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu341",
            "description": "[X]Dysthymia                                                                                                                                                                                                                                                   ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          },
          {
            "code": "Eu412",
            "description": "[X]Mixed anxiety and depressive disorder                                                                                                                                                                                                                       ",
            "attributes": {
              "Category": "Diagnosis of Depression                           ",
              "Phenotype": "DEPRESSION"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/jv3g-kz29",
    "is_deleted": null,
    "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": 2142,
        "version_name": "Depression",
        "version_date": "2022-05-17T21:18:38.975086Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 2007,
        "version_name": "Depression",
        "version_date": "2022-05-09T07:58:04.250469Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]