Myocardial infarction

PH4039 / 9242

Farrell J, Sherlock L, Lessels S, Mullen L, Akowuah E, Asselbergs F W, Gale C, Grant S, Harper C, Khunti K, MacArthur J, Mamas M, McConnachie A, Murphy G, Nadarajah R, Newby D, Nolan J, Petersen S, Quint J, Rahimi K, Stables R, Storey R, Denaxas S, Sydes M R

Mar 3, 2026

BHF Data Science Centre Phenotype
  1. Overview

    Project Name
    SCORE-CVD MI algorithm
    Phenotype Type
    Disease or syndrome
    Sex
    Both
    Valid Event Date Range
    No data
    Coding System
    ICD10 codes
    Data Sources
    No data
    Ontology
    No data
    Collections
    BHF Data Science Centre
    Tags
    No data
  2. Definition

    Definition

    No data

    Clinical Trials

    No Trials

    Endorsements

    No endorsement
  3. Implementation

    Implementation

    This code list was created as part of an algorithm to dectect myocardial infarction (MI), which was developed under the BHF Data Science Centre's Standardising Clinical Outcome measures in Routinely collected Electronic healthcare systems data (SCORE-CVD) project. It provides a pipeline for identifying MI events, including recurrent MIs, in HES APC and ONS deaths datasets. A ready to implement Databricks and R studio version of the MI algorithm, can be found on the BHF Data Science Centre Github here

  4. Clinical Codelist

  5. Publication

    Related publications

    No known publications

    Citation Example

    Farrell J, Sherlock L, Lessels S, Mullen L, Akowuah E, Asselbergs F W, Gale C, Grant S, Harper C, Khunti K, MacArthur J, Mamas M, McConnachie A, Murphy G, Nadarajah R, Newby D, Nolan J, Petersen S, Quint J, Rahimi K, Stables R, Storey R, Denaxas S, Sydes M R. PH4039 / 9242 - Myocardial infarction. Phenotype Library [Online]. 03 March 2026. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH4039/version/9242/detail/. [Accessed 05 March 2026]

  6. API

    To Export Phenotype Details:

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

    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(
     'PH4039',
     version_id=9242
    )

    To Export Phenotype Code List:

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

    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(
     'PH4039',
     version_id=9242
    )

  7. Version History

    Version IDNameOwnerPublish date
    Myocardial infarction laura.sherlock2026-03-05 10:35