[
  {
    "phenotype_id": "PH3570",
    "phenotype_version_id": 8645,
    "name": "Midazolam - end of life",
    "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\ndm\\+d codelist for midazolam injections used at the end of life.\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:22:32.037794Z",
    "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:22:32.031707Z",
    "references": [
      {
        "url": "https://github.com/opensafely/codelist-development/issues/100",
        "title": "GitHub"
      }
    ],
    "signed_off": [],
    "methodology": "We selected all Midazolam preparations in chapter 15 of the BNF and mapped them automatically to dm\\+d.\n\n",
    "coding_system": [
      {
        "name": "dm+d codes",
        "value": 23
      }
    ],
    "open_codelist_id": "opensafely/midazolam-end-of-life",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/midazolam-end-of-life/4c1b3c89",
    "concept_information": [
      {
        "concept_id": 8822,
        "concept_version_id": 16307,
        "concept_name": "opensafely/midazolam-end-of-life/4c1b3c89",
        "coding_system": {
          "id": 23,
          "name": "dm+d codes",
          "description": "dm+d codes"
        },
        "phenotype_id": "PH3570",
        "phenotype_version_id": 8645,
        "phenotype_name": "Midazolam - end of life",
        "code_attribute_header": [
          "dmd_id",
          "dmd_type",
          "bnf_code"
        ],
        "codes": [
          {
            "code": "10267211000001106",
            "description": "Midazolam 100mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "10267211000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAARAR"
            }
          },
          {
            "code": "10267411000001105",
            "description": "Midazolam 100mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "10267411000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAARAR"
            }
          },
          {
            "code": "10679011000001103",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "10679011000001103",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "10679511000001106",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "10679511000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "10679811000001109",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "10679811000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "10681711000001109",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "10681711000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "10681911000001106",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "10681911000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "11055111000001104",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "11055111000001104",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "11055311000001102",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "11055311000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "12058611000001102",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "12058611000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "12059111000001103",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "12059111000001103",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "15248511000001106",
            "description": "Midazolam 50mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "15248511000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAACAC"
            }
          },
          {
            "code": "19711211000001106",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "19711211000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "19711411000001105",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "19711411000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "20227811000001101",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "20227811000001101",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "20275411000001105",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "20275411000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "20275911000001102",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "20275911000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "22083811000001104",
            "description": "Midazolam 5mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "22083811000001104",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAUAU"
            }
          },
          {
            "code": "22154711000001106",
            "description": "Midazolam 5mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "22154711000001106",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAAUAU"
            }
          },
          {
            "code": "23430411000001100",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23430411000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "23430611000001102",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23430611000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "23430811000001103",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23430811000001103",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "23939011000001104",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23939011000001104",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "23939211000001109",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23939211000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "23958211000001100",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "23958211000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "27858211000001101",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "27858211000001101",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "27953111000001108",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "27953111000001108",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "28797311000001109",
            "description": "Midazolam 100mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "28797311000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAARAR"
            }
          },
          {
            "code": "28797911000001105",
            "description": "Midazolam 50mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "28797911000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAACAC"
            }
          },
          {
            "code": "29745511000001101",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "29745511000001101",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "29746211000001105",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "29746211000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "31994411000001107",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "31994411000001107",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "32480111000001109",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "32480111000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "334017001",
            "description": "VMP previous to 36125011000001107",
            "attributes": {
              "dmd_id": "334017001",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "334018006",
            "description": "VMP previous to 36124911000001107",
            "attributes": {
              "dmd_id": "334018006",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "3383311000001103",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3383311000001103",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "3384011000001104",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3384011000001104",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "3385011000001100",
            "description": "Hypnovel 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3385011000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0BBABAA"
            }
          },
          {
            "code": "3385311000001102",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3385311000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "36124911000001107",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "36124911000001107",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "36125011000001107",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "36125011000001107",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "36125211000001102",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "36125211000001102",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "36125411000001103",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "36125411000001103",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "36125511000001104",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "36125511000001104",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "375856006",
            "description": "VMP previous to 36125411000001103",
            "attributes": {
              "dmd_id": "375856006",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "375919001",
            "description": "VMP previous to 36125211000001102",
            "attributes": {
              "dmd_id": "375919001",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "375924003",
            "description": "VMP previous to 36125511000001104",
            "attributes": {
              "dmd_id": "375924003",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "3879511000001101",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3879511000001101",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "3879711000001106",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3879711000001106",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "3880111000001105",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3880111000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "3880411000001100",
            "description": "Hypnovel 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "3880411000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0BBAAAB"
            }
          },
          {
            "code": "4485911000001109",
            "description": "Midazolam 50mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "4485911000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAACAC"
            }
          },
          {
            "code": "4486111000001100",
            "description": "Midazolam 50mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "4486111000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAACAC"
            }
          },
          {
            "code": "4486511000001109",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "4486511000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "4486811000001107",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "4486811000001107",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "4508111000001108",
            "description": "Midazolam 50mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "4508111000001108",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAACAC"
            }
          },
          {
            "code": "4752011000001100",
            "description": "Midazolam 5mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "4752011000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAASAS"
            }
          },
          {
            "code": "4752311000001102",
            "description": "Midazolam 2mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "4752311000001102",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAATAT"
            }
          },
          {
            "code": "5104011000001100",
            "description": "Midazolam 10mg/5ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "5104011000001100",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAABAB"
            }
          },
          {
            "code": "5104211000001105",
            "description": "Midazolam 10mg/2ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "5104211000001105",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAAAAA"
            }
          },
          {
            "code": "5104411000001109",
            "description": "Midazolam 50mg/10ml solution for injection ampoules",
            "attributes": {
              "dmd_id": "5104411000001109",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAANAN"
            }
          },
          {
            "code": "7977911000001102",
            "description": "Midazolam 100mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "7977911000001102",
              "dmd_type": "VMP",
              "bnf_code": "1501041T0AAARAR"
            }
          },
          {
            "code": "7978111000001104",
            "description": "Midazolam 100mg/50ml solution for infusion vials",
            "attributes": {
              "dmd_id": "7978111000001104",
              "dmd_type": "AMP",
              "bnf_code": "1501041T0AAARAR"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "4c1b3c89",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/azkz-3s91",
    "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": 8645,
        "version_name": "Midazolam - end of life",
        "version_date": "2026-01-26T23:22:32.046784Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]