[
  {
    "phenotype_id": "PH3725",
    "phenotype_version_id": 8849,
    "name": "Smoking - Clear (SNOMED)",
    "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\nAutomatically\\-generated equivalent of [Smoking \\- Clear](/codelist/opensafely/smoking-clear/)\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:31:28.349576Z",
    "author": "OpenSAFELY",
    "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:31:28.344079Z",
    "references": [],
    "signed_off": [],
    "methodology": "See [code on GitHub](https://github.com/opensafely-core/opencodelists/blob/248fe3397327e019a2d93830bd5fdb1c2562b23d/codelists/management/commands/convert_codelist.py)\n\n",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "opensafely/smoking-clear-snomed",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/smoking-clear-snomed/2020-04-29",
    "concept_information": [
      {
        "concept_id": 9026,
        "concept_version_id": 16511,
        "concept_name": "opensafely/smoking-clear-snomed/2020-04-29",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3725",
        "phenotype_version_id": 8849,
        "phenotype_name": "Smoking - Clear (SNOMED)",
        "code_attribute_header": [
          "active",
          "notes"
        ],
        "codes": [
          {
            "code": "105539002",
            "description": "Non-smoker for personal reasons (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "105540000",
            "description": "Non-smoker for religious reasons (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "105541001",
            "description": "Non-smoker for medical reasons (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1084051000000108",
            "description": "Occasional tobacco smoker (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "1092031000000108",
            "description": "Ex-smoker amount unknown (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092041000000104",
            "description": "Ex-very heavy smoker (40+/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092071000000105",
            "description": "Ex-heavy smoker (20-39/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092091000000109",
            "description": "Ex-moderate smoker (10-19/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092111000000104",
            "description": "Ex-light smoker (1-9/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092131000000107",
            "description": "Ex-trivial smoker (&lt;1/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "10998291000119107",
            "description": "History of smoking (situation)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "1221000119103",
            "description": "History of tobacco use (situation)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "134406006",
            "description": "Smoking reduced (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160603005",
            "description": "Light cigarette smoker (1-9 cigs/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160604004",
            "description": "Moderate cigarette smoker (10-19 cigs/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160605003",
            "description": "Heavy cigarette smoker (20-39 cigs/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160606002",
            "description": "Very heavy cigarette smoker (40+ cigs/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160607006",
            "description": "Ex-trivial smoker (&lt;1/day) (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160608001",
            "description": "Ex-light smoker (1-9/day) (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160609009",
            "description": "Ex-moderate smoker (10-19/day) (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160610004",
            "description": "Ex-heavy smoker (20-39/day) (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160611000",
            "description": "Ex-very heavy smoker (40+/day) (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160615009",
            "description": "Ex-smoker - amount unknown (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "160617001",
            "description": "Stopped smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160618006",
            "description": "Current non-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160619003",
            "description": "Rolls own cigarettes (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160620009",
            "description": "Ex-pipe smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160621008",
            "description": "Ex-cigar smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "160625004",
            "description": "Date ceased smoking (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "16077091000119107",
            "description": "Tobacco dependence caused by cigarettes (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "16077171000119107",
            "description": "Tobacco dependence caused by chewing tobacco (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "191887008",
            "description": "Tobacco dependence, continuous (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "191888003",
            "description": "Tobacco dependence, episodic (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "191889006",
            "description": "Tobacco dependence in remission (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "192285006",
            "description": "[X]Mental and behavioral disorder due to use of tobacco (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192289000",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: withdrawal state (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192290009",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: withdrawal state with delirium (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192291008",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: psychotic disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192293006",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: residual and late-onset psychotic disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192294000",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: other mental and behavioral disorders (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "192295004",
            "description": "[X]Mental and behavioral disorders due to use of tobacco: unspecified mental and behavioral disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "198271000000106",
            "description": "[V]Personal history of tobacco abuse (situation)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "203191000000107",
            "description": "Wants to stop smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "213191000000105",
            "description": "[V]Personal history of tobacco abuse",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "225934006",
            "description": "Smokes in bed (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "228486009",
            "description": "Time since stopped smoking (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230059006",
            "description": "Occasional cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230060001",
            "description": "Light cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230062009",
            "description": "Moderate cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230063004",
            "description": "Heavy cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230064005",
            "description": "Very heavy cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "230065006",
            "description": "Chain smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "235033006",
            "description": "Smokers keratosis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266919005",
            "description": "Never smoked tobacco (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266920004",
            "description": "Trivial cigarette smoker (less than one cigarette/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266921000",
            "description": "Ex-trivial cigarette smoker (&lt;1/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266922007",
            "description": "Ex-light cigarette smoker (1-9/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266923002",
            "description": "Ex-moderate cigarette smoker (10-19/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266924008",
            "description": "Ex-heavy cigarette smoker (20-39/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266925009",
            "description": "Ex-very heavy cigarette smoker (40+/day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266928006",
            "description": "Ex-cigarette smoker amount unknown (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "266929003",
            "description": "Smoking started (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "281018007",
            "description": "Ex-cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "30310000",
            "description": "Nicotine-induced organic mental disorder (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "308438006",
            "description": "Smoking restarted (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "316496006",
            "description": "[V]Tobacco abuse counseling (situation)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "360890004",
            "description": "Intolerant ex-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "360900008",
            "description": "Aggressive ex-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "360918006",
            "description": "Aggressive non-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "360929005",
            "description": "Intolerant non-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "394871007",
            "description": "Thinking about stopping smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "394872000",
            "description": "Ready to stop smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "394873005",
            "description": "Not interested in stopping smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "396621000000103",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: other mental and behavioural disorders (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "401159003",
            "description": "Reason for restarting smoking (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "405746006",
            "description": "Current non smoker but past smoking history unknown (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "408701000000107",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: residual and late-onset psychotic disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "411461000000105",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: withdrawal state (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "413173009",
            "description": "Minutes from waking to first tobacco consumption (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "413901000000104",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: psychotic disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "428041000124106",
            "description": "Occasional tobacco smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "431391000000104",
            "description": "[X]Mental and behavioural disorder due to use of tobacco (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "446172000",
            "description": "Failed attempt to stop smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "448755007",
            "description": "Tobacco smokefree home (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "449345000",
            "description": "Smoked before confirmation of pregnancy (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "449368009",
            "description": "Stopped smoking during pregnancy (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "449369001",
            "description": "Stopped smoking before pregnancy (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "466861000000102",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: unspecified mental and behavioural disorder (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "466951000000105",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: acute intoxication (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "467031000000102",
            "description": "[V]Tobacco abuse counselling (situation)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "46802002",
            "description": "Smokers' cough (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "468551000000102",
            "description": "[X]Mental and behavioural disorders due to use of tobacco: withdrawal state with delirium (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "48031000119106",
            "description": "Ex-smoker for more than 1 year (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "485971000000109",
            "description": "Ex-cigarette smoker",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "487391000000101",
            "description": "Ex-cigarette smoker",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "492191000000103",
            "description": "Ex roll-up cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "492201000000101",
            "description": "Ex-rolls own cigarettes",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "492211000000104",
            "description": "Ex-rolls own cigarettes",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "505651000000103",
            "description": "Current smoker annual review (regime/therapy)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "505681000000109",
            "description": "Non-smoker annual review (regime/therapy)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "505761000000105",
            "description": "Ex-smoker annual review (regime/therapy)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "510531000000102",
            "description": "Ex-smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "510541000000106",
            "description": "Non-smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "510551000000109",
            "description": "Ex-smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "510561000000107",
            "description": "Non-smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "510571000000100",
            "description": "Current smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "510581000000103",
            "description": "Current smoker annual review - enhanced services administration",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "517211000000106",
            "description": "Recently stopped smoking (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "517271000000101",
            "description": "Current smoker annual review (procedure)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "53896009",
            "description": "Tolerant ex-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "56578002",
            "description": "Moderate smoker (20 or less per day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "56771006",
            "description": "Heavy smoker (over 20 per day) (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "59978006",
            "description": "Cigar smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "620191000000108",
            "description": "Tobacco dependence NOS (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "621281000000106",
            "description": "Tobacco dependence, unspecified (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "65568007",
            "description": "Cigarette smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "707381000000107",
            "description": "Recently stopped smoking",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "711028002",
            "description": "Counseling about tobacco use (procedure)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "726831000000105",
            "description": "Failed attempt to stop smoking (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "726841000000101",
            "description": "Failed attempt to stop smoking",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "735112005",
            "description": "Date ceased using moist tobacco (observable entity)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "735128000",
            "description": "Ex-smoker for less than 1 year (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "766581000000100",
            "description": "Stopped smoking during pregnancy (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "766611000000106",
            "description": "Stopped smoking before pregnancy (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "766621000000100",
            "description": "Smoker before confirmation of pregnancy (finding)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "771271000000104",
            "description": "Tobacco smoke free home (observable entity)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "77176002",
            "description": "Smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "82302008",
            "description": "Pipe smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "8392000",
            "description": "Non-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "8517006",
            "description": "Ex-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "87739003",
            "description": "Tolerant non-smoker (finding)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "89765005",
            "description": "Tobacco dependence syndrome (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "6bedfe70",
    "open_codelist_version_tag": "2020-04-29",
    "status": 1,
    "doi": "https://doi.org/10.48533/b9g6-nn46",
    "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": 8849,
        "version_name": "Smoking - Clear (SNOMED)",
        "version_date": "2026-01-26T23:31:28.358204Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]