[
  {
    "phenotype_id": "PH3321",
    "phenotype_version_id": 8318,
    "name": "Cefalexin (oral)",
    "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\nThis codelist contains cefalexin formulations which may be given orally.\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:11:37.290362Z",
    "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:11:37.284621Z",
    "references": [
      {
        "url": "https://github.com/opensafely/codelist-development/issues/261",
        "title": "GitHub issue"
      }
    ],
    "signed_off": [],
    "methodology": "All preparations with the key word cefalexin or cephalexin were identified and reviewed manually with the appropriate formulations mapped.\n\n\nThis dm\\+d codelist has been created from this [PseudoBNF codelist](https://www.opencodelists.org/codelist/user/chriswood/cefalexin-oral/1a19a7e4/).\n\n",
    "coding_system": [
      {
        "name": "dm+d codes",
        "value": 23
      }
    ],
    "open_codelist_id": "opensafely/cefalexin-oral",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/cefalexin-oral/4eeb4e44",
    "concept_information": [
      {
        "concept_id": 8495,
        "concept_version_id": 15980,
        "concept_name": "opensafely/cefalexin-oral/4eeb4e44",
        "coding_system": {
          "id": 23,
          "name": "dm+d codes",
          "description": "..."
        },
        "phenotype_id": "PH3321",
        "phenotype_version_id": 8318,
        "phenotype_name": "Cefalexin (oral)",
        "code_attribute_header": [
          "dmd_id",
          "dmd_type",
          "bnf_code"
        ],
        "codes": [
          {
            "code": "10388711000001105",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "10388711000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "10388911000001107",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "10388911000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "10389111000001102",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "10389111000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "10389411000001107",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "10389411000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "10456111000001106",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "10456111000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "10456311000001108",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "10456311000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "11267111000001105",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "11267111000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "11267311000001107",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "11267311000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "11267511000001101",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "11267511000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "11267711000001106",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "11267711000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "149411000001104",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "149411000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "15052511000001101",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "15052511000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "15073911000001103",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "15073911000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "15074111000001104",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "15074111000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "15074311000001102",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "15074311000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "158511000001109",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "158511000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "17851911000001102",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "17851911000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "17852111000001105",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "17852111000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "17852311000001107",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "17852311000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "17852511000001101",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "17852511000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "18086311000001109",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "18086311000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "18086511000001103",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "18086511000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "19187811000001108",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "19187811000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "19188011000001101",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "19188011000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "19188211000001106",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "19188211000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "19188411000001105",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "19188411000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "199411000001106",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "199411000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "216811000001100",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "216811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "21822811000001100",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "21822811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "21823311000001104",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "21823311000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "21825911000001102",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "21825911000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "21826411000001101",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "21826411000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "21826611000001103",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "21826611000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "21827211000001103",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "21827211000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "21830211000001100",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "21830211000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "22631111000001107",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "22631111000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "22631511000001103",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "22631511000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "22631711000001108",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "22631711000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "22631911000001105",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "22631911000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "22632111000001102",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "22632111000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "232811000001108",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "232811000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "233111000001107",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "233111000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "27996311000001105",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "27996311000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "27996611000001100",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "27996611000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "29782311000001109",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "29782311000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "29782711000001108",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "29782711000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "29782911000001105",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "29782911000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "30009611000001106",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "30009611000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "30010111000001106",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "30010111000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "30010411000001101",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "30010411000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "30010611000001103",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "30010611000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "30136211000001103",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "30136211000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "305811000001101",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "305811000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "30769411000001109",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "30769411000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "31565211000001103",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "31565211000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "32202211000001102",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "32202211000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "3234011000001103",
            "description": "Ceporex 500mg/5ml syrup",
            "attributes": {
              "dmd_id": "3234011000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBAJAE"
            }
          },
          {
            "code": "323883007",
            "description": "VMP previous to 39735311000001105",
            "attributes": {
              "dmd_id": "323883007",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "323884001",
            "description": "VMP previous to 39694811000001102",
            "attributes": {
              "dmd_id": "323884001",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "323885000",
            "description": "VMP previous to 39684111000001105",
            "attributes": {
              "dmd_id": "323885000",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "323886004",
            "description": "VMP previous to 39735911000001106",
            "attributes": {
              "dmd_id": "323886004",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "323887008",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "323887008",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "323888003",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "323888003",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "323889006",
            "description": "VMP previous to 36134311000001108",
            "attributes": {
              "dmd_id": "323889006",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "324911000001101",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "324911000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "331411000001105",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "331411000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "34311000001103",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "34311000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "343411000001108",
            "description": "Ceporex 500mg capsules",
            "attributes": {
              "dmd_id": "343411000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBABAB"
            }
          },
          {
            "code": "344611000001109",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "344611000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "34811000001107",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "34811000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "35210711000001106",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "35210711000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "35210911000001108",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "35210911000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "35215211000001108",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "35215211000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "35227111000001103",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "35227111000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "360811000001108",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "360811000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "3611000001101",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "3611000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "36134311000001108",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "36134311000001108",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "362611000001105",
            "description": "Keflex 500mg capsules",
            "attributes": {
              "dmd_id": "362611000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCABAB"
            }
          },
          {
            "code": "362911000001104",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "362911000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "37509711000001109",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "37509711000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "37510111000001100",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "37510111000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "37510311000001103",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "37510311000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "37510511000001109",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "37510511000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "37510711000001104",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "37510711000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "37510911000001102",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "37510911000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "38824911000001109",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "38824911000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "38825611000001102",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "38825611000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "38826011000001100",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "38826011000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "38826411000001109",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "38826411000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "38827711000001100",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "38827711000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "39684111000001105",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "39684111000001105",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "39694811000001102",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "39694811000001102",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "39735311000001105",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "39735311000001105",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "39735911000001106",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "39735911000001106",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "39845511000001102",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "39845511000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "41943011000001109",
            "description": "VMP subsequent to 323887008",
            "attributes": {
              "dmd_id": "41943011000001109",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "41943111000001105",
            "description": "VMP subsequent to 323888003",
            "attributes": {
              "dmd_id": "41943111000001105",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "427011000001102",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "427011000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "4514011000001101",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "4514011000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "4515811000001108",
            "description": "Cefalexin 250mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "4515811000001108",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAAPAP"
            }
          },
          {
            "code": "452411000001109",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "452411000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "471811000001100",
            "description": "Ceporex 500mg tablets",
            "attributes": {
              "dmd_id": "471811000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBADAH"
            }
          },
          {
            "code": "474311000001107",
            "description": "Ceporex 250mg tablets",
            "attributes": {
              "dmd_id": "474311000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBACAG"
            }
          },
          {
            "code": "483611000001107",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "483611000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "4861711000001104",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "4861711000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "4865011000001104",
            "description": "Cefalexin 125mg/5ml oral suspension sugar free",
            "attributes": {
              "dmd_id": "4865011000001104",
              "dmd_type": "VMP",
              "bnf_code": "0501021L0AAANAN"
            }
          },
          {
            "code": "534211000001106",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "534211000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "560011000001100",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "560011000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "587511000001105",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "587511000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "596511000001107",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "596511000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "600911000001106",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "600911000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "606011000001105",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "606011000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "612311000001107",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "612311000001107",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "6211000001105",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "6211000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "622911000001103",
            "description": "Keflex 500mg tablets",
            "attributes": {
              "dmd_id": "622911000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCADAH"
            }
          },
          {
            "code": "639611000001104",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "639611000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "640011000001104",
            "description": "Cefalexin 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "640011000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAACAC"
            }
          },
          {
            "code": "648411000001106",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "648411000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "652611000001105",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "652611000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "660211000001101",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "660211000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "687811000001103",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "687811000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "691711000001103",
            "description": "Keflex 125mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "691711000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCAEAC"
            }
          },
          {
            "code": "707211000001109",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "707211000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "716611000001106",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "716611000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "719911000001109",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "719911000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "728211000001103",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "728211000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "733011000001104",
            "description": "Keflex 250mg capsules",
            "attributes": {
              "dmd_id": "733011000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCAAAA"
            }
          },
          {
            "code": "757911000001105",
            "description": "Keflex 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "757911000001105",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCAFAD"
            }
          },
          {
            "code": "758111000001108",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "758111000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "763611000001104",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "763611000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "800711000001101",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "800711000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "835511000001109",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "835511000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "850211000001103",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "850211000001103",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "863911000001108",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "863911000001108",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "86911000001101",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "86911000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "875311000001101",
            "description": "Ceporex 250mg/5ml syrup",
            "attributes": {
              "dmd_id": "875311000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBAIAD"
            }
          },
          {
            "code": "8825611000001100",
            "description": "Cefalexin 500mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "8825611000001100",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAEAE"
            }
          },
          {
            "code": "887511000001109",
            "description": "Cefalexin 500mg tablets",
            "attributes": {
              "dmd_id": "887511000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAHAH"
            }
          },
          {
            "code": "887911000001102",
            "description": "Cefalexin 250mg/5ml oral suspension",
            "attributes": {
              "dmd_id": "887911000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAADAD"
            }
          },
          {
            "code": "904711000001102",
            "description": "Ceporex 250mg capsules",
            "attributes": {
              "dmd_id": "904711000001102",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBAAAA"
            }
          },
          {
            "code": "91011000001106",
            "description": "Keflex 250mg tablets",
            "attributes": {
              "dmd_id": "91011000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BCACAG"
            }
          },
          {
            "code": "924811000001101",
            "description": "Cefalexin 250mg tablets",
            "attributes": {
              "dmd_id": "924811000001101",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAGAG"
            }
          },
          {
            "code": "9376411000001106",
            "description": "Cefalexin 500mg capsules",
            "attributes": {
              "dmd_id": "9376411000001106",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAABAB"
            }
          },
          {
            "code": "9376611000001109",
            "description": "Cefalexin 250mg capsules",
            "attributes": {
              "dmd_id": "9376611000001109",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0AAAAAA"
            }
          },
          {
            "code": "96011000001104",
            "description": "Ceporex 125mg/5ml syrup",
            "attributes": {
              "dmd_id": "96011000001104",
              "dmd_type": "AMP",
              "bnf_code": "0501021L0BBAHAC"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "4eeb4e44",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/5fy9-5704",
    "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": 8318,
        "version_name": "Cefalexin (oral)",
        "version_date": "2026-01-26T23:11:37.297444Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]