[
  {
    "phenotype_id": "PH2561",
    "phenotype_version_id": 6275,
    "name": "Code for ex-smoker",
    "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 `EXSMOK_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:25:08.655517Z",
    "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:25:12.113959Z",
    "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/exsmok_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/exsmok_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6452,
        "concept_version_id": 13937,
        "concept_name": "nhsd-primary-care-domain-refsets/exsmok_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2561",
        "phenotype_version_id": 6275,
        "phenotype_name": "Code for ex-smoker",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1092031000000108",
            "description": "Ex-smoker amount unknown",
            "attributes": null
          },
          {
            "code": "1092041000000104",
            "description": "Ex-very heavy smoker (40+/day)",
            "attributes": null
          },
          {
            "code": "1092071000000105",
            "description": "Ex-heavy smoker (20-39/day)",
            "attributes": null
          },
          {
            "code": "1092091000000109",
            "description": "Ex-moderate smoker (10-19/day)",
            "attributes": null
          },
          {
            "code": "1092111000000104",
            "description": "Ex-light smoker (1-9/day)",
            "attributes": null
          },
          {
            "code": "1092131000000107",
            "description": "Ex-trivial smoker (&lt;1/day)",
            "attributes": null
          },
          {
            "code": "160617001",
            "description": "Stopped smoking",
            "attributes": null
          },
          {
            "code": "160620009",
            "description": "Ex-pipe smoker",
            "attributes": null
          },
          {
            "code": "160621008",
            "description": "Ex-cigar smoker",
            "attributes": null
          },
          {
            "code": "160625004",
            "description": "Date ceased smoking",
            "attributes": null
          },
          {
            "code": "228486009",
            "description": "Time since stopped smoking",
            "attributes": null
          },
          {
            "code": "266921000",
            "description": "Ex-trivial cigarette smoker (&lt;1/day)",
            "attributes": null
          },
          {
            "code": "266922007",
            "description": "Ex-light cigarette smoker (1-9/day)",
            "attributes": null
          },
          {
            "code": "266923002",
            "description": "Ex-moderate cigarette smoker (10-19/day)",
            "attributes": null
          },
          {
            "code": "266924008",
            "description": "Ex-heavy cigarette smoker (20-39/day)",
            "attributes": null
          },
          {
            "code": "266925009",
            "description": "Ex-very heavy cigarette smoker (40+/day)",
            "attributes": null
          },
          {
            "code": "266928006",
            "description": "Ex-cigarette smoker amount unknown",
            "attributes": null
          },
          {
            "code": "281018007",
            "description": "Ex-cigarette smoker",
            "attributes": null
          },
          {
            "code": "360890004",
            "description": "Intolerant ex-smoker",
            "attributes": null
          },
          {
            "code": "360900008",
            "description": "Aggressive ex-smoker",
            "attributes": null
          },
          {
            "code": "48031000119106",
            "description": "Ex-smoker for more than 1 year",
            "attributes": null
          },
          {
            "code": "492191000000103",
            "description": "Ex roll-up cigarette smoker",
            "attributes": null
          },
          {
            "code": "53896009",
            "description": "Tolerant ex-smoker",
            "attributes": null
          },
          {
            "code": "735112005",
            "description": "Date ceased using moist tobacco",
            "attributes": null
          },
          {
            "code": "735128000",
            "description": "Ex-smoker for less than 1 year",
            "attributes": null
          },
          {
            "code": "8517006",
            "description": "Ex-smoker",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "0cb05c45",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/31jk-mn83",
    "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": 6275,
        "version_name": "Code for ex-smoker",
        "version_date": "2026-01-26T22:25:12.128472Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 6274,
        "version_name": "Code for ex-smoker",
        "version_date": "2026-01-26T22:25:10.992558Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6273,
        "version_name": "Code for ex-smoker",
        "version_date": "2026-01-26T22:25:09.806664Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6272,
        "version_name": "Code for ex-smoker",
        "version_date": "2026-01-26T22:25:08.668138Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]