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
    Sex
    Both
    Valid Event Date Range
    No data
    Coding System
    Read codes v2
    Collections
    Adolescent Data Platform (ADP)DATAMINDPhenotype Library
    Tags
    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

    • John, A., Marchant, A. L., Fone, D. L., McGregor, J. I., Dennis, M. S., Tan, J. O. A., & Lloyd, K. (2016). Recent trends in primary-care antidepressant prescribing to children and young people: an e-cohort study. Psychological Medicine, 46(16),3315-3327. https://doi.org/10.1017/S0033291716002099

      (DOI:10.1017/S0033291716002099)
    • Cornish, R. P., John, A., Boyd, A., Tilling, K., & Macleod, J. (2016). Defining adolescent common mental disorders using electronic primary care data: A comparison with outcomes measured using the CIS-R. BMJ Open, 6(12). https://doi.org/10.1136/bmjopen-2016-013167

      (DOI:10.1136/bmjopen-2016-013167)

    Citation Requirements

    No data
  6. 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
    CSV site_root/phenotypes/PH1021/version/2204/export/codes/
    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
    )

  7. Version History

    Version IDNameOwnerPublish date
    2204 Depression- Primary Care zinnurar2022-07-08currently shown