Second generation antipsychotics, excluding long acting injections

PH3712 / 8834

OpenSAFELY

Jan 26, 2026

REGISTERING DOI...

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/second-generation-antipsychotics-excluding-long-acting-injections
    Version ID
    6c7c3c11
    Coding System
    dm+d codes
    Collections
    OpenCodelistPhenotype Library
    Tags
    No data
  2. Definition

    This codelist was taken from OpenCodelists, created by OpenSAFELY. We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.

    This code list contains the DM\&D list of medicines known as Second Generation Antipsychotics. All formulations of these medicines have been included except for long acting injections, which are included in a separate code list. These antipsychotics are licensed to treat psychoses and related illnesses. although asenapine is only licensed to treat mania.

    See Second generation antipsychotics Codelist

    © University of Oxford for the Bennett Institute for Applied Data Science 2025. This work may be copied freely for non-commercial research and study.

  3. Methodology

    This list was developed using the list of second generation antipsychotics described in the BNF in the chapter 4.2; Drugs for psychoses and related illnesses. The list was cross referenced against the Snomed list of antipsychotics. All forms of the antipsychotics were included in the list except for long acting injections. Loxapine was not included in this list; whilst it is recognised that Loxapine has some atypical properties, it is generally referred to as a first generation antipsychotic.

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3712/version/8834/detail/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get details of Phenotype

    phenotype_details = client$phenotypes$get_detail(
     'PH3712',
     version_id=8834
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get details of Phenotype

    phenotype_detail = client.phenotypes.get_detail(
     'PH3712',
     version_id=8834
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH3712/version/8834/export/codes/?format=json
    R Package

    # Download here

    library(ConceptLibraryClient)


    # Connect to API

    client = ConceptLibraryClient::Connection$new(public=TRUE)


    # Get codelist of Phenotype

    phenotype_codelist = client$phenotypes$get_codelist(
     'PH3712',
     version_id=8834
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get codelist of Phenotype

    phenotype_codelist = client.phenotypes.get_codelist(
     'PH3712',
     version_id=8834
    )

  7. Version History

    Version IDNameOwnerPublish date
    Second generation antipsychotics, excluding long acting injections ieuan.scanlon2026-01-26 23:31