[
  {
    "phenotype_id": "PH2442",
    "phenotype_version_id": 5875,
    "name": "Depression diagnosis codes",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nTaken from the `DEPR_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T22:15:28.972235Z",
    "author": "NHSD Primary Care Domain Refsets",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T22:15:34.647258Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/depr_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/depr_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6052,
        "concept_version_id": 13537,
        "concept_name": "nhsd-primary-care-domain-refsets/depr_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2442",
        "phenotype_version_id": 5875,
        "phenotype_name": "Depression diagnosis codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "104851000119103",
            "description": "Postpartum major depression in remission",
            "attributes": null
          },
          {
            "code": "1086471000000103",
            "description": "Recurrent reactive depressive episodes, severe, with psychosis",
            "attributes": null
          },
          {
            "code": "1086661000000108",
            "description": "Reactive depression, prolonged single episode",
            "attributes": null
          },
          {
            "code": "1089511000000100",
            "description": "Recurrent depression with current severe episode and psychotic features",
            "attributes": null
          },
          {
            "code": "1089631000000109",
            "description": "Recurrent depression with current severe episode without psychotic features",
            "attributes": null
          },
          {
            "code": "1089641000000100",
            "description": "Recurrent depression with current moderate episode",
            "attributes": null
          },
          {
            "code": "1153570009",
            "description": "Treatment resistant depression",
            "attributes": null
          },
          {
            "code": "1153575004",
            "description": "Persistent depressive disorder",
            "attributes": null
          },
          {
            "code": "1260298008",
            "description": "Depression following menopause",
            "attributes": null
          },
          {
            "code": "14183003",
            "description": "Chronic major depressive disorder, single episode",
            "attributes": null
          },
          {
            "code": "15639000",
            "description": "Moderate major depression, single episode",
            "attributes": null
          },
          {
            "code": "16238181000119101",
            "description": "Depressive disorder caused by amphetamine",
            "attributes": null
          },
          {
            "code": "16238221000119109",
            "description": "Depressive disorder caused by methamphetamine",
            "attributes": null
          },
          {
            "code": "16264621000119109",
            "description": "Recurrent mild major depressive disorder co-occurrent with anxiety",
            "attributes": null
          },
          {
            "code": "16264821000119108",
            "description": "Recurrent severe major depressive disorder co-occurrent with anxiety",
            "attributes": null
          },
          {
            "code": "16264901000119109",
            "description": "Recurrent moderate major depressive disorder co-occurrent with anxiety",
            "attributes": null
          },
          {
            "code": "16265061000119105",
            "description": "Recurrent major depressive disorder co-occurrent with anxiety in full remission",
            "attributes": null
          },
          {
            "code": "16265301000119106",
            "description": "Recurrent major depressive disorder in partial remission co-occurrent with anxiety",
            "attributes": null
          },
          {
            "code": "16265951000119109",
            "description": "Mild major depressive disorder co-occurrent with anxiety single episode",
            "attributes": null
          },
          {
            "code": "16266831000119100",
            "description": "Moderate major depressive disorder co-occurrent with anxiety single episode",
            "attributes": null
          },
          {
            "code": "16266991000119108",
            "description": "Severe major depressive disorder co-occurrent with anxiety single episode",
            "attributes": null
          },
          {
            "code": "18818009",
            "description": "Moderate recurrent major depression",
            "attributes": null
          },
          {
            "code": "191455000",
            "description": "Presenile dementia with depression",
            "attributes": null
          },
          {
            "code": "191459006",
            "description": "Senile dementia with depression",
            "attributes": null
          },
          {
            "code": "191601008",
            "description": "Single major depressive episode, mild",
            "attributes": null
          },
          {
            "code": "191602001",
            "description": "Single major depressive episode, moderate",
            "attributes": null
          },
          {
            "code": "191604000",
            "description": "Single major depressive episode, severe, with psychosis",
            "attributes": null
          },
          {
            "code": "191606003",
            "description": "Single major depressive episode, in full remission",
            "attributes": null
          },
          {
            "code": "191610000",
            "description": "Recurrent major depressive episodes, mild",
            "attributes": null
          },
          {
            "code": "191611001",
            "description": "Recurrent major depressive episodes, moderate",
            "attributes": null
          },
          {
            "code": "191613003",
            "description": "Recurrent major depressive episodes, severe, with psychosis",
            "attributes": null
          },
          {
            "code": "191615005",
            "description": "Recurrent major depressive episodes, in full remission",
            "attributes": null
          },
          {
            "code": "191616006",
            "description": "Recurrent depression",
            "attributes": null
          },
          {
            "code": "191632009",
            "description": "Bipolar affective disorder, currently depressed, severe, with psychosis",
            "attributes": null
          },
          {
            "code": "191634005",
            "description": "Bipolar affective disorder, currently depressed, in full remission",
            "attributes": null
          },
          {
            "code": "191659001",
            "description": "Atypical depressive disorder",
            "attributes": null
          },
          {
            "code": "191676002",
            "description": "Reactive depressive psychosis",
            "attributes": null
          },
          {
            "code": "192049004",
            "description": "Prolonged depressive adjustment reaction",
            "attributes": null
          },
          {
            "code": "192080009",
            "description": "Chronic depression",
            "attributes": null
          },
          {
            "code": "19527009",
            "description": "Single episode of major depression in full remission",
            "attributes": null
          },
          {
            "code": "20250007",
            "description": "Severe major depression, single episode, with psychotic features, mood-incongruent",
            "attributes": null
          },
          {
            "code": "231485007",
            "description": "Post-schizophrenic depression",
            "attributes": null
          },
          {
            "code": "231499006",
            "description": "Endogenous depression first episode",
            "attributes": null
          },
          {
            "code": "231500002",
            "description": "Masked depression",
            "attributes": null
          },
          {
            "code": "231504006",
            "description": "Mixed anxiety and depressive disorder",
            "attributes": null
          },
          {
            "code": "237349002",
            "description": "Mild postnatal depression",
            "attributes": null
          },
          {
            "code": "247803002",
            "description": "Seasonal affective disorder",
            "attributes": null
          },
          {
            "code": "251000119105",
            "description": "Severe major depression, single episode",
            "attributes": null
          },
          {
            "code": "25922000",
            "description": "Major depressive disorder, single episode with postpartum onset",
            "attributes": null
          },
          {
            "code": "268620009",
            "description": "Single major depressive episode",
            "attributes": null
          },
          {
            "code": "268621008",
            "description": "Recurrent major depressive episodes",
            "attributes": null
          },
          {
            "code": "274948002",
            "description": "Endogenous depression - recurrent",
            "attributes": null
          },
          {
            "code": "28475009",
            "description": "Severe recurrent major depression with psychotic features",
            "attributes": null
          },
          {
            "code": "288751000119101",
            "description": "Reactive depressive psychosis, single episode",
            "attributes": null
          },
          {
            "code": "300706003",
            "description": "Endogenous depression",
            "attributes": null
          },
          {
            "code": "30605009",
            "description": "Major depression in partial remission",
            "attributes": null
          },
          {
            "code": "310495003",
            "description": "Mild depression",
            "attributes": null
          },
          {
            "code": "310496002",
            "description": "Moderate depression",
            "attributes": null
          },
          {
            "code": "310497006",
            "description": "Severe depression",
            "attributes": null
          },
          {
            "code": "321717001",
            "description": "Involutional depression",
            "attributes": null
          },
          {
            "code": "33135002",
            "description": "Recurrent major depression in partial remission",
            "attributes": null
          },
          {
            "code": "35489007",
            "description": "Depressive disorder",
            "attributes": null
          },
          {
            "code": "357705009",
            "description": "Cotard's syndrome",
            "attributes": null
          },
          {
            "code": "36474008",
            "description": "Severe recurrent major depression without psychotic features",
            "attributes": null
          },
          {
            "code": "36923009",
            "description": "Major depression, single episode",
            "attributes": null
          },
          {
            "code": "370143000",
            "description": "Major depressive disorder",
            "attributes": null
          },
          {
            "code": "397701000000102",
            "description": "[X]Severe depressive episode without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "397711000000100",
            "description": "[X]Severe depressive episode with psychotic symptoms",
            "attributes": null
          },
          {
            "code": "401211000000106",
            "description": "[X] Single episode major depression without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "40379007",
            "description": "Mild recurrent major depression",
            "attributes": null
          },
          {
            "code": "40568001",
            "description": "Recurrent brief depressive disorder",
            "attributes": null
          },
          {
            "code": "426578000",
            "description": "Premenstrual dysphoric disorder in remission",
            "attributes": null
          },
          {
            "code": "42810003",
            "description": "Major depression in remission",
            "attributes": null
          },
          {
            "code": "42925002",
            "description": "Major depressive disorder, single episode with atypical features",
            "attributes": null
          },
          {
            "code": "430421000000104",
            "description": "[X]Mild depressive episode",
            "attributes": null
          },
          {
            "code": "455731000000100",
            "description": "[X] Single episode agitated depression without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "46244001",
            "description": "Recurrent major depression in full remission",
            "attributes": null
          },
          {
            "code": "465441000000108",
            "description": "[X]Moderate depressive episode",
            "attributes": null
          },
          {
            "code": "467361000000105",
            "description": "[X] Manic-depressive psychosis, depressed type without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "63412003",
            "description": "Major depression in full remission",
            "attributes": null
          },
          {
            "code": "63778009",
            "description": "Major depressive disorder, single episode with melancholic features",
            "attributes": null
          },
          {
            "code": "68019004",
            "description": "Recurrent major depression in remission",
            "attributes": null
          },
          {
            "code": "69392006",
            "description": "Major depressive disorder, single episode with catatonic features",
            "attributes": null
          },
          {
            "code": "698957003",
            "description": "Depressive disorder in remission",
            "attributes": null
          },
          {
            "code": "70747007",
            "description": "Major depression single episode, in partial remission",
            "attributes": null
          },
          {
            "code": "720453001",
            "description": "Moderately severe major depression single episode",
            "attributes": null
          },
          {
            "code": "720454007",
            "description": "Minimal major depression single episode",
            "attributes": null
          },
          {
            "code": "73867007",
            "description": "Severe major depression with psychotic features",
            "attributes": null
          },
          {
            "code": "75084000",
            "description": "Severe major depression without psychotic features",
            "attributes": null
          },
          {
            "code": "755321000000106",
            "description": "Single major depressive episode, severe, with psychosis, psychosis in remission",
            "attributes": null
          },
          {
            "code": "755331000000108",
            "description": "Recurrent major depressive episodes, severe, with psychosis, psychosis in remission",
            "attributes": null
          },
          {
            "code": "76441001",
            "description": "Severe major depression, single episode, without psychotic features",
            "attributes": null
          },
          {
            "code": "764611000000100",
            "description": "Recurrent major depressive episodes, severe",
            "attributes": null
          },
          {
            "code": "764631000000108",
            "description": "Single major depressive episode, severe",
            "attributes": null
          },
          {
            "code": "764691000000109",
            "description": "Recurrent major depressive episodes, in partial remission",
            "attributes": null
          },
          {
            "code": "764711000000106",
            "description": "Single major depressive episode, in remission",
            "attributes": null
          },
          {
            "code": "765176007",
            "description": "Psychosis and severe depression co-occurrent and due to bipolar affective disorder",
            "attributes": null
          },
          {
            "code": "77911002",
            "description": "Severe major depression, single episode, with psychotic features, mood-congruent",
            "attributes": null
          },
          {
            "code": "78667006",
            "description": "Dysthymia",
            "attributes": null
          },
          {
            "code": "788120007",
            "description": "Antenatal depression",
            "attributes": null
          },
          {
            "code": "79298009",
            "description": "Mild major depression, single episode",
            "attributes": null
          },
          {
            "code": "832007",
            "description": "Moderate major depression",
            "attributes": null
          },
          {
            "code": "83458005",
            "description": "Agitated depression",
            "attributes": null
          },
          {
            "code": "84760002",
            "description": "Schizoaffective disorder, depressive type",
            "attributes": null
          },
          {
            "code": "87414006",
            "description": "Reactive depression (situational)",
            "attributes": null
          },
          {
            "code": "87512008",
            "description": "Mild major depression",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "6d74b594",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/4adg-9195",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 5875,
        "version_name": "Depression diagnosis codes",
        "version_date": "2026-01-26T22:15:34.657683Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 5874,
        "version_name": "Depression diagnosis codes",
        "version_date": "2026-01-26T22:15:33.186457Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5873,
        "version_name": "Depression diagnosis codes",
        "version_date": "2026-01-26T22:15:31.791591Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5872,
        "version_name": "Depression diagnosis codes",
        "version_date": "2026-01-26T22:15:30.413132Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5871,
        "version_name": "Depression diagnosis codes",
        "version_date": "2026-01-26T22:15:28.983699Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]