[
  {
    "phenotype_id": "PH2699",
    "phenotype_version_id": 6733,
    "name": "Illicit substance abuse codes",
    "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\nTaken from the `ILLSUB_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\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-26T22:37:16.773416Z",
    "author": "NHSD Primary Care Domain Refsets",
    "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-26T22:37:27.445387Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/illsub_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/illsub_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6910,
        "concept_version_id": 14395,
        "concept_name": "nhsd-primary-care-domain-refsets/illsub_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2699",
        "phenotype_version_id": 6733,
        "phenotype_name": "Illicit substance abuse codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "10327003",
            "description": "Cocaine-induced mood disorder",
            "attributes": null
          },
          {
            "code": "1047881000000106",
            "description": "Opioid analgesic dependence",
            "attributes": null
          },
          {
            "code": "105546006",
            "description": "Occasional drug abuser",
            "attributes": null
          },
          {
            "code": "105549004",
            "description": "Abuses volatile solvents",
            "attributes": null
          },
          {
            "code": "105550004",
            "description": "Misused volatile solvents in past",
            "attributes": null
          },
          {
            "code": "10755161000119102",
            "description": "Drug dependence in childbirth",
            "attributes": null
          },
          {
            "code": "1081000119105",
            "description": "Opioid dependence, on agonist therapy",
            "attributes": null
          },
          {
            "code": "1087481000000103",
            "description": "Late onset cocaine-induced psychosis",
            "attributes": null
          },
          {
            "code": "1087491000000101",
            "description": "Late onset lysergic acid diethylamide-induced psychosis",
            "attributes": null
          },
          {
            "code": "1087501000000107",
            "description": "Late onset cannabinoid-induced psychosis",
            "attributes": null
          },
          {
            "code": "1087511000000109",
            "description": "Late onset amphetamine-induced psychosis",
            "attributes": null
          },
          {
            "code": "11048011000119103",
            "description": "Cannabis hyperemesis syndrome due to Cannabis dependence",
            "attributes": null
          },
          {
            "code": "1104931000000109",
            "description": "Nitrous oxide misuse",
            "attributes": null
          },
          {
            "code": "11061003",
            "description": "Psychoactive substance use disorder",
            "attributes": null
          },
          {
            "code": "111480006",
            "description": "Psychoactive substance-induced organic dementia",
            "attributes": null
          },
          {
            "code": "11387009",
            "description": "Organic mental disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "1142050005",
            "description": "Uncomplicated opioid withdrawal",
            "attributes": null
          },
          {
            "code": "1149239002",
            "description": "Overdose of lysergic acid diethylamide",
            "attributes": null
          },
          {
            "code": "1149240000",
            "description": "Accidental overdose by lysergic acid diethylamide",
            "attributes": null
          },
          {
            "code": "1149241001",
            "description": "Intentional overdose by lysergic acid diethylamide",
            "attributes": null
          },
          {
            "code": "1155772001",
            "description": "Intoxication caused by central stimulant",
            "attributes": null
          },
          {
            "code": "1157240004",
            "description": "Amfetamine and/or amfetamine derivative intoxication",
            "attributes": null
          },
          {
            "code": "1187205008",
            "description": "Organic mental disorder caused by sedative",
            "attributes": null
          },
          {
            "code": "1187219008",
            "description": "Disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "1187220002",
            "description": "Disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "1230071005",
            "description": "Episodic harmful pattern of use of amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "1230072003",
            "description": "Amfetamine and/or amfetamine derivative abuse, continuous",
            "attributes": null
          },
          {
            "code": "1230078004",
            "description": "Nondependent harmful pattern of use of anxiolytic in remission",
            "attributes": null
          },
          {
            "code": "1230079007",
            "description": "Nondependent harmful pattern of use of hypnotic in remission",
            "attributes": null
          },
          {
            "code": "1230082002",
            "description": "Nondependent harmful pattern of use of psychostimulant in remission",
            "attributes": null
          },
          {
            "code": "1230083007",
            "description": "Nondependent harmful pattern of use of amfetamine and/or amfetamine derivative in remission",
            "attributes": null
          },
          {
            "code": "1230084001",
            "description": "Continuous nondependent harmful pattern of use of psychostimulant",
            "attributes": null
          },
          {
            "code": "1230085000",
            "description": "Continuous nondependent harmful pattern of use of amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "1230086004",
            "description": "Episodic nondependent harmful pattern of use of psychostimulant",
            "attributes": null
          },
          {
            "code": "1230087008",
            "description": "Episodic nondependent harmful pattern of use of amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "1230088003",
            "description": "Nondependent harmful pattern of use of amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "1230089006",
            "description": "Nondependent harmful pattern of use of psychostimulant",
            "attributes": null
          },
          {
            "code": "1230266009",
            "description": "Harmful pattern of use of amfetamine and/or amfetamine derivative in remission",
            "attributes": null
          },
          {
            "code": "1231158003",
            "description": "Hypnotic dependence in remission",
            "attributes": null
          },
          {
            "code": "1231159006",
            "description": "Anxiolytic dependence in remission",
            "attributes": null
          },
          {
            "code": "1231160001",
            "description": "Hypnotic dependence, episodic",
            "attributes": null
          },
          {
            "code": "1231161002",
            "description": "Anxiolytic dependence, episodic",
            "attributes": null
          },
          {
            "code": "1231162009",
            "description": "Hypnotic dependence, continuous",
            "attributes": null
          },
          {
            "code": "1231163004",
            "description": "Anxiolytic dependence, continuous",
            "attributes": null
          },
          {
            "code": "1231319004",
            "description": "Methylenedioxymethamphetamine dependence",
            "attributes": null
          },
          {
            "code": "1231325000",
            "description": "Amfetamine and/or amfetamine derivative dependence in remission",
            "attributes": null
          },
          {
            "code": "1231327008",
            "description": "Amfetamine and/or amfetamine derivative dependence episodic",
            "attributes": null
          },
          {
            "code": "1231328003",
            "description": "Amfetamine and/or amfetamine derivative dependence continuous",
            "attributes": null
          },
          {
            "code": "1231331002",
            "description": "Psychostimulant dependence in remission",
            "attributes": null
          },
          {
            "code": "1231333004",
            "description": "Psychostimulant dependence episodic",
            "attributes": null
          },
          {
            "code": "1231336007",
            "description": "Psychostimulant dependence continuous",
            "attributes": null
          },
          {
            "code": "1237200003",
            "description": "Buprenorphine and/or naloxone withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "1237201004",
            "description": "Naloxone dependence",
            "attributes": null
          },
          {
            "code": "1237202006",
            "description": "Amfetamine and/or amfetamine derivative withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "12398201000119102",
            "description": "Anxiety disorder caused by methamphetamine",
            "attributes": null
          },
          {
            "code": "12398281000119105",
            "description": "Methamphetamine withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "12398321000119100",
            "description": "Mood disorder caused by methamphetamine",
            "attributes": null
          },
          {
            "code": "12398361000119105",
            "description": "Mental disorder caused by methamphetamine",
            "attributes": null
          },
          {
            "code": "12398571000119105",
            "description": "Methamphetamine intoxication",
            "attributes": null
          },
          {
            "code": "1254782007",
            "description": "Dabbing",
            "attributes": null
          },
          {
            "code": "1254812006",
            "description": "Substance dependence",
            "attributes": null
          },
          {
            "code": "1254959003",
            "description": "Monitoring substance withdrawal",
            "attributes": null
          },
          {
            "code": "1254960008",
            "description": "Seizure co-occurrent and due to substance withdrawal",
            "attributes": null
          },
          {
            "code": "1254973007",
            "description": "Substance dependence in remission",
            "attributes": null
          },
          {
            "code": "1254974001",
            "description": "Substance dependence, episodic",
            "attributes": null
          },
          {
            "code": "1254975000",
            "description": "Substance dependence, continuous",
            "attributes": null
          },
          {
            "code": "1254981008",
            "description": "Substance dependence during pregnancy, childbirth and/or puerperium",
            "attributes": null
          },
          {
            "code": "1254985004",
            "description": "Substance dependence during pregnancy - baby delivered",
            "attributes": null
          },
          {
            "code": "1254986003",
            "description": "Substance dependence during pregnancy - baby not yet delivered",
            "attributes": null
          },
          {
            "code": "1254987007",
            "description": "Substance dependence in childbirth",
            "attributes": null
          },
          {
            "code": "1254991002",
            "description": "Pregnancy and substance dependence",
            "attributes": null
          },
          {
            "code": "1255012001",
            "description": "Combined substance dependence, continuous",
            "attributes": null
          },
          {
            "code": "1255013006",
            "description": "Combined opioid with non-opioid substance dependence",
            "attributes": null
          },
          {
            "code": "1255014000",
            "description": "Combined substance dependence, excluding opioids",
            "attributes": null
          },
          {
            "code": "1255015004",
            "description": "Combined opioid with non-opioid substance dependence, episodic",
            "attributes": null
          },
          {
            "code": "1255016003",
            "description": "Combined substance dependence, excluding opioid, episodic",
            "attributes": null
          },
          {
            "code": "1255017007",
            "description": "Combined substance dependence, excluding opioid, continuous",
            "attributes": null
          },
          {
            "code": "1255018002",
            "description": "Combined opioid with non-opioid substance dependence, continuous",
            "attributes": null
          },
          {
            "code": "1255019005",
            "description": "Combined opioid with non-opioid substance dependence in remission",
            "attributes": null
          },
          {
            "code": "1255020004",
            "description": "Combined substance dependence, excluding opioid, in remission",
            "attributes": null
          },
          {
            "code": "1264554000",
            "description": "Signs of opioid withdrawal on naloxone challenge test",
            "attributes": null
          },
          {
            "code": "1268383007",
            "description": "Methylenedioxymethamphetamine user",
            "attributes": null
          },
          {
            "code": "1268384001",
            "description": "Nitrous oxide user",
            "attributes": null
          },
          {
            "code": "1364721000000101",
            "description": "Date stopped drug misuse",
            "attributes": null
          },
          {
            "code": "1383008",
            "description": "Hallucinogen mood disorder",
            "attributes": null
          },
          {
            "code": "145101000119102",
            "description": "Harmful pattern of use of intravenous cocaine",
            "attributes": null
          },
          {
            "code": "145121000119106",
            "description": "Intravenous nondependent harmful pattern of use of opioid",
            "attributes": null
          },
          {
            "code": "1461000119109",
            "description": "Drug dependence in remission",
            "attributes": null
          },
          {
            "code": "14784000",
            "description": "Organic mental disorder caused by opioid",
            "attributes": null
          },
          {
            "code": "15277004",
            "description": "Hallucinogen-induced anxiety disorder",
            "attributes": null
          },
          {
            "code": "153491000119103",
            "description": "Drug dependence, continuous",
            "attributes": null
          },
          {
            "code": "153501000119105",
            "description": "Drug dependence, episodic",
            "attributes": null
          },
          {
            "code": "16076691000119100",
            "description": "Episodic polysubstance dependence",
            "attributes": null
          },
          {
            "code": "16236661000119100",
            "description": "Delirium due to methamphetamine intoxication",
            "attributes": null
          },
          {
            "code": "16238181000119101",
            "description": "Depressive disorder caused by amphetamine",
            "attributes": null
          },
          {
            "code": "16238221000119109",
            "description": "Depressive disorder caused by methamphetamine",
            "attributes": null
          },
          {
            "code": "18689007",
            "description": "Inhalant intoxication delirium",
            "attributes": null
          },
          {
            "code": "191816009",
            "description": "Drug dependence",
            "attributes": null
          },
          {
            "code": "191819002",
            "description": "Continuous opioid dependence",
            "attributes": null
          },
          {
            "code": "191820008",
            "description": "Episodic opioid dependence",
            "attributes": null
          },
          {
            "code": "191821007",
            "description": "Opioid dependence in remission",
            "attributes": null
          },
          {
            "code": "191825003",
            "description": "Hypnotic or anxiolytic dependence, continuous",
            "attributes": null
          },
          {
            "code": "191826002",
            "description": "Hypnotic or anxiolytic dependence, episodic",
            "attributes": null
          },
          {
            "code": "191827006",
            "description": "Hypnotic or anxiolytic dependence in remission",
            "attributes": null
          },
          {
            "code": "191829009",
            "description": "Cocaine type drug dependence",
            "attributes": null
          },
          {
            "code": "191831000",
            "description": "Cocaine dependence, continuous",
            "attributes": null
          },
          {
            "code": "191832007",
            "description": "Cocaine dependence, episodic",
            "attributes": null
          },
          {
            "code": "191833002",
            "description": "Cocaine dependence in remission",
            "attributes": null
          },
          {
            "code": "191837001",
            "description": "Cannabis dependence, continuous",
            "attributes": null
          },
          {
            "code": "191838006",
            "description": "Cannabis dependence, episodic",
            "attributes": null
          },
          {
            "code": "191839003",
            "description": "Cannabis dependence in remission",
            "attributes": null
          },
          {
            "code": "191843004",
            "description": "Amphetamine or psychostimulant dependence, continuous",
            "attributes": null
          },
          {
            "code": "191844005",
            "description": "Amphetamine or psychostimulant dependence, episodic",
            "attributes": null
          },
          {
            "code": "191845006",
            "description": "Amphetamine or psychostimulant dependence in remission",
            "attributes": null
          },
          {
            "code": "191849000",
            "description": "Hallucinogen dependence, continuous",
            "attributes": null
          },
          {
            "code": "191850000",
            "description": "Hallucinogen dependence, episodic",
            "attributes": null
          },
          {
            "code": "191851001",
            "description": "Hallucinogen dependence in remission",
            "attributes": null
          },
          {
            "code": "191853003",
            "description": "Glue sniffing dependence",
            "attributes": null
          },
          {
            "code": "191855005",
            "description": "Glue sniffing dependence, continuous",
            "attributes": null
          },
          {
            "code": "191856006",
            "description": "Glue sniffing dependence, episodic",
            "attributes": null
          },
          {
            "code": "191857002",
            "description": "Glue sniffing dependence in remission",
            "attributes": null
          },
          {
            "code": "191865004",
            "description": "Combined opioid with non-opioid drug dependence",
            "attributes": null
          },
          {
            "code": "191867007",
            "description": "Combined opioid with non-opioid drug dependence, continuous",
            "attributes": null
          },
          {
            "code": "191868002",
            "description": "Combined opioid with non-opioid drug dependence, episodic",
            "attributes": null
          },
          {
            "code": "191869005",
            "description": "Combined opioid with non-opioid drug dependence in remission",
            "attributes": null
          },
          {
            "code": "191871005",
            "description": "Combined drug dependence, excluding opioids",
            "attributes": null
          },
          {
            "code": "191873008",
            "description": "Combined drug dependence, excluding opioid, continuous",
            "attributes": null
          },
          {
            "code": "191874002",
            "description": "Combined drug dependence, excluding opioid, episodic",
            "attributes": null
          },
          {
            "code": "191875001",
            "description": "Combined drug dependence, excluding opioid, in remission",
            "attributes": null
          },
          {
            "code": "191877009",
            "description": "Ecstasy type drug dependence",
            "attributes": null
          },
          {
            "code": "191905001",
            "description": "Nondependent hypnotic or anxiolytic abuse, continuous",
            "attributes": null
          },
          {
            "code": "191906000",
            "description": "Nondependent hypnotic or anxiolytic abuse, episodic",
            "attributes": null
          },
          {
            "code": "191907009",
            "description": "Nondependent hypnotic or anxiolytic abuse in remission",
            "attributes": null
          },
          {
            "code": "191916008",
            "description": "Nondependent harmful pattern of use of cocaine",
            "attributes": null
          },
          {
            "code": "191918009",
            "description": "Continuous nondependent harmful pattern of use of cocaine",
            "attributes": null
          },
          {
            "code": "191919001",
            "description": "Episodic nondependent harmful pattern of use of cocaine",
            "attributes": null
          },
          {
            "code": "191920007",
            "description": "Nondependent harmful pattern of use of cocaine in remission",
            "attributes": null
          },
          {
            "code": "191924003",
            "description": "Nondependent amphetamine or psychostimulant abuse, continuous",
            "attributes": null
          },
          {
            "code": "191925002",
            "description": "Nondependent amphetamine or psychostimulant abuse, episodic",
            "attributes": null
          },
          {
            "code": "191939002",
            "description": "Misuse of prescription only drugs",
            "attributes": null
          },
          {
            "code": "19445006",
            "description": "Opioid-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "197541000000101",
            "description": "Occasional drug user",
            "attributes": null
          },
          {
            "code": "199252002",
            "description": "Drug dependence during pregnancy - baby delivered",
            "attributes": null
          },
          {
            "code": "199253007",
            "description": "Drug dependence in the puerperium - baby delivered",
            "attributes": null
          },
          {
            "code": "199254001",
            "description": "Drug dependence during pregnancy - baby not yet delivered",
            "attributes": null
          },
          {
            "code": "199255000",
            "description": "Drug dependence in the puerperium - baby delivered during previous episode of care",
            "attributes": null
          },
          {
            "code": "202961000000106",
            "description": "Ecstasy misuse",
            "attributes": null
          },
          {
            "code": "202991000000100",
            "description": "Heroin misuse",
            "attributes": null
          },
          {
            "code": "20385005",
            "description": "Psychotic disorder with delusions caused by opioid",
            "attributes": null
          },
          {
            "code": "204641000000107",
            "description": "Episodic nondependent crack cocaine abuse",
            "attributes": null
          },
          {
            "code": "20876004",
            "description": "Inhalant-induced anxiety disorder",
            "attributes": null
          },
          {
            "code": "216463005",
            "description": "Accidental poisoning caused by heroin",
            "attributes": null
          },
          {
            "code": "216469009",
            "description": "Accidental poisoning caused by opium",
            "attributes": null
          },
          {
            "code": "21647008",
            "description": "Amphetamine dependence",
            "attributes": null
          },
          {
            "code": "216551003",
            "description": "Accidental poisoning caused by cannabis derivatives",
            "attributes": null
          },
          {
            "code": "216552005",
            "description": "Accidental poisoning by lysergide, LSD",
            "attributes": null
          },
          {
            "code": "216554006",
            "description": "Accidental poisoning caused by mescaline",
            "attributes": null
          },
          {
            "code": "216583009",
            "description": "Accidental poisoning caused by cocaine",
            "attributes": null
          },
          {
            "code": "21831000119109",
            "description": "Psychotic disorder caused by phencyclidine",
            "attributes": null
          },
          {
            "code": "21841000119100",
            "description": "Organic mental disorder caused by phencyclidine",
            "attributes": null
          },
          {
            "code": "22574000",
            "description": "Cocaine-induced sleep disorder",
            "attributes": null
          },
          {
            "code": "226034001",
            "description": "Injecting drug user",
            "attributes": null
          },
          {
            "code": "228367002",
            "description": "Does not misuse drugs",
            "attributes": null
          },
          {
            "code": "228368007",
            "description": "Has never misused drugs",
            "attributes": null
          },
          {
            "code": "228371004",
            "description": "Long-term drug misuser",
            "attributes": null
          },
          {
            "code": "228372006",
            "description": "Poly-drug misuser",
            "attributes": null
          },
          {
            "code": "228373001",
            "description": "Drug addict",
            "attributes": null
          },
          {
            "code": "228374007",
            "description": "Notified addict",
            "attributes": null
          },
          {
            "code": "228375008",
            "description": "Misuses drugs orally",
            "attributes": null
          },
          {
            "code": "228376009",
            "description": "Inhales drugs",
            "attributes": null
          },
          {
            "code": "228377000",
            "description": "Smokes drugs",
            "attributes": null
          },
          {
            "code": "228378005",
            "description": "Smokes drugs in cigarette form",
            "attributes": null
          },
          {
            "code": "228379002",
            "description": "Smokes drugs through a pipe",
            "attributes": null
          },
          {
            "code": "228381000",
            "description": "Sniffs drugs",
            "attributes": null
          },
          {
            "code": "228382007",
            "description": "Misuses drugs vaginally",
            "attributes": null
          },
          {
            "code": "228383002",
            "description": "Misuses drugs rectally",
            "attributes": null
          },
          {
            "code": "228384008",
            "description": "Misuses drugs sublingually",
            "attributes": null
          },
          {
            "code": "228386005",
            "description": "Injects drugs subcutaneously",
            "attributes": null
          },
          {
            "code": "228387001",
            "description": "Injects drugs intramuscularly",
            "attributes": null
          },
          {
            "code": "228388006",
            "description": "Intravenous drug user",
            "attributes": null
          },
          {
            "code": "228389003",
            "description": "Groin injector",
            "attributes": null
          },
          {
            "code": "228390007",
            "description": "Frequency of drug misuse",
            "attributes": null
          },
          {
            "code": "228391006",
            "description": "Drug injection behavior",
            "attributes": null
          },
          {
            "code": "228392004",
            "description": "Does not inject drugs",
            "attributes": null
          },
          {
            "code": "228393009",
            "description": "Has never injected drugs",
            "attributes": null
          },
          {
            "code": "228394003",
            "description": "Drug injecting equipment hygiene",
            "attributes": null
          },
          {
            "code": "228395002",
            "description": "Shares drug injecting equipment",
            "attributes": null
          },
          {
            "code": "228397005",
            "description": "Shares drug equipment",
            "attributes": null
          },
          {
            "code": "228398000",
            "description": "Frontloading",
            "attributes": null
          },
          {
            "code": "228399008",
            "description": "Shares syringes",
            "attributes": null
          },
          {
            "code": "228400001",
            "description": "Shares needles",
            "attributes": null
          },
          {
            "code": "228401002",
            "description": "Cleaning of drug injection equipment",
            "attributes": null
          },
          {
            "code": "228402009",
            "description": "Cleans drug injection equipment",
            "attributes": null
          },
          {
            "code": "228405006",
            "description": "Obtains clean needles",
            "attributes": null
          },
          {
            "code": "228406007",
            "description": "Uses needle exchange scheme",
            "attributes": null
          },
          {
            "code": "228407003",
            "description": "Obtains clean syringes",
            "attributes": null
          },
          {
            "code": "228410005",
            "description": "Uses needle and syringe exchange scheme",
            "attributes": null
          },
          {
            "code": "228411009",
            "description": "Time since stopped drug misuse",
            "attributes": null
          },
          {
            "code": "228412002",
            "description": "Total time drugs misused",
            "attributes": null
          },
          {
            "code": "228413007",
            "description": "Age at starting drug misuse",
            "attributes": null
          },
          {
            "code": "228415000",
            "description": "Priority of drug-related activities",
            "attributes": null
          },
          {
            "code": "228417008",
            "description": "Undue priority given to drug-related activities",
            "attributes": null
          },
          {
            "code": "228418003",
            "description": "Drug habit takes priority over social obligations",
            "attributes": null
          },
          {
            "code": "228419006",
            "description": "Drug habit takes priority over family obligations",
            "attributes": null
          },
          {
            "code": "228420000",
            "description": "Drug habit takes priority over financial obligations",
            "attributes": null
          },
          {
            "code": "228421001",
            "description": "Time devoted to drug-related activities",
            "attributes": null
          },
          {
            "code": "228422008",
            "description": "Time spent obtaining drugs",
            "attributes": null
          },
          {
            "code": "228423003",
            "description": "Time spent taking drugs",
            "attributes": null
          },
          {
            "code": "228424009",
            "description": "Time spent recovering from drugs",
            "attributes": null
          },
          {
            "code": "228425005",
            "description": "Routine of drug-related activities",
            "attributes": null
          },
          {
            "code": "228427002",
            "description": "Has a routine of drug-related activities",
            "attributes": null
          },
          {
            "code": "228428007",
            "description": "Follows same drug-related routine every day",
            "attributes": null
          },
          {
            "code": "228429004",
            "description": "Drug-related rituals",
            "attributes": null
          },
          {
            "code": "228430009",
            "description": "Follows drug-related rituals",
            "attributes": null
          },
          {
            "code": "228438002",
            "description": "Craves for drugs",
            "attributes": null
          },
          {
            "code": "228440007",
            "description": "Drug-related offending behavior",
            "attributes": null
          },
          {
            "code": "228441006",
            "description": "Dealing with drugs",
            "attributes": null
          },
          {
            "code": "228443009",
            "description": "Buying drugs",
            "attributes": null
          },
          {
            "code": "228444003",
            "description": "Possession of drugs",
            "attributes": null
          },
          {
            "code": "230443000",
            "description": "Narcotic withdrawal epilepsy",
            "attributes": null
          },
          {
            "code": "231468005",
            "description": "Lysergic acid diethylamide dependence",
            "attributes": null
          },
          {
            "code": "231469002",
            "description": "Mescaline dependence",
            "attributes": null
          },
          {
            "code": "231470001",
            "description": "Anxiolytic dependence",
            "attributes": null
          },
          {
            "code": "231472009",
            "description": "Barbiturate dependence",
            "attributes": null
          },
          {
            "code": "231473004",
            "description": "Benzodiazepine dependence",
            "attributes": null
          },
          {
            "code": "231474005",
            "description": "Diazepam dependence",
            "attributes": null
          },
          {
            "code": "231475006",
            "description": "Librium dependence",
            "attributes": null
          },
          {
            "code": "231477003",
            "description": "Dependence on diamorphine",
            "attributes": null
          },
          {
            "code": "231478008",
            "description": "Methadone dependence",
            "attributes": null
          },
          {
            "code": "231479000",
            "description": "Morphine dependence",
            "attributes": null
          },
          {
            "code": "231480002",
            "description": "Opium dependence",
            "attributes": null
          },
          {
            "code": "231481003",
            "description": "Controlled drug dependence",
            "attributes": null
          },
          {
            "code": "231482005",
            "description": "Active drug dependence",
            "attributes": null
          },
          {
            "code": "237228001",
            "description": "Pregnancy and drug dependence",
            "attributes": null
          },
          {
            "code": "240061000000104",
            "description": "Intentional drug overdose by drug paraphernalia",
            "attributes": null
          },
          {
            "code": "2403008",
            "description": "Psychoactive substance dependence",
            "attributes": null
          },
          {
            "code": "240951000000103",
            "description": "Drug misuse reported by other",
            "attributes": null
          },
          {
            "code": "240961000000100",
            "description": "Patient admits to drug use",
            "attributes": null
          },
          {
            "code": "242257009",
            "description": "Accidental overdose of ecstasy",
            "attributes": null
          },
          {
            "code": "248021000000105",
            "description": "Current non recreational drug user",
            "attributes": null
          },
          {
            "code": "248601000000106",
            "description": "Neck injector",
            "attributes": null
          },
          {
            "code": "25753007",
            "description": "Amphetamine-induced sleep disorder",
            "attributes": null
          },
          {
            "code": "26714005",
            "description": "Cannabis-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "267206008",
            "description": "Drug dependence during pregnancy, childbirth and the puerperium",
            "attributes": null
          },
          {
            "code": "268640002",
            "description": "Hypnotic or anxiolytic dependence",
            "attributes": null
          },
          {
            "code": "268641003",
            "description": "Cannabis type drug dependence",
            "attributes": null
          },
          {
            "code": "268647004",
            "description": "Nondependent hypnotic or anxiolytic abuse",
            "attributes": null
          },
          {
            "code": "275471001",
            "description": "Psychostimulant dependence",
            "attributes": null
          },
          {
            "code": "279461000000104",
            "description": "Using heroin on top of substitution therapy",
            "attributes": null
          },
          {
            "code": "279491000000105",
            "description": "Not using heroin on top of substitution therapy",
            "attributes": null
          },
          {
            "code": "27956007",
            "description": "Cocaine intoxication",
            "attributes": null
          },
          {
            "code": "28368009",
            "description": "Organic hallucinosis caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "288461000119105",
            "description": "Psychosis caused by inhalant",
            "attributes": null
          },
          {
            "code": "288851000119106",
            "description": "Opioid-induced mood disorder due to opioid abuse",
            "attributes": null
          },
          {
            "code": "288861000119108",
            "description": "Opioid-induced mood disorder due to opioid dependence",
            "attributes": null
          },
          {
            "code": "290181001",
            "description": "Accidental heroin poisoning",
            "attributes": null
          },
          {
            "code": "290543000",
            "description": "Accidental cocaine poisoning",
            "attributes": null
          },
          {
            "code": "291246000",
            "description": "Accidental cannabis poisoning",
            "attributes": null
          },
          {
            "code": "291255002",
            "description": "Accidental mescaline poisoning",
            "attributes": null
          },
          {
            "code": "291258000",
            "description": "Accidental ecstasy poisoning",
            "attributes": null
          },
          {
            "code": "291261004",
            "description": "Accidental poisoning caused by crack cocaine",
            "attributes": null
          },
          {
            "code": "295174006",
            "description": "Heroin overdose",
            "attributes": null
          },
          {
            "code": "295175007",
            "description": "Accidental heroin overdose",
            "attributes": null
          },
          {
            "code": "295176008",
            "description": "Heroin overdose of undetermined intent",
            "attributes": null
          },
          {
            "code": "295566002",
            "description": "Local cocaine overdose",
            "attributes": null
          },
          {
            "code": "295567006",
            "description": "Accidental local cocaine overdose",
            "attributes": null
          },
          {
            "code": "295568001",
            "description": "Intentional local cocaine overdose",
            "attributes": null
          },
          {
            "code": "295570005",
            "description": "Local cocaine overdose of undetermined intent",
            "attributes": null
          },
          {
            "code": "296301000",
            "description": "Cannabis overdose",
            "attributes": null
          },
          {
            "code": "296302007",
            "description": "Accidental cannabis overdose",
            "attributes": null
          },
          {
            "code": "296303002",
            "description": "Intentional cannabis overdose",
            "attributes": null
          },
          {
            "code": "296304008",
            "description": "Cannabis overdose of undetermined intent",
            "attributes": null
          },
          {
            "code": "296305009",
            "description": "Overdose of lysergic acid",
            "attributes": null
          },
          {
            "code": "296306005",
            "description": "Accidental overdose by lysergic acid",
            "attributes": null
          },
          {
            "code": "296307001",
            "description": "Intentional overdose by lysergic acid",
            "attributes": null
          },
          {
            "code": "296308006",
            "description": "Overdose of lysergic acid of undetermined intent",
            "attributes": null
          },
          {
            "code": "296310008",
            "description": "Accidental psilocybin overdose",
            "attributes": null
          },
          {
            "code": "296313005",
            "description": "Mescaline overdose",
            "attributes": null
          },
          {
            "code": "296314004",
            "description": "Accidental mescaline overdose",
            "attributes": null
          },
          {
            "code": "296315003",
            "description": "Intentional mescaline overdose",
            "attributes": null
          },
          {
            "code": "296316002",
            "description": "Mescaline overdose of undetermined intent",
            "attributes": null
          },
          {
            "code": "296318001",
            "description": "Overdose of ecstasy",
            "attributes": null
          },
          {
            "code": "296319009",
            "description": "Intentional overdose of ecstasy",
            "attributes": null
          },
          {
            "code": "296320003",
            "description": "Overdose of ecstasy of undetermined intent",
            "attributes": null
          },
          {
            "code": "296321004",
            "description": "Overdose of cocaine",
            "attributes": null
          },
          {
            "code": "296322006",
            "description": "Accidental overdose by cocaine",
            "attributes": null
          },
          {
            "code": "296323001",
            "description": "Intentional overdose by cocaine",
            "attributes": null
          },
          {
            "code": "296324007",
            "description": "Overdose of cocaine of undetermined intent",
            "attributes": null
          },
          {
            "code": "296325008",
            "description": "Overdose of crack cocaine",
            "attributes": null
          },
          {
            "code": "296326009",
            "description": "Accidental overdose by crack cocaine",
            "attributes": null
          },
          {
            "code": "296327000",
            "description": "Intentional overdose by crack cocaine",
            "attributes": null
          },
          {
            "code": "296328005",
            "description": "Overdose of crack cocaine of undetermined intent",
            "attributes": null
          },
          {
            "code": "29733004",
            "description": "Mood disorder caused by opioid",
            "attributes": null
          },
          {
            "code": "30491001",
            "description": "Cocaine delusional disorder",
            "attributes": null
          },
          {
            "code": "307052004",
            "description": "Illicit drug use",
            "attributes": null
          },
          {
            "code": "310202009",
            "description": "Organic mental disorder caused by arylcyclohexylamine",
            "attributes": null
          },
          {
            "code": "311173003",
            "description": "Phencyclidine-related disorder",
            "attributes": null
          },
          {
            "code": "312936002",
            "description": "Organic mental disorder caused by anxiolytic agent",
            "attributes": null
          },
          {
            "code": "313915006",
            "description": "Organic mental disorder caused by hypnotic agent",
            "attributes": null
          },
          {
            "code": "31715000",
            "description": "Phencyclidine intoxication delirium",
            "attributes": null
          },
          {
            "code": "31956009",
            "description": "Cocaine dependence",
            "attributes": null
          },
          {
            "code": "32009006",
            "description": "Hallucinogen hallucinosis",
            "attributes": null
          },
          {
            "code": "32358001",
            "description": "Amphetamine delusional disorder",
            "attributes": null
          },
          {
            "code": "32552001",
            "description": "Organic delusional disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "32875003",
            "description": "Inhalant-induced persisting dementia",
            "attributes": null
          },
          {
            "code": "33871004",
            "description": "Phencyclidine-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "361049005",
            "description": "Habitual drug user",
            "attributes": null
          },
          {
            "code": "361055000",
            "description": "Misuses drugs",
            "attributes": null
          },
          {
            "code": "363908000",
            "description": "Details of drug misuse behavior",
            "attributes": null
          },
          {
            "code": "37331004",
            "description": "Organic mood disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "373613000",
            "description": "Cleans own needles",
            "attributes": null
          },
          {
            "code": "38247002",
            "description": "Hallucinogen dependence",
            "attributes": null
          },
          {
            "code": "383871000000108",
            "description": "Health problem secondary to drug misuse",
            "attributes": null
          },
          {
            "code": "383901000000108",
            "description": "Uses drug paraphernalia",
            "attributes": null
          },
          {
            "code": "39003006",
            "description": "Delirium caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "39807006",
            "description": "Cannabis intoxication delirium",
            "attributes": null
          },
          {
            "code": "39951001",
            "description": "Cannabis-induced anxiety disorder",
            "attributes": null
          },
          {
            "code": "405069002",
            "description": "Effect of substance addiction",
            "attributes": null
          },
          {
            "code": "40571009",
            "description": "Hallucinogen intoxication delirium",
            "attributes": null
          },
          {
            "code": "413096007",
            "description": "Never injecting drug user",
            "attributes": null
          },
          {
            "code": "413295004",
            "description": "Concerned about own drug use",
            "attributes": null
          },
          {
            "code": "413329000",
            "description": "Treated for drug use in last 12 months",
            "attributes": null
          },
          {
            "code": "414874007",
            "description": "Nondependent amphetamine or psychostimulant abuse in remission",
            "attributes": null
          },
          {
            "code": "416262000",
            "description": "Continuous use of drugs",
            "attributes": null
          },
          {
            "code": "416437003",
            "description": "Preoccupied with substance misuse",
            "attributes": null
          },
          {
            "code": "416479009",
            "description": "Previously injecting drug user",
            "attributes": null
          },
          {
            "code": "416751004",
            "description": "Reduced drugs misuse",
            "attributes": null
          },
          {
            "code": "417252002",
            "description": "Episodic use of drugs",
            "attributes": null
          },
          {
            "code": "417284009",
            "description": "Current drug user",
            "attributes": null
          },
          {
            "code": "417298001",
            "description": "Abnormal craving for drugs",
            "attributes": null
          },
          {
            "code": "417360004",
            "description": "Duplicative flashbacks",
            "attributes": null
          },
          {
            "code": "417531009",
            "description": "Excessive craving for drugs",
            "attributes": null
          },
          {
            "code": "417697003",
            "description": "Irresistible craving for drugs",
            "attributes": null
          },
          {
            "code": "424461008",
            "description": "Altered behavior due to substance use",
            "attributes": null
          },
          {
            "code": "424626006",
            "description": "Misuse of over-the-counter medications",
            "attributes": null
          },
          {
            "code": "424848002",
            "description": "Recreational drug user",
            "attributes": null
          },
          {
            "code": "425841004",
            "description": "Phencyclidine dependence in remission",
            "attributes": null
          },
          {
            "code": "426001001",
            "description": "Fentanyl dependence",
            "attributes": null
          },
          {
            "code": "426873000",
            "description": "Methamphetamine dependence",
            "attributes": null
          },
          {
            "code": "427205009",
            "description": "Amphetamine abuse, continuous",
            "attributes": null
          },
          {
            "code": "427327003",
            "description": "Sedative dependence",
            "attributes": null
          },
          {
            "code": "428370001",
            "description": "Psychostimulant withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "428406005",
            "description": "Benzodiazepine misuse",
            "attributes": null
          },
          {
            "code": "428493006",
            "description": "Crack cocaine misuse",
            "attributes": null
          },
          {
            "code": "428495004",
            "description": "Solvent misuse",
            "attributes": null
          },
          {
            "code": "428623008",
            "description": "Barbiturate misuse",
            "attributes": null
          },
          {
            "code": "428659002",
            "description": "Amphetamine misuse",
            "attributes": null
          },
          {
            "code": "428819003",
            "description": "Opiate misuse",
            "attributes": null
          },
          {
            "code": "428823006",
            "description": "Cannabis misuse",
            "attributes": null
          },
          {
            "code": "429179002",
            "description": "Antidepressant misuse",
            "attributes": null
          },
          {
            "code": "429299000",
            "description": "Combined drug dependence, continuous",
            "attributes": null
          },
          {
            "code": "429512006",
            "description": "Methadone misuse",
            "attributes": null
          },
          {
            "code": "429692000",
            "description": "Amphetamine abuse, episodic",
            "attributes": null
          },
          {
            "code": "429782000",
            "description": "Cocaine misuse",
            "attributes": null
          },
          {
            "code": "43497001",
            "description": "Amfetamine-induced mood disorder",
            "attributes": null
          },
          {
            "code": "439374006",
            "description": "Drug abuse cessation behavior",
            "attributes": null
          },
          {
            "code": "440664005",
            "description": "Details of drug use behavior during pregnancy",
            "attributes": null
          },
          {
            "code": "441527004",
            "description": "Harmful pattern of use of stimulant",
            "attributes": null
          },
          {
            "code": "441668002",
            "description": "Drug seeking behavior",
            "attributes": null
          },
          {
            "code": "441681009",
            "description": "Dependence on unknown drug",
            "attributes": null
          },
          {
            "code": "442229000",
            "description": "Amount of money spent per day on drug habit",
            "attributes": null
          },
          {
            "code": "442406005",
            "description": "Stimulant dependence",
            "attributes": null
          },
          {
            "code": "44870007",
            "description": "Misused drugs in past",
            "attributes": null
          },
          {
            "code": "45421006",
            "description": "Amphetamine intoxication",
            "attributes": null
          },
          {
            "code": "46721000",
            "description": "Organic personality disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "46975003",
            "description": "Organic mental disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "4863002",
            "description": "Mood disorder caused by phencyclidine",
            "attributes": null
          },
          {
            "code": "5002000",
            "description": "Volatile inhalant dependence",
            "attributes": null
          },
          {
            "code": "50026000",
            "description": "Organic anxiety disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "50320000",
            "description": "Hallucinogen intoxication",
            "attributes": null
          },
          {
            "code": "50722006",
            "description": "Delusional disorder caused by phencyclidine",
            "attributes": null
          },
          {
            "code": "50933003",
            "description": "Hallucinogen delusional disorder",
            "attributes": null
          },
          {
            "code": "51339003",
            "description": "Polysubstance dependence",
            "attributes": null
          },
          {
            "code": "51441000087107",
            "description": "Cannabis-filled electronic cigarette user",
            "attributes": null
          },
          {
            "code": "51443000",
            "description": "Amphetamine-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "51493001",
            "description": "Anxiety disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "52866005",
            "description": "Opioid intoxication delirium",
            "attributes": null
          },
          {
            "code": "53050002",
            "description": "Organic mental disorder caused by hallucinogen",
            "attributes": null
          },
          {
            "code": "55967005",
            "description": "Anxiety disorder caused by phencyclidine",
            "attributes": null
          },
          {
            "code": "58727001",
            "description": "Phencyclidine dependence",
            "attributes": null
          },
          {
            "code": "61104008",
            "description": "Inhalant-induced organic mental disorder",
            "attributes": null
          },
          {
            "code": "6348008",
            "description": "Cocaine-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "63649001",
            "description": "Cannabis delusional disorder",
            "attributes": null
          },
          {
            "code": "63983005",
            "description": "Inhalant-induced psychotic disorder with hallucinations",
            "attributes": null
          },
          {
            "code": "699449003",
            "description": "Harmful pattern of use of metamfetamine",
            "attributes": null
          },
          {
            "code": "70328006",
            "description": "Cocaine intoxication delirium",
            "attributes": null
          },
          {
            "code": "703845008",
            "description": "Buprenorphine dependence",
            "attributes": null
          },
          {
            "code": "703885002",
            "description": "Misuse of analgesic",
            "attributes": null
          },
          {
            "code": "70545002",
            "description": "Narcotic drug user",
            "attributes": null
          },
          {
            "code": "707848009",
            "description": "Patient denies drug use",
            "attributes": null
          },
          {
            "code": "708079007",
            "description": "Overdose of illicit drug",
            "attributes": null
          },
          {
            "code": "70932007",
            "description": "Sexual dysfunction caused by amfetamine",
            "attributes": null
          },
          {
            "code": "712542001",
            "description": "Abstinent from drug misuse",
            "attributes": null
          },
          {
            "code": "712543006",
            "description": "Abstinent from drug misuse in normal environment",
            "attributes": null
          },
          {
            "code": "712544000",
            "description": "Abstinent from drug misuse in protected environment",
            "attributes": null
          },
          {
            "code": "712545004",
            "description": "Abstinent from drug misuse on maintenance replacement",
            "attributes": null
          },
          {
            "code": "712546003",
            "description": "Abstinent from drug misuse when receiving blocking therapy",
            "attributes": null
          },
          {
            "code": "71328000",
            "description": "Sexual dysfunction caused by opioid",
            "attributes": null
          },
          {
            "code": "715818002",
            "description": "Cleans drug injection needle with bleach",
            "attributes": null
          },
          {
            "code": "718617006",
            "description": "Clinical Institute Withdrawal Assessment for Benzodiazepines scale score",
            "attributes": null
          },
          {
            "code": "723933008",
            "description": "Cannabis dependence with current use",
            "attributes": null
          },
          {
            "code": "723936000",
            "description": "Psychotic disorder caused by cannabis",
            "attributes": null
          },
          {
            "code": "723937009",
            "description": "Sleep disorder caused by cannabis",
            "attributes": null
          },
          {
            "code": "724653003",
            "description": "Opioid dependence with current use",
            "attributes": null
          },
          {
            "code": "724656006",
            "description": "Hypnotic dependence",
            "attributes": null
          },
          {
            "code": "724657002",
            "description": "Sedative dependence with current use",
            "attributes": null
          },
          {
            "code": "724658007",
            "description": "Hypnotic dependence with current use",
            "attributes": null
          },
          {
            "code": "724659004",
            "description": "Anxiolytic dependence with current use",
            "attributes": null
          },
          {
            "code": "724673008",
            "description": "Psychotic disorder caused by sedative",
            "attributes": null
          },
          {
            "code": "724674002",
            "description": "Psychotic disorder caused by hypnotic",
            "attributes": null
          },
          {
            "code": "724675001",
            "description": "Psychotic disorder caused by anxiolytic",
            "attributes": null
          },
          {
            "code": "724676000",
            "description": "Mood disorder with depressive symptoms caused by sedative",
            "attributes": null
          },
          {
            "code": "724677009",
            "description": "Mood disorder with depressive symptoms caused by hypnotic",
            "attributes": null
          },
          {
            "code": "724678004",
            "description": "Mood disorder with depressive symptoms caused by anxiolytic",
            "attributes": null
          },
          {
            "code": "724688003",
            "description": "Cocaine dependence with current use",
            "attributes": null
          },
          {
            "code": "724689006",
            "description": "Psychotic disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "724690002",
            "description": "Mood disorder with depressive symptoms caused by cocaine",
            "attributes": null
          },
          {
            "code": "724691003",
            "description": "Mood disorder with manic symptoms caused by cocaine",
            "attributes": null
          },
          {
            "code": "724692005",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by cocaine",
            "attributes": null
          },
          {
            "code": "724693000",
            "description": "Obsessive compulsive disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "724695007",
            "description": "Hallucinogen dependence with current use",
            "attributes": null
          },
          {
            "code": "724696008",
            "description": "Psychotic disorder caused by hallucinogen",
            "attributes": null
          },
          {
            "code": "724700000",
            "description": "Volatile inhalant dependence with current use",
            "attributes": null
          },
          {
            "code": "724702008",
            "description": "Psychotic disorder caused by volatile inhalant",
            "attributes": null
          },
          {
            "code": "724704009",
            "description": "Methylenedioxymethamphetamine dependence with current use",
            "attributes": null
          },
          {
            "code": "724706006",
            "description": "Psychotic disorder caused by methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "724707002",
            "description": "Mood disorder caused by methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "724708007",
            "description": "Anxiety disorder caused by methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "724712001",
            "description": "Harmful use of dissociative drug",
            "attributes": null
          },
          {
            "code": "724714000",
            "description": "Dependence caused by dissociative substance",
            "attributes": null
          },
          {
            "code": "724715004",
            "description": "Ketamine dependence",
            "attributes": null
          },
          {
            "code": "724716003",
            "description": "Delirium caused by ketamine",
            "attributes": null
          },
          {
            "code": "724717007",
            "description": "Delirium caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "724718002",
            "description": "Psychotic disorder caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "724719005",
            "description": "Psychotic disorder caused by ketamine",
            "attributes": null
          },
          {
            "code": "724720004",
            "description": "Mood disorder caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "724721000",
            "description": "Mood disorder caused by ketamine",
            "attributes": null
          },
          {
            "code": "724722007",
            "description": "Anxiety disorder caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "724723002",
            "description": "Anxiety disorder caused by ketamine",
            "attributes": null
          },
          {
            "code": "724724008",
            "description": "Psychoactive substance dependence with current use",
            "attributes": null
          },
          {
            "code": "724725009",
            "description": "Psychoactive substance withdrawal syndrome without complication",
            "attributes": null
          },
          {
            "code": "724726005",
            "description": "Perceptual disturbances co-occurrent and due to psychoactive substance withdrawal",
            "attributes": null
          },
          {
            "code": "724727001",
            "description": "Seizure co-occurrent and due to psychoactive substance withdrawal",
            "attributes": null
          },
          {
            "code": "724728006",
            "description": "Perceptual disturbances and seizures co-occurrent and due to psychoactive substance withdrawal",
            "attributes": null
          },
          {
            "code": "724729003",
            "description": "Psychotic disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "724730008",
            "description": "Obsessive compulsive disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "735750005",
            "description": "Psychotic disorder with schizophreniform symptoms caused by cocaine",
            "attributes": null
          },
          {
            "code": "737226008",
            "description": "Disorder caused by cannabis",
            "attributes": null
          },
          {
            "code": "737334000",
            "description": "Disorder caused by synthetic cannabinoid use",
            "attributes": null
          },
          {
            "code": "737335004",
            "description": "Synthetic cannabinoid intoxication",
            "attributes": null
          },
          {
            "code": "737336003",
            "description": "Harmful pattern of use of synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "737337007",
            "description": "Synthetic cannabinoid dependence",
            "attributes": null
          },
          {
            "code": "737338002",
            "description": "Synthetic cannabinoid withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "737339005",
            "description": "Delirium caused by synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "737340007",
            "description": "Psychotic disorder caused by synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "737341006",
            "description": "Anxiety disorder caused by synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "737342004",
            "description": "Sleep disorder caused by synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "741063003",
            "description": "Illicit drug injection in last 12 months",
            "attributes": null
          },
          {
            "code": "74851005",
            "description": "Harmful pattern of use of hallucinogen",
            "attributes": null
          },
          {
            "code": "74934004",
            "description": "Psychoactive substance withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "75122001",
            "description": "Inhalant-induced psychotic disorder with delusions",
            "attributes": null
          },
          {
            "code": "75544000",
            "description": "Opioid dependence",
            "attributes": null
          },
          {
            "code": "762320004",
            "description": "Mood disorder with manic symptoms caused by opioid",
            "attributes": null
          },
          {
            "code": "762321000",
            "description": "Mood disorder with depressive symptoms caused by opioid",
            "attributes": null
          },
          {
            "code": "762322007",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by opioid",
            "attributes": null
          },
          {
            "code": "762324008",
            "description": "Delirium caused by stimulant",
            "attributes": null
          },
          {
            "code": "762325009",
            "description": "Psychotic disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "762326005",
            "description": "Psychotic disorder with hallucinations caused by stimulant",
            "attributes": null
          },
          {
            "code": "762327001",
            "description": "Psychotic disorder with delusions caused by stimulant",
            "attributes": null
          },
          {
            "code": "762328006",
            "description": "Mood disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "762329003",
            "description": "Mood disorder with depressive symptoms caused by stimulant",
            "attributes": null
          },
          {
            "code": "762330008",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by stimulant",
            "attributes": null
          },
          {
            "code": "762331007",
            "description": "Anxiety disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "762332000",
            "description": "Obsessive compulsive disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "762333005",
            "description": "Sexual dysfunction caused by stimulant",
            "attributes": null
          },
          {
            "code": "762334004",
            "description": "Sleep disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "762335003",
            "description": "Mood disorder with manic symptoms caused by hallucinogen",
            "attributes": null
          },
          {
            "code": "762336002",
            "description": "Mood disorder with depressive symptoms caused by hallucinogen",
            "attributes": null
          },
          {
            "code": "762337006",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by hallucinogen",
            "attributes": null
          },
          {
            "code": "762338001",
            "description": "Mood disorder with manic symptoms caused by volatile inhalant",
            "attributes": null
          },
          {
            "code": "762339009",
            "description": "Mood disorder with depressive symptoms caused by volatile inhalant",
            "attributes": null
          },
          {
            "code": "762340006",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by volatile inhalant",
            "attributes": null
          },
          {
            "code": "762341005",
            "description": "Mood disorder with manic symptoms caused by ecstasy type drug",
            "attributes": null
          },
          {
            "code": "762342003",
            "description": "Mood disorder with depressive symptoms caused by ecstasy type drug",
            "attributes": null
          },
          {
            "code": "762343008",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by ecstasy type drug",
            "attributes": null
          },
          {
            "code": "762344002",
            "description": "Mood disorder with manic symptoms caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "762345001",
            "description": "Mood disorder with depressive symptoms caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "762346000",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "762503004",
            "description": "Disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762504005",
            "description": "Harmful pattern of use of synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762505006",
            "description": "Synthetic cathinone dependence",
            "attributes": null
          },
          {
            "code": "762506007",
            "description": "Delirium caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762507003",
            "description": "Psychotic disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762508008",
            "description": "Psychotic disorder with hallucinations caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762509000",
            "description": "Psychotic disorder with delusions caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762510005",
            "description": "Psychotic disorder with schizophreniform symptoms caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762511009",
            "description": "Mood disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762512002",
            "description": "Mood disorder with depressive symptoms caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762513007",
            "description": "Mood disorder with manic symptoms caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762514001",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762515000",
            "description": "Anxiety disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762516004",
            "description": "Obsessive compulsive disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762517008",
            "description": "Sexual dysfunction caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762518003",
            "description": "Sleep disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762671008",
            "description": "Intoxication caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "762672001",
            "description": "Synthetic cathinone withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "763699005",
            "description": "Clinical Opiate Withdrawal Scale score",
            "attributes": null
          },
          {
            "code": "770101000000107",
            "description": "Treatment outcomes profile score",
            "attributes": null
          },
          {
            "code": "77355000",
            "description": "Organic mental disorder caused by Cannabis",
            "attributes": null
          },
          {
            "code": "7761000119106",
            "description": "Psychotic disorder caused by amphetamine",
            "attributes": null
          },
          {
            "code": "78267003",
            "description": "Harmful pattern of use of cocaine",
            "attributes": null
          },
          {
            "code": "78358001",
            "description": "Amphetamine withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "785277001",
            "description": "Harmful pattern of use of amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "788165003",
            "description": "Misuse of medication",
            "attributes": null
          },
          {
            "code": "788863007",
            "description": "Amnestic disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "788904003",
            "description": "Disorder caused by dissociative drug",
            "attributes": null
          },
          {
            "code": "788955005",
            "description": "Impulse control disorder caused by cocaine",
            "attributes": null
          },
          {
            "code": "788956006",
            "description": "Impulse control disorder caused by psychoactive substance",
            "attributes": null
          },
          {
            "code": "788957002",
            "description": "Impulse control disorder caused by stimulant",
            "attributes": null
          },
          {
            "code": "788958007",
            "description": "Impulse control disorder caused by synthetic cathinone",
            "attributes": null
          },
          {
            "code": "788983007",
            "description": "Mood disorder caused by cannabis",
            "attributes": null
          },
          {
            "code": "789119007",
            "description": "Mood disorder caused by synthetic cannabinoid",
            "attributes": null
          },
          {
            "code": "80868005",
            "description": "Cocaine withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "817962007",
            "description": "Chlordiazepoxide dependence",
            "attributes": null
          },
          {
            "code": "82339009",
            "description": "Anxiety disorder caused by amfetamine",
            "attributes": null
          },
          {
            "code": "824001000000103",
            "description": "Misuses anabolic steroids",
            "attributes": null
          },
          {
            "code": "83168008",
            "description": "Psychoactive substance-induced organic amnestic disorder",
            "attributes": null
          },
          {
            "code": "83367009",
            "description": "Organic mental disorder caused by amphetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "836439001",
            "description": "Nicotine dependence in remission",
            "attributes": null
          },
          {
            "code": "838519006",
            "description": "Overdose of methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "838520000",
            "description": "Accidental overdose of methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "838521001",
            "description": "Intentional overdose of methylenedioxymethamphetamine",
            "attributes": null
          },
          {
            "code": "838522008",
            "description": "Overdose of methylenedioxymethamphetamine of undetermined intent",
            "attributes": null
          },
          {
            "code": "838527002",
            "description": "Amfetamine and/or amfetamine derivative dependence",
            "attributes": null
          },
          {
            "code": "838528007",
            "description": "Mood disorder with manic symptoms caused by amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "838529004",
            "description": "Mood disorder with mixed depressive and manic symptoms caused by amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "838530009",
            "description": "Mood disorder with depressive symptoms caused by amfetamine and/or amfetamine derivative",
            "attributes": null
          },
          {
            "code": "84758004",
            "description": "Amphetamine abuse",
            "attributes": null
          },
          {
            "code": "85005007",
            "description": "Cannabis dependence",
            "attributes": null
          },
          {
            "code": "860699005",
            "description": "Deep vein thrombosis of lower extremity due to intravenous drug use",
            "attributes": null
          },
          {
            "code": "86391000119101",
            "description": "Volatile inhalant dependence, continuous",
            "attributes": null
          },
          {
            "code": "86401000119104",
            "description": "Volatile inhalant dependence, episodic",
            "attributes": null
          },
          {
            "code": "87132004",
            "description": "Opioid withdrawal syndrome",
            "attributes": null
          },
          {
            "code": "8837000",
            "description": "Delirium caused by amphetamine",
            "attributes": null
          },
          {
            "code": "89451009",
            "description": "Inhalant-induced mood disorder",
            "attributes": null
          },
          {
            "code": "91388009",
            "description": "Harmful pattern of use of psychoactive substance",
            "attributes": null
          },
          {
            "code": "943121000000104",
            "description": "Psychoactive substance-induced psychosis",
            "attributes": null
          },
          {
            "code": "943151000000109",
            "description": "Volatile inhalant-induced psychosis",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "7dae9e55",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/sh2q-3x23",
    "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": 6733,
        "version_name": "Illicit substance abuse codes",
        "version_date": "2026-01-26T22:37:27.462412Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 6732,
        "version_name": "Illicit substance abuse codes",
        "version_date": "2026-01-26T22:37:24.695515Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6731,
        "version_name": "Illicit substance abuse codes",
        "version_date": "2026-01-26T22:37:21.909351Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6730,
        "version_name": "Illicit substance abuse codes",
        "version_date": "2026-01-26T22:37:19.009189Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6729,
        "version_name": "Illicit substance abuse codes",
        "version_date": "2026-01-26T22:37:16.779276Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]