Depression- Primary Care

John, A., Marchant, A. L., Fone, D. L., McGregor, J. I., Dennis, M. S., Tan, J. O. A., & Lloyd, K.

PH1021 / 2204 Clinical-Coded Phenotype

  1. Overview

    Phenotype Type
    Disease or syndrome
    Phenotype UUID
    excel-ADP-custom1
    Sex
    Both
    Valid Event Date Range
    No data
    Coding System
    Read codes v2
    Collections
    Adolescent Data Platform (ADP)DATAMINDPhenotype Library
    Tags
    No data
    Ontology
    No data
  2. Definition

    The read codes and algorithms used to identify depression have been developed and utilised in previous research (Cornish et al., 2016; John et al., 2016). These code lists include diagnosis and symptoms of depression, administrative codes relating to depression and depression codes specific to childhood and adolescence. Codes identifying prescriptions are to be used in combination with a previous diagnosis or treatment (John et al, 2015). The algorithm encompassing a historical diagnosis which is currently being treated in combination with a current diagnosis which is treated or untreated improves sensitivity from using current diagnosis alone. This method was optimal for identifying common mental disorders in primary care.

  3. Implementation

    Implementation

    No data
  4. Clinical Code List

  5. Publication

    Related publications

    Citation Example

    John, A., Marchant, A. L., Fone, D. L., McGregor, J. I., Dennis, M. S., Tan, J. O. A., & Lloyd, K.. PH1021 / 2204 - Depression- Primary Care. Phenotype Library [Online]. 07 July 2022. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH1021/version/2204/detail/. [Accessed 12 January 2025]

  6. Permissions

  7. API

    To Export Phenotype Details:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH1021/version/2204/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(
     'PH1021',
     version_id=2204
    )

    Py Package

    # Download here

    from pyconceptlibraryclient import Client


    # Connect to API

    client = Client(public=True)


    # Get codelist of phenotype

    phenotype_codelist = client.phenotypes.get_detail(
     'PH1021',
     version_id=2204
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH1021/version/2204/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(
     'PH1021',
     version_id=2204
    )

    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(
     'PH1021',
     version_id=2204
    )

  8. Version History

    Version IDNameOwnerPublish date
    Depression- Primary Care zinnurar2022-07-08 13:58