[
  {
    "phenotype_id": "PH3174",
    "phenotype_version_id": 8157,
    "name": "serious mental illness",
    "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\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-26T23:05:50.036897Z",
    "author": "Office for National Statistics",
    "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-26T23:05:50.029913Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      }
    ],
    "open_codelist_id": "ons/serious-mental-illness",
    "source_reference": "https://www.opencodelists.org/codelist/ons/serious-mental-illness/7c3bcff9",
    "concept_information": [
      {
        "concept_id": 8334,
        "concept_version_id": 15819,
        "concept_name": "ons/serious-mental-illness/7c3bcff9",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH3174",
        "phenotype_version_id": 8157,
        "phenotype_name": "serious mental illness",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "F20",
            "description": "Schizophrenia",
            "attributes": null
          },
          {
            "code": "F200",
            "description": "Paranoid schizophrenia",
            "attributes": null
          },
          {
            "code": "F201",
            "description": "Hebephrenic schizophrenia",
            "attributes": null
          },
          {
            "code": "F202",
            "description": "Catatonic schizophrenia",
            "attributes": null
          },
          {
            "code": "F203",
            "description": "Undifferentiated schizophrenia",
            "attributes": null
          },
          {
            "code": "F204",
            "description": "Post-schizophrenic depression",
            "attributes": null
          },
          {
            "code": "F205",
            "description": "Residual schizophrenia",
            "attributes": null
          },
          {
            "code": "F206",
            "description": "Simple schizophrenia",
            "attributes": null
          },
          {
            "code": "F208",
            "description": "Other schizophrenia",
            "attributes": null
          },
          {
            "code": "F209",
            "description": "Schizophrenia, unspecified",
            "attributes": null
          },
          {
            "code": "F21",
            "description": "Schizotypal disorder",
            "attributes": null
          },
          {
            "code": "F22",
            "description": "Persistent delusional disorders",
            "attributes": null
          },
          {
            "code": "F220",
            "description": "Delusional disorder",
            "attributes": null
          },
          {
            "code": "F228",
            "description": "Other persistent delusional disorders",
            "attributes": null
          },
          {
            "code": "F229",
            "description": "Persistent delusional disorder, unspecified",
            "attributes": null
          },
          {
            "code": "F23",
            "description": "Acute and transient psychotic disorders",
            "attributes": null
          },
          {
            "code": "F230",
            "description": "Acute polymorphic psychotic disorder without symptoms of schizophrenia",
            "attributes": null
          },
          {
            "code": "F231",
            "description": "Acute polymorphic psychotic disorder with symptoms of schizophrenia",
            "attributes": null
          },
          {
            "code": "F232",
            "description": "Acute schizophrenia-like psychotic disorder",
            "attributes": null
          },
          {
            "code": "F233",
            "description": "Other acute predominantly delusional psychotic disorders",
            "attributes": null
          },
          {
            "code": "F238",
            "description": "Other acute and transient psychotic disorders",
            "attributes": null
          },
          {
            "code": "F239",
            "description": "Acute and transient psychotic disorder, unspecified",
            "attributes": null
          },
          {
            "code": "F24",
            "description": "Induced delusional disorder",
            "attributes": null
          },
          {
            "code": "F25",
            "description": "Schizoaffective disorders",
            "attributes": null
          },
          {
            "code": "F250",
            "description": "Schizoaffective disorder, manic type",
            "attributes": null
          },
          {
            "code": "F251",
            "description": "Schizoaffective disorder, depressive type",
            "attributes": null
          },
          {
            "code": "F252",
            "description": "Schizoaffective disorder, mixed type",
            "attributes": null
          },
          {
            "code": "F258",
            "description": "Other schizoaffective disorders",
            "attributes": null
          },
          {
            "code": "F259",
            "description": "Schizoaffective disorder, unspecified",
            "attributes": null
          },
          {
            "code": "F28",
            "description": "Other nonorganic psychotic disorders",
            "attributes": null
          },
          {
            "code": "F29",
            "description": "Unspecified nonorganic psychosis",
            "attributes": null
          },
          {
            "code": "F30",
            "description": "Manic episode",
            "attributes": null
          },
          {
            "code": "F300",
            "description": "Hypomania",
            "attributes": null
          },
          {
            "code": "F301",
            "description": "Mania without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F302",
            "description": "Mania with psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F308",
            "description": "Other manic episodes",
            "attributes": null
          },
          {
            "code": "F309",
            "description": "Manic episode, unspecified",
            "attributes": null
          },
          {
            "code": "F31",
            "description": "Bipolar affective disorder",
            "attributes": null
          },
          {
            "code": "F310",
            "description": "Bipolar affective disorder, current episode hypomanic",
            "attributes": null
          },
          {
            "code": "F311",
            "description": "Bipolar affective disorder, current episode manic without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F312",
            "description": "Bipolar affective disorder, current episode manic with psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F313",
            "description": "Bipolar affective disorder, current episode mild or moderate depression",
            "attributes": null
          },
          {
            "code": "F314",
            "description": "Bipolar affective disorder, current episode severe depression without psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F315",
            "description": "Bipolar affective disorder, current episode severe depression with psychotic symptoms",
            "attributes": null
          },
          {
            "code": "F316",
            "description": "Bipolar affective disorder, current episode mixed",
            "attributes": null
          },
          {
            "code": "F317",
            "description": "Bipolar affective disorder, currently in remission",
            "attributes": null
          },
          {
            "code": "F318",
            "description": "Other bipolar affective disorders",
            "attributes": null
          },
          {
            "code": "F319",
            "description": "Bipolar affective disorder, unspecified",
            "attributes": null
          },
          {
            "code": "F340",
            "description": "Cyclothymia",
            "attributes": null
          },
          {
            "code": "F531",
            "description": "Severe mental and behavioural disorders associated with the puerperium, not elsewhere classified",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "7c3bcff9",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/fbp4-hm02",
    "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": 8157,
        "version_name": "serious mental illness",
        "version_date": "2026-01-26T23:05:50.047758Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]