[
  {
    "phenotype_id": "PH3600",
    "phenotype_version_id": 8690,
    "name": "Opioid-containing medicines (inhalation- excluding drugs for substance misuse) - Pseudo BNF",
    "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\nAll opioid\\-containing products which are given via inhaled route of administration, EXCLUDING products listed in section 4\\.10 (substance misuse) of the legacy BNF code structure. Drugs outside of this, but not included in \"opioid analgesics\" in the BNF ARE included (e.g. co\\-codamol, alfentanil)\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:25:41.255033Z",
    "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:25:41.245831Z",
    "references": [
      {
        "url": "https://github.com/ebmdatalab/openprescribing/pull/2907",
        "title": "Opioid OME measure definition pull request"
      },
      {
        "url": "https://github.com/opensafely/codelist-development/issues/237",
        "title": "Codelist Github issue containing SQL"
      }
    ],
    "signed_off": [],
    "methodology": "A modified version of the SQL used to create the measure definition for the opioid OME measure on OpenPrescribing was created. \n\n\nThe prescribing data table was replaced with the BNF hierarchy table, and code that related to calculating the OME was removed, leaving only identification of products containing opioids, as defined in the measure definition.\n\n\nThe SQL can be found on the Github issue for this codelist (listed in the references).\n\n\nThese codes were then filtered to only include inhaled route of administration.\n\n",
    "coding_system": [
      {
        "name": "BNF codes",
        "value": 11
      }
    ],
    "open_codelist_id": "opensafely/opioid-containing-medicines-inhalation-excluding-drugs-for-substance-misuse",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/opioid-containing-medicines-inhalation-excluding-drugs-for-substance-misuse/7eee8fef",
    "concept_information": [
      {
        "concept_id": 8867,
        "concept_version_id": 16352,
        "concept_name": "opensafely/opioid-containing-medicines-inhalation-excluding-drugs-for-substance-misuse/7eee8fef",
        "coding_system": {
          "id": 11,
          "name": "BNF codes",
          "description": "BNF codes"
        },
        "phenotype_id": "PH3600",
        "phenotype_version_id": 8690,
        "phenotype_name": "Opioid-containing medicines (inhalation- excluding drugs for substance misuse) - Pseudo BNF",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "0407020K0AABCBC",
            "description": "Diamorphine 100mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AABFBF",
            "description": "Diamorphine 30mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AACGCG",
            "description": "Diamorphine 60mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AADCDC",
            "description": "Diamorphine 40mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AADLDL",
            "description": "Diamorphine 50mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AAEUEU",
            "description": "Diamorphine 20mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020K0AAEVEV",
            "description": "Diamorphine 120mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020M0AAA2A2",
            "description": "Methadone 100mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020M0AAAGAG",
            "description": "Methadone 40mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020M0AAAJAJ",
            "description": "Methadone 30mg impregnated cigarettes",
            "attributes": null
          },
          {
            "code": "0407020M0AAAXAX",
            "description": "Methadone 60mg impregnated cigarettes",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "7eee8fef",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/jjbx-1q75",
    "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": 8690,
        "version_name": "Opioid-containing medicines (inhalation- excluding drugs for substance misuse) - Pseudo BNF",
        "version_date": "2026-01-26T23:25:41.268675Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]