Paxlovid - dmd

PH3625 / 8723

OpenSAFELY

Jan 26, 2026

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/paxlovid-dmd
    Version ID
    6b7e2962
    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.

    A codelist to identify all prescribing of Paxlovid (Nirmatrelvir with Ritonavir).

    User requirements Codelist needed to return all recorded prescriptions of Paxlovid in primary care records. This will be used to plot the recorded prescribing in primary care of all COVID-19 therapeutics.

    Sensitivity versus specificity Volumes expected to be low, and drugs specific, so sensitivity to be prioritised

    Relevant definitions or links to important reference sources N/A

    Coding system dm+d

    Existing relevant codelists https://github.com/opensafely/Paxlovid-and-sotrovimab/blob/main/codelists/bangzheng-paxlovid-dmd-0964dee3.csv

    © 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

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

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

    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(
     'PH3625',
     version_id=8723
    )

    To Export Phenotype Code List:

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

    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(
     'PH3625',
     version_id=8723
    )

  7. Version History

    Version IDNameOwnerPublish date
    Paxlovid - dmd ieuan.scanlon2026-01-26 23:26