Pharmacy First - Urinary Tract Infection treatment

PH3662 / 8768

OpenSAFELY

Jan 26, 2026

REGISTERING DOI...

OpenCodelists Phenotype
  1. Overview

    Codelist ID
    opensafely/pharmacy-first-urinary-tract-infection-treatment
    Version ID
    062dd5b0
    Coding System
    BNF 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.

    ### User requirements This codelist is used to identify supply of any medication included in the Pharmacy First Patient Group Direction for treatment of urinary tract infection.

    Sensitivity versus specificity

    Specific to only the strength/formulations included in the PGD.

    Relevant definitions or links to important reference sources

    PGD: https://www.england.nhs.uk/wp-content/uploads/2023/11/PRN01010-1a.-Urinary-tract-infection-nitrofurantoin-patient-group-direction-Pharmacy-First.pdf

    • Nitrofurantoin 50mg immediate release tablets or capsules
    • Nitrofurantoin 100mg modified release capsules

    Existing relevant codelists

    N/A

    © 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

    Search terms / synonyms / search strategy

    Nitrofurantoin

    Inclusion criteria for codes

    • Nitrofurantoin 50mg immediate release tablets or capsules (generic or brand)
    • Nitrofurantoin 100mg modified release capsules (generic or brand)

    Exclusion criteria for codes

    Nitrofurantoin 100mg immediate release tablets or capsules Nitrofurantoin oral solution/liquid

    Borderline cases

    N/A

  4. References

  5. Clinical Codelist

  6. API

    To Export Phenotype Details:

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

    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(
     'PH3662',
     version_id=8768
    )

    To Export Phenotype Code List:

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

    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(
     'PH3662',
     version_id=8768
    )

  7. Version History

    Version IDNameOwnerPublish date
    Pharmacy First - Urinary Tract Infection treatment ieuan.scanlon2026-01-26 23:28