[
  {
    "phenotype_id": "PH3607",
    "phenotype_version_id": 8697,
    "name": "Opioid-containing medicines (rectal - excluding drugs for substance misuse) - dm+d",
    "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 rectal 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:26:02.420334Z",
    "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:26:02.412840Z",
    "references": [
      {
        "url": "https://www.opencodelists.org/codelist/opensafely/opioid-containing-medicines-rectal-excluding-drugs-for-substance-misuse/17fe0325/",
        "title": "Opioid-containing medicines (rectal - excluding drugs for substance misuse) - Pseudo BNF"
      }
    ],
    "signed_off": [],
    "methodology": "See pseudo BNF version for methodology\n\n",
    "coding_system": [
      {
        "name": "dm+d codes",
        "value": 23
      }
    ],
    "open_codelist_id": "opensafely/opioid-containing-medicines-rectal-excluding-drugs-for-substance-misuse-dmd",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/opioid-containing-medicines-rectal-excluding-drugs-for-substance-misuse-dmd/3c95c0c4",
    "concept_information": [
      {
        "concept_id": 8874,
        "concept_version_id": 16359,
        "concept_name": "opensafely/opioid-containing-medicines-rectal-excluding-drugs-for-substance-misuse-dmd/3c95c0c4",
        "coding_system": {
          "id": 23,
          "name": "dm+d codes",
          "description": "dm+d codes"
        },
        "phenotype_id": "PH3607",
        "phenotype_version_id": 8697,
        "phenotype_name": "Opioid-containing medicines (rectal - excluding drugs for substance misuse) - dm+d",
        "code_attribute_header": [
          "dmd_id",
          "dmd_type",
          "bnf_code"
        ],
        "codes": [
          {
            "code": "12316511000001108",
            "description": "Diamorphine 5mg suppositories",
            "attributes": {
              "dmd_id": "12316511000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020K0AACUCU"
            }
          },
          {
            "code": "12321111000001102",
            "description": "Morphine hydrochloride 10mg suppositories",
            "attributes": {
              "dmd_id": "12321111000001102",
              "dmd_type": "AMP",
              "bnf_code": "0407020P0AAAQAQ"
            }
          },
          {
            "code": "12321611000001105",
            "description": "Morphine hydrochloride 30mg suppositories",
            "attributes": {
              "dmd_id": "12321611000001105",
              "dmd_type": "AMP",
              "bnf_code": "0407020P0AAACAC"
            }
          },
          {
            "code": "12337011000001106",
            "description": "Morphine sulfate 100mg suppositories",
            "attributes": {
              "dmd_id": "12337011000001106",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AABPBP"
            }
          },
          {
            "code": "12337811000001100",
            "description": "Morphine sulfate 2.5mg suppositories",
            "attributes": {
              "dmd_id": "12337811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAEEEE"
            }
          },
          {
            "code": "12338111000001108",
            "description": "Morphine sulfate 50mg suppositories",
            "attributes": {
              "dmd_id": "12338111000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AABVBV"
            }
          },
          {
            "code": "12338511000001104",
            "description": "Morphine sulfate 5mg suppositories",
            "attributes": {
              "dmd_id": "12338511000001104",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AABJBJ"
            }
          },
          {
            "code": "12338811000001101",
            "description": "Morphine sulfate 60mg suppositories",
            "attributes": {
              "dmd_id": "12338811000001101",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AABNBN"
            }
          },
          {
            "code": "12339211000001107",
            "description": "Morphine sulfate 750mg suppositories",
            "attributes": {
              "dmd_id": "12339211000001107",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAEPEP"
            }
          },
          {
            "code": "12350511000001103",
            "description": "Oxycodone hydrochloride 30mg suppositories",
            "attributes": {
              "dmd_id": "12350511000001103",
              "dmd_type": "AMP",
              "bnf_code": "0407020Z0AAAAAA"
            }
          },
          {
            "code": "12350811000001100",
            "description": "Oxycodone hydrochloride 60mg suppositories",
            "attributes": {
              "dmd_id": "12350811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Z0AAABAB"
            }
          },
          {
            "code": "12389111000001109",
            "description": "Diamorphine 5mg suppositories",
            "attributes": {
              "dmd_id": "12389111000001109",
              "dmd_type": "VMP",
              "bnf_code": "0407020K0AACUCU"
            }
          },
          {
            "code": "12390511000001107",
            "description": "Morphine hydrochloride 10mg suppositories",
            "attributes": {
              "dmd_id": "12390511000001107",
              "dmd_type": "VMP",
              "bnf_code": "0407020P0AAAQAQ"
            }
          },
          {
            "code": "12390611000001106",
            "description": "Morphine sulfate 100mg suppositories",
            "attributes": {
              "dmd_id": "12390611000001106",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AABPBP"
            }
          },
          {
            "code": "12390911000001100",
            "description": "Morphine sulfate 2.5mg suppositories",
            "attributes": {
              "dmd_id": "12390911000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAEEEE"
            }
          },
          {
            "code": "12391511000001100",
            "description": "Morphine sulfate 50mg suppositories",
            "attributes": {
              "dmd_id": "12391511000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AABVBV"
            }
          },
          {
            "code": "12391911000001107",
            "description": "Morphine sulfate 60mg suppositories",
            "attributes": {
              "dmd_id": "12391911000001107",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AABNBN"
            }
          },
          {
            "code": "12392011000001100",
            "description": "Morphine sulfate 750mg suppositories",
            "attributes": {
              "dmd_id": "12392011000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAEPEP"
            }
          },
          {
            "code": "12392111000001104",
            "description": "Oxycodone hydrochloride 30mg suppositories",
            "attributes": {
              "dmd_id": "12392111000001104",
              "dmd_type": "VMP",
              "bnf_code": "0407020Z0AAAAAA"
            }
          },
          {
            "code": "12424911000001109",
            "description": "Oxycodone hydrochloride 60mg suppositories",
            "attributes": {
              "dmd_id": "12424911000001109",
              "dmd_type": "VMP",
              "bnf_code": "0407020Z0AAABAB"
            }
          },
          {
            "code": "17589011000001108",
            "description": "Proladone 30mg suppositories",
            "attributes": {
              "dmd_id": "17589011000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020Z0BBAAAA"
            }
          },
          {
            "code": "17632111000001100",
            "description": "Oxycodone pectinate 30mg suppositories",
            "attributes": {
              "dmd_id": "17632111000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020Z0AAAAAA"
            }
          },
          {
            "code": "18511211000001109",
            "description": "Codeine 10mg suppositories",
            "attributes": {
              "dmd_id": "18511211000001109",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AAALAL"
            }
          },
          {
            "code": "18519311000001102",
            "description": "Codeine 10mg suppositories",
            "attributes": {
              "dmd_id": "18519311000001102",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AAALAL"
            }
          },
          {
            "code": "19947711000001107",
            "description": "Morphine sulfate 20mg suppositories",
            "attributes": {
              "dmd_id": "19947711000001107",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          },
          {
            "code": "20116511000001109",
            "description": "Codeine 20mg suppositories",
            "attributes": {
              "dmd_id": "20116511000001109",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AABBBB"
            }
          },
          {
            "code": "20122011000001107",
            "description": "Codeine 20mg suppositories",
            "attributes": {
              "dmd_id": "20122011000001107",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AABBBB"
            }
          },
          {
            "code": "20421811000001109",
            "description": "Codeine 30mg suppositories",
            "attributes": {
              "dmd_id": "20421811000001109",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AAASAS"
            }
          },
          {
            "code": "20454511000001107",
            "description": "Codeine 30mg suppositories",
            "attributes": {
              "dmd_id": "20454511000001107",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AAASAS"
            }
          },
          {
            "code": "21130211000001107",
            "description": "Codeine 5mg suppositories",
            "attributes": {
              "dmd_id": "21130211000001107",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AAAKAK"
            }
          },
          {
            "code": "21130411000001106",
            "description": "Codeine 6mg suppositories",
            "attributes": {
              "dmd_id": "21130411000001106",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AAAMAM"
            }
          },
          {
            "code": "21130811000001108",
            "description": "Codeine 1mg suppositories",
            "attributes": {
              "dmd_id": "21130811000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AABCBC"
            }
          },
          {
            "code": "21148111000001100",
            "description": "Codeine 1mg suppositories",
            "attributes": {
              "dmd_id": "21148111000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AABCBC"
            }
          },
          {
            "code": "21148211000001106",
            "description": "Codeine 5mg suppositories",
            "attributes": {
              "dmd_id": "21148211000001106",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AAAKAK"
            }
          },
          {
            "code": "21148311000001103",
            "description": "Codeine 6mg suppositories",
            "attributes": {
              "dmd_id": "21148311000001103",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AAAMAM"
            }
          },
          {
            "code": "21269811000001105",
            "description": "Codeine 15mg suppositories",
            "attributes": {
              "dmd_id": "21269811000001105",
              "dmd_type": "AMP",
              "bnf_code": "0407020C0AAAQAQ"
            }
          },
          {
            "code": "21290211000001100",
            "description": "Codeine 15mg suppositories",
            "attributes": {
              "dmd_id": "21290211000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020C0AAAQAQ"
            }
          },
          {
            "code": "322428003",
            "description": "Morphine sulfate 15mg suppositories",
            "attributes": {
              "dmd_id": "322428003",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "322432009",
            "description": "Morphine sulfate 10mg suppositories",
            "attributes": {
              "dmd_id": "322432009",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AACQCQ"
            }
          },
          {
            "code": "322433004",
            "description": "Morphine sulfate 20mg suppositories",
            "attributes": {
              "dmd_id": "322433004",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          },
          {
            "code": "322446009",
            "description": "Morphine hydrochloride 15mg suppositories",
            "attributes": {
              "dmd_id": "322446009",
              "dmd_type": "VMP",
              "bnf_code": "0407020P0AAABAB"
            }
          },
          {
            "code": "322447000",
            "description": "Morphine hydrochloride 30mg suppositories",
            "attributes": {
              "dmd_id": "322447000",
              "dmd_type": "VMP",
              "bnf_code": "0407020P0AAACAC"
            }
          },
          {
            "code": "322455007",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "322455007",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "322604007",
            "description": "Pentazocine 50mg suppositories",
            "attributes": {
              "dmd_id": "322604007",
              "dmd_type": "VMP",
              "bnf_code": "0407020U0AAABAB"
            }
          },
          {
            "code": "35535311000001100",
            "description": "Morphine sulfate 15mg suppositories",
            "attributes": {
              "dmd_id": "35535311000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "35535611000001105",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "35535611000001105",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "370261003",
            "description": "Morphine sulfate 5mg suppositories",
            "attributes": {
              "dmd_id": "370261003",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AABJBJ"
            }
          },
          {
            "code": "4036011000001100",
            "description": "Morphine sulfate 10mg suppositories",
            "attributes": {
              "dmd_id": "4036011000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACQCQ"
            }
          },
          {
            "code": "4036211000001105",
            "description": "Morphine sulfate 10mg suppositories",
            "attributes": {
              "dmd_id": "4036211000001105",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACQCQ"
            }
          },
          {
            "code": "4036711000001103",
            "description": "Morphine sulfate 10mg suppositories",
            "attributes": {
              "dmd_id": "4036711000001103",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACQCQ"
            }
          },
          {
            "code": "4037411000001106",
            "description": "Morphine sulfate 15mg suppositories",
            "attributes": {
              "dmd_id": "4037411000001106",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "4037811000001108",
            "description": "Morphine sulfate 15mg suppositories",
            "attributes": {
              "dmd_id": "4037811000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "4038111000001100",
            "description": "Morphine sulfate 15mg suppositories",
            "attributes": {
              "dmd_id": "4038111000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "4038911000001102",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "4038911000001102",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "4039411000001102",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "4039411000001102",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "4039811000001100",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "4039811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "4084011000001101",
            "description": "Fortral 50mg suppositories",
            "attributes": {
              "dmd_id": "4084011000001101",
              "dmd_type": "AMP",
              "bnf_code": "0407020U0BBACAB"
            }
          },
          {
            "code": "4084211000001106",
            "description": "Pentazocine 50mg suppositories",
            "attributes": {
              "dmd_id": "4084211000001106",
              "dmd_type": "AMP",
              "bnf_code": "0407020U0AAABAB"
            }
          },
          {
            "code": "4084711000001104",
            "description": "Pentazocine 50mg suppositories",
            "attributes": {
              "dmd_id": "4084711000001104",
              "dmd_type": "AMP",
              "bnf_code": "0407020U0AAABAB"
            }
          },
          {
            "code": "42015111000001108",
            "description": "VMP subsequent to 322446009",
            "attributes": {
              "dmd_id": "42015111000001108",
              "dmd_type": "VMP",
              "bnf_code": "0407020P0AAABAB"
            }
          },
          {
            "code": "42015211000001102",
            "description": "VMP subsequent to 322447000",
            "attributes": {
              "dmd_id": "42015211000001102",
              "dmd_type": "VMP",
              "bnf_code": "0407020P0AAACAC"
            }
          },
          {
            "code": "42015311000001105",
            "description": "VMP subsequent to 322432009",
            "attributes": {
              "dmd_id": "42015311000001105",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AACQCQ"
            }
          },
          {
            "code": "42015411000001103",
            "description": "VMP subsequent to 322428003",
            "attributes": {
              "dmd_id": "42015411000001103",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAGDGD"
            }
          },
          {
            "code": "42015511000001104",
            "description": "VMP subsequent to 322433004",
            "attributes": {
              "dmd_id": "42015511000001104",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          },
          {
            "code": "42015611000001100",
            "description": "VMP subsequent to 322455007",
            "attributes": {
              "dmd_id": "42015611000001100",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "42015711000001109",
            "description": "VMP subsequent to 370261003",
            "attributes": {
              "dmd_id": "42015711000001109",
              "dmd_type": "VMP",
              "bnf_code": "0407020Q0AABJBJ"
            }
          },
          {
            "code": "42016411000001107",
            "description": "VMP subsequent to 322604007",
            "attributes": {
              "dmd_id": "42016411000001107",
              "dmd_type": "VMP",
              "bnf_code": "0407020U0AAABAB"
            }
          },
          {
            "code": "4273611000001108",
            "description": "Morphine sulfate 30mg suppositories",
            "attributes": {
              "dmd_id": "4273611000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AAGCGC"
            }
          },
          {
            "code": "4526211000001106",
            "description": "Morphine sulfate 20mg suppositories",
            "attributes": {
              "dmd_id": "4526211000001106",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          },
          {
            "code": "4526611000001108",
            "description": "Morphine sulfate 20mg suppositories",
            "attributes": {
              "dmd_id": "4526611000001108",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          },
          {
            "code": "4958711000001107",
            "description": "Morphine hydrochloride 15mg suppositories",
            "attributes": {
              "dmd_id": "4958711000001107",
              "dmd_type": "AMP",
              "bnf_code": "0407020P0AAABAB"
            }
          },
          {
            "code": "9762811000001100",
            "description": "Morphine sulfate 20mg suppositories",
            "attributes": {
              "dmd_id": "9762811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0407020Q0AACRCR"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "3c95c0c4",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/thht-4150",
    "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": 8697,
        "version_name": "Opioid-containing medicines (rectal - excluding drugs for substance misuse) - dm+d",
        "version_date": "2026-01-26T23:26:02.431458Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]