Atrial fibrillation

Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A

PH36 / 72 Clinical-Coded Phenotype

  1. Overview

    Phenotype Type
    Disease or syndrome
    Sex
    Both
    Valid Event Date Range
    01/01/1999 - 01/07/2016
    Coding System
    Read codes v2Med codesICD10 codes
    Collections
    CALIBERPhenotype Library
    Tags
    No data
  2. Definition

    Use MODIFIED CALIBER 'Atrial fibrillation' phenotyping algorithm:

    At the specified date, a patient is considered to have had 'Atrial fibrillation' or flutter IF they meet any of the criteria below on or before the specified date.

    The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:

      1. Historical & Diagnosed: first recorded AF code indicates monitoring of an existing condition, or reference to a previous AF diagnosis, or a diagnosis code for AF; preference given to the earliest dated record rather than diagnosis source (i.e. no preference for primary versus secondary care).

      2. af_gprd: category 1, 2, 3, 4, 5, 6, 7

      3. af_hes: category 6

  3. Implementation

  4. Clinical Code List

  5. Publication

    • Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3

      (DOI:10.1016/S2589-7500(19)30012-3)

    Citation Requirements

    No data
  6. API

    To Export Phenotype Details:

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

    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(
     'PH36',
     version_id=72
    )

    To Export Phenotype Code List:

    FormatAPI
    JSON site_root/api/v1/phenotypes/PH36/version/72/export/codes/?format=json
    CSV site_root/phenotypes/PH36/version/72/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(
     'PH36',
     version_id=72
    )

    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(
     'PH36',
     version_id=72
    )

  7. Version History

    Version IDNameOwnerPublish date
    72 Atrial fibrillation ieuan.scanlon2021-10-06currently shown