Literature DB >> 29476029

OpenPrescribing: normalised data and software tool to research trends in English NHS primary care prescribing 1998-2016.

Helen J Curtis1, Ben Goldacre1.   

Abstract

OBJECTIVES: We aimed to compile and normalise England's national prescribing data for 1998-2016 to facilitate research on long-term time trends and create an open-data exploration tool for wider use.
DESIGN: We compiled data from each individual year's national statistical publications and normalised them by mapping each drug to its current classification within the national formulary where possible. We created a freely accessible, interactive web tool to allow anyone to interact with the processed data. SETTING AND PARTICIPANTS: We downloaded all available annual prescription cost analysis datasets, which include cost and quantity for all prescription items dispensed in the community in England. Medical devices and appliances were excluded. PRIMARY AND SECONDARY OUTCOME MEASURES: We measured the extent of normalisation of data and aimed to produce a functioning accessible analysis tool.
RESULTS: All data were imported successfully. 87.5% of drugs were matched exactly on name to the current formulary and a further 6.5% to similar drug names. All drugs in core clinical chapters were reconciled to their current location in the data schema, with only 1.26% of drugs not assigned a current chemical code. We created an openly accessible interactive tool to facilitate wider use of these data.
CONCLUSIONS: Publicly available data can be made accessible through interactive online tools to help researchers and policy-makers explore time trends in prescribing. © Article author(s) (or their employer(s) unless otherwise stated in the text of the article) 2018. All rights reserved. No commercial use is permitted unless otherwise expressly granted.

Entities:  

Keywords:  national health service (nhs); prescribing; primary care

Mesh:

Substances:

Year:  2018        PMID: 29476029      PMCID: PMC5855401          DOI: 10.1136/bmjopen-2017-019921

Source DB:  PubMed          Journal:  BMJ Open        ISSN: 2044-6055            Impact factor:   2.692


We processed publicly available annual data for the whole of England’s community dispensing—not a sample. We corrected for population size, inflation and (where possible) drugs changing name and/or classification over time. We produced a free, openly accessible tool for wider use, displaying trends in items, cost, price per item and quantity per item for each product for 1998–2016, which can be updated annually. The tool is limited to product-level data, not individual presentations, and wide-scale correction for dosage was not possible. Users can also download our normalised dataset to carry out their own analyses.

Introduction

In 2016, National Health Service (NHS) prescribing in England cost £9.20 billion,1 approximately 9% of the annual NHS budget.2 Prescribing behaviour is expected to respond within the dynamic system of evidence-based medicine through changing patterns of disease, innovation in medical treatments and new evidence. Monitoring long-term time trends in prescribing is therefore useful to observe changes in practice, to provide a form of feedback to ensure there are no unexpected or undesirable changes and to facilitate tracking and forecasting of costs. NHS Digital publish monthly and annual prescribing datasets from the NHS Business Services Authority, along with static reports on prescribing trends. However, this does not allow readers to interrogate topics of interest in detail, and the large datasets can be complex to manage. We provide a service at OpenPrescribing.net that facilitates exploration of outliers and trends for individual general practices in NHS England, which has provided over 250 000 analyses to 50 000 users over the past year. The detailed dataset that drives this service (running to over 10 m rows a month) is only available from 2010 onwards. The annual prescription cost analysis (PCA) data, aggregated nationally (with no data on individual practice) and by year (with no data on prescribing changes each month) are available back to 1998. These data are freely accessible but consist of individual files for each year of prescribing, which cannot be straightforwardly combined and therefore do not facilitate interrogation of time trends. Additionally, identifiers for individual drugs may change name, or location within the British National Formulary (BNF), over time, making simple compilation of the data impossible. The value of PCA data is indicated by the numerous previous studies using it to assess prescribing trends3–5 or to detect changes in response to guidelines or safety alerts.6–8 These studies have been focused on data for a small number of drugs, manually aggregated for each bespoke analysis; furthermore, given publishing delays for academic manuscripts, the data are commonly very delayed, and readers cannot easily place the findings in context of current clinical practice or expenditure. We therefore set out to aggregate all available PCA data into a single data frame for longitudinal analysis of trends, in a service that could be easily updated; to generate an interactive online service where any user can explore and monitor time trends in prescribing using the latest available data and to share all resources for reuse by others as open data.

Methods

Data sources

Every available PCA annual dataset was downloaded from NHS Digital or National Archives, covering calendar years 1998 to 2016.9

Data structure

Each annual PCA dataset includes all items dispensed in England by pharmacy/appliance contractors, dispensing doctors and items personally administered by doctors, whether or not they were prescribed in England or other parts of the UK. Items dispensed in other settings (prisons, hospitals and private prescriptions) are excluded. Prior to 2010, the data were rounded to the nearest 100 and excluded drugs with fewer than 50 items prescribed, accounting for 0.01% of total items.10 Definitions of key terms used in the PCA data (and NHS primary care prescribing data more generally) are given in box 1, and a full glossary of terms is available.11 ­ The drug name describes the full presentation of the drug, that is, the formulation and strength as well as the drug’s brand or generic (product) name. The chemical name is the standard registered name for the active constituent of the medicine. It is not always an individual chemical: examples include ‘paracetamol combined preparations’ and ‘paracetamol and caffeine’. Numerical codes representing Chapter, Section, Paragraph and Subparagraph are also supplied. These represent only the first seven characters of each drug’s unique 15-character British National Formulary (BNF) code (see box 2). Items are functionally equivalent to prescriptions; they do not take into account the quantity (number of boxes/bottles, etc) dispensed to the same person. Items may vary in the quantity prescribed. Quantity represents the quantity of a drug dispensed, with units of measurement (units/tablets/grams/millilitres, etc) dependent on its formulation. Net ingredient cost (NIC) represents the basic price of the medicine, that is, the drug tariff price, or, if not listed, the price published by the manufacturer or supplier. NIC may be subject to further charges and/or discounts. Patients who are eligible contribute a fixed fee towards each prescription charge, but this only applies to a minority of items and it is not possible to identify which items in this dataset. Every drug presentation (ie, each formulation, dose and product combination) is described by a unique drug name and has a unique 15-digit structured British National Formulary (BNF) code, an example of which is given in box 2. The BNF contains an entry for every product available to be prescribed in Britain, including medicinal products, dietary supplements, complementary therapies and physical appliances such as bandages. The hierarchical BNF codes imply a data schema as follows: each presentation of a drug has a product name, which may be either a brand name or the generic chemical name; as such, each product can be mapped to a chemical. Each chemical is a member of a Paragraph in the BNF (some of which are divided into Subparagraphs, which themselves often approximate to a class of drugs). Each Paragraph belongs to a Section, which is in turn a member of a Chapter (often approximating to a system of the body, such as ‘cardiovascular’). *Generic equivalent allows matching with the strength and formulation (presentation) of the generic product (which will always have product code ‘AA’). For generic presentations, the product name will match the chemical name (but sometimes with a different abbreviation, for example, ‘Tramadol HCl’). In the PCA data, only the first seven characters of the BNF code for each drug are supplied rather than the full BNF code. Therefore, the ‘drug name’ is the only source of information on the formulation and dose; however, from this, the BNF code can usually be imputed, but this becomes increasingly difficult for older drugs no longer listed in the BNF. Although each drug’s chemical name is also supplied, chemicals are not all unique (eg, ‘other preparations’); names may change their spelling over time; and chemicals may move between Paragraphs, Sections and Chapters. Indeed, classifications at any level of the hierarchy can be subject to renaming, spelling change, subdivision, reorganisation and removal.

Data management, aggregation and cleaning

All data were grouped by drug name, combining any available in multiple formulations (despite having identical names). Ultimately, following cleaning, data were grouped to product level. Medical devices/appliances and any other items, Chapter numbers above 15 were excluded. A key user need was to explore prescribing trends for individual members of a class of drugs over time. This required all data to be normalised, with each individual drug consistently appearing in the correct location in the data schema; that is, all individual presentations of a chemical all mapped under that chemical and all chemicals mapped under the correct Subparagraph/Paragraph (often similar to drug class) of the BNF. To achieve this consistency, we aimed to map each drug to its current position in the latest BNF dictionary up to the level of its 11-character ‘product’ code through an incremental process. This is summarised below and in figure 1.
Figure 1

BNF code normalisation process flow chart describing how drug names were matched to the current BNF. Examples of matches at each numerated stage are given in table (bottom), with code/name changes in red. The first example demonstrates a drug which was matched to the current BNF through an exact match by name but had moved from Chapter 4 to Chapter 2. For other types of matching, care was taken to avoid mistakenly matching to similar (but distinctly different) drugs across chapters/sections. BNF, British National Formulary.

BNF code normalisation process flow chart describing how drug names were matched to the current BNF. Examples of matches at each numerated stage are given in table (bottom), with code/name changes in red. The first example demonstrates a drug which was matched to the current BNF through an exact match by name but had moved from Chapter 4 to Chapter 2. For other types of matching, care was taken to avoid mistakenly matching to similar (but distinctly different) drugs across chapters/sections. BNF, British National Formulary. Lacking the full BNF code, we attempted to match each drug name to a current BNF presentation. Those without an exact match (eg, formulation variants no longer available) could sometimes be matched to a similar BNF presentation name, for example, by finding a similar formulation or using the ‘fuzzy’ lookup add-on for Excel and validated manually.12 Other drug names could only be matched up to current BNF codes by using their product or chemical names. Matching at each stage was improved by disregarding capitalisation or spacing and spelling changes (eg, Sulphur/Sulfur); these include changes identified within the data and those occurring when many old British spellings (the ‘British Approved Name’) were replaced with international standard names (the ‘Recommended International Non-Proprietary Name’).13 Remaining drug names in the most-prescribed Chapters (1–6 and 10) were matched to current drug names manually (eg, resolving non-matches due to rearrangement of word order); any others kept their original chemical name and a proxy product name was derived from the drug name field. Full methodology for this matching process is available in our technical documentation online14 and in online supplementary material. We measured the extent of normalisation of drug names and classifications and present summary statistics on these.

Normalisation for inflation and population

Prescribing costs were corrected for inflation using the UK’s annual consumer price index figures normalised to 2016.15 Number of items prescribed and costs were divided by the population each year to calculate values per thousand population based on midyear population estimates for England only.16 We also supply the original number of items and cost in our output.

Interactive analysis tool

Having generated a normalised dataset and a method for updating it, we then set out to implement a free, interactive online data analysis tool where any user can visually explore time trends in prescribing. This was built using Tableau Public, a freely accessible interactive data presentation platform which permits rapid prototyping; however, other front ends onto the same underlying datasets could also be implemented using open-source tools such as Shiny17 or in Python libraries such as d318 with more software engineer resource. Our user needs for the tool were as follows: the ability to display trends in items and cost, normalised for total population change and inflation and also to calculate the average cost per item and quantity per item for each product. Having delivered the tool, we used it to generate trends data and graphs for a range of clinical areas where prescribing trends have been previously studied and published to demonstrate the ability of our tool to replicate and extend these works.

Data and code

The full compiled and processed PCA datasets are available online via FigShare,19 SQL code is in online supplementary appendix, and the Trends tool (Tableau workbook) is available to use via https://OpenPrescribing.net/pca.

Results

Data compilation and overall prescribing trends

All data were successfully imported. There were 169 100 lines of data in the compiled 1998–2016 dataset (Chapters 1–15) and 169 038 in the processed data, the reduction caused by aggregation of a small number of drugs available in multiple formulations despite having identical names. Total items (14.8 billion), cost (£136.9 billion) and distinct drug names (22 496) remained consistent before and after data processing (table 1, see online supplementary table S1). The inclusion of low volume prescribing in the published datasets from 2010 caused a substantial rise in the number of distinct drugs per year but not items or cost (table 1). As can be seen from table 1, the inflation-corrected cost in 2016 UK sterling equivalent for all prescribing in NHS England primary care rose from £6.3 billion in 1998 to £10.1 billion in 2004 but then decreased to £8.3 billion in 2016. Items per 1000 population (correcting for crude population growth) has grown from 10 180 in 1998 to 19 196 in 2016, on average increasing by 3.6% per year. The discrepancy between items and cost is caused by variation in the choice of drugs being prescribed and their individual prices, for example, switching from branded drugs to cheaper generic versions after patent expiry.
Table 1

Summary of processed PCA data by year (drugs in Chapters 1–15 only)

YearDistinct count of drug nameItemsItems per 1000CostInflation- corrected costInflation- corrected cost per 1000
nnnChange (%)£2016 £2016 £Change (%)
19986338497.0 million10 180£4440 million£6280 million£128 626
19996587513.4 million10 471+2.9£5011 million£6999 million£142 746+11.0
20006613535.1 million10 868+3.8£5284 million£7318 million£148 648+4.1
20016754569.2 million11 510+5.9£5784 million£7914 million£160 049+7.7
20026834598.6 million12 050+4.7£6487 million£8768 million£176 491+10.3
20036893630.3 million12 625+4.8£7113 million£9488 million£190 035+7.7
20046912666.0 million13 268+5.1£7645 million£10 063 million£200 482+5.5
20056907698.8 million13 808+4.1£7452 million£9609 million£189 875−5.3
20066810728.4 million14 292+3.5£7660 million£9655 million£189 436−0.2
20077056771.8 million15 022+5.1£7810 million£9614 million£187 112−1.2
20087202816.7 million15 762+4.9£7716 million£9174 million£177 047−5.4
20097401859.2 million16 461+4.4£7892 million£9176 million£175 805−0.7
201011 703898.4 million17 065+3.7£8162 million£9193 million£174 636−0.7
201111 751931.6 million17 541+2.8£8101 million£8734 million£164 457−5.8
201212 207968.9 million18 112+3.3£7802 million£8176 million£152 836−7.1
201312 318996.2 million18 494+2.1£7846 million£8022 million£148 920−2.6
201412 5761027.0 million18 908+2.2£8022 million£8078 million£148 718−0.1
201512 8751043.5 million19 046+0.7£8403 million£8461 million£154 444+3.9
201613 2851060.9 million19 196+0.8£8284 million£8284 million£149 892−2.9
Total22 49614 810.9 million2 84 680+3.6£1 36 914 million£1 63 006 million£3 160 254+1.0

‘Drug name’ is the field describing the presentation of each drug, that is, its formulation, dose and product name. Costs represent net ingredient cost (see box 1). ‘Change’ is the year-on-year change.

PCA, prescription cost analysis.

Summary of processed PCA data by year (drugs in Chapters 1–15 only) ‘Drug name’ is the field describing the presentation of each drug, that is, its formulation, dose and product name. Costs represent net ingredient cost (see box 1). ‘Change’ is the year-on-year change. PCA, prescription cost analysis.

Data normalisation

Data were normalised using the methods described above. Of the distinct drug names in the data, 87.5% were matched exactly to a current BNF name, and a further 6.5% matched approximately (table 2). Name changes are particularly prevalent in Chapter 3 (Respiratory) due mainly to the addition in 2004 of a space when a number of doses is given, as is common for inhalers, for example, ‘Salbutamol_Inha 100 mcg (200D)’ became ‘Salbutamol_Inha 100 mcg (200 D)’.
Table 2

Number and percentage of drug names subject to changes within 1998–2016 PCA data when compared with the current BNF by Chapter

Current chapter code (name)Name/spelling changeNo changeNo matchGrand total
n%n%n%n
1 (Gastrointestinal system)0.0104199.190.91050
2 (Cardiovascular system)1777.2227892.580.32463
3 (Respiratory system)23820.889378.0141.21145
4 (Central nervous system)3418.8353590.7210.53897
5 (Infections)1199.1118490.730.21306
6 (Endocrine system)20313.2132086.0110.71534
7 (Obstetrics, gynaecology and urinary tract disorders)40.750890.7488.6560
8 (Malignant disease and immunosuppression)20.353891.8467.8586
9 (Nutrition and blood)2104.0428181.377614.75267
10 (Musculoskeletal and joint diseases)898.595690.880.81053
11 (Eye)183.0%53287.2609.8610
12 (Ear, nose and oropharynx)163.437378.58618.1475
13 (Skin)221.1177289.51869.41980
14 (Immunological products and vaccines)73.019885.02812.0233
15 (Anaesthesia)155.222978.74716.2291
Grand total14616.519 63887.513516.022 450

These name changes include changes in word order, spacing, capitalisation, abbreviation, punctuation (eg, “Califig_(California Syr Of Figs)”/“Califig_California Syr Of Figs”), spelling (eg, “Sulphate”/“Sulfate”), brand name (eg, “Laxoberal_Liq”/“Dulcolax Pico_Liq”) and formulation (eg, “Castor Oil”/“Castor Oil_Liq”). The total count of drug names is reduced compared with table 1 because the same drugs can appear over multiple years but only rarely in multiple Chapters.

BNF, British National Formulary; PCA, prescription cost analysis.

Number and percentage of drug names subject to changes within 1998–2016 PCA data when compared with the current BNF by Chapter These name changes include changes in word order, spacing, capitalisation, abbreviation, punctuation (eg, “Califig_(California Syr Of Figs)”/“Califig_California Syr Of Figs”), spelling (eg, “Sulphate”/“Sulfate”), brand name (eg, “Laxoberal_Liq”/“Dulcolax Pico_Liq”) and formulation (eg, “Castor Oil”/“Castor Oil_Liq”). The total count of drug names is reduced compared with table 1 because the same drugs can appear over multiple years but only rarely in multiple Chapters. BNF, British National Formulary; PCA, prescription cost analysis. Of the distinct drug names (23 275, taking into account some drugs having multiple BNF classifications), over 91% could be matched to a current product in the BNF, with no change in code (table 3). Less than 5% could not be matched to a current product and/or chemical code, under 1% of items prescribed. These drugs were assigned proxy product names (derived from their drug name) so that all data could be presented visually, and for those not matched to a current chemical, the original chemical name was used (mostly ‘Other Preparations’). However, normalisation was focused on seven of the most prescribed Chapters with the greatest medical interest (1–6 and 10). The normalisation of drugs in other Chapters could therefore potentially be improved. In particular, Chapters 9 (Nutrition) and 13 (Skin) have substantial levels of prescribing, but are complex, containing many different drug names and non-drug products such as topical applications and dietary supplements. Other groups with a particular interest in nutrition or dermatology may wish to expand our work on manual matching: we would be happy to incorporate such amendments into our dataset. Many of the code changes and non-matches have diminished over time, as expected (online supplementary table S2).
Table 3

Summary of drug code changes within the 1998–2016 prescribing datasets, also separated by (current) chapter. Chapter names can be found in table 2

BNF code changeNo product matchNo chemical matchGrand total
ChapterSectionParagraphSub paragraphNo change
Distinct count of drug name945256020321 25881529323 275
% of drugs0.40%0.22%2.41%0.87%91.33%3.50%1.26%100%
% of items0.04%0.01%0.84%0.51%97.67%0.84%0.10%100%

BNF, British National Formulary.

Summary of drug code changes within the 1998–2016 prescribing datasets, also separated by (current) chapter. Chapter names can be found in table 2 BNF, British National Formulary. Code changes and normalisation outputs are described in table 3. Headers indicate the highest level in the BNF hierarchy at which drugs have been subject to code changes, for example, ‘Section’ indicates drug names which have not changed Chapter but have moved Section. ‘No product match’ indicates drug names matched to a chemical (9-character BNF code) but with no current matching product (11 characters). ‘No chemical match’ indicates drug names matched neither to a chemical nor product. The total count of drug names increases when separated by Chapter because four drug names currently exist in two different Chapters.

Interactive data analysis tool

We created a tool which allows anyone to explore the prescribing data, available directly at https://openprescribing.net/pca. Users can search by chemical, Paragraph, Section or Chapter to view time trends in items and costs on stacked charts, where both the overall trends and the relative contribution from each product/chemical can be seen. The cost per item and quantity per item for each product are also shown, which can assist in interpretation of trends in some cases. However, these calculations carry a ‘use with caution’ note, as items may represent different pack sizes and quantities cannot be reliably summed across preparations because of different strengths and formulations. The page features an accompanying video walk through demonstrating the tool. The tool can be used to facilitate novel research into time trends and factors associated with changes in practice such as publication of guidelines or evidence landmarks or changes in price. It can replicate and extend the main findings of previous papers which researched trends for different clinical areas using PCA data. For example, the antipsychotic drug switches which occurred in England following a licence restriction20 can be replicated in the tool and the trends extended to the latest data (figure 2A). This also shows the dramatic reductions in cost that followed the expiry of patents for risperidone and olanzapine. We also replicate antidepressant prescribing trends, previously reported up to 20105 and show that how the overall use of these antidepressants has continued to rise, in particular sertraline (figure 2B). We also replicate findings on the rise of thyroid hormones3 and testosterone,4 where we show that prescribing of these drugs continued to rise, with a disproportionate increase in cost (see online supplementary figure S1a,b). We are using this dataset and tool in our academic papers on trends and variation in NHS prescribing; we encourage others to use our dataset and tool in their own work.
Figure 2

Screen shots from Trends tool, showing items per 1000 population and inflation-corrected costs per 1000 population for selected drugs. Product names are in parentheses. (A) Prescribing trends for four selected antipsychotic chemicals following the safety alert on thioridazine.20 Full dashboard available at https://public.tableau.com/shared/XX7DTWSG2?:display_count=yes. (B) Prescribing trends for selected antidepressant chemicals.5 Full dashboard available at https://public.tableau.com/shared/72SJGGP89?:display_count=yes. (C) Prescribing trends for all chemicals within the Paragraph of Nicotine Dependence (smoking cessation medications). Full dashboard available at https://public.tableau.com/shared/6BW9J5RJB?:display_count=yes.

Screen shots from Trends tool, showing items per 1000 population and inflation-corrected costs per 1000 population for selected drugs. Product names are in parentheses. (A) Prescribing trends for four selected antipsychotic chemicals following the safety alert on thioridazine.20 Full dashboard available at https://public.tableau.com/shared/XX7DTWSG2?:display_count=yes. (B) Prescribing trends for selected antidepressant chemicals.5 Full dashboard available at https://public.tableau.com/shared/72SJGGP89?:display_count=yes. (C) Prescribing trends for all chemicals within the Paragraph of Nicotine Dependence (smoking cessation medications). Full dashboard available at https://public.tableau.com/shared/6BW9J5RJB?:display_count=yes. The tool can also be used to complement studies performed in more detailed prescribing data such as the Clinical Practice Research Datalink (CPRD), by giving the full national picture, and giving more longitudinal data that updates with new data releases. For example, several previous publications have reported on patterns of prescribing of smoking cessation medication in The Health Improvement Network database.21–23 This included reporting of a possible decline in prescribing despite increased incentives for general practitioners introduced in 2012. We can confirm this decline and show that it continued beyond 2013 (figure 2C). We also show that the slow decline in quinine usage following safety alerts in 201024 has continued at a similar pace (online supplementary figure S1c). CPRD data contain individual patient records and can therefore be used to assess detailed questions about treatments in specific cohorts of patients. However many labour-intensive CPRD analyses have been conducted to interrogate simple broad prescribing trends which could more straightforwardly be conducted using aggregated and normalised national data, with greater coverage of years and total population. Furthermore, for analyses interrogating national trends and responses to guidelines, in many cases a prescribing change which can only be detected in individual patients’ records, and cannot be detected in national data, may not be relevant in terms of population health or the health service. Additional tabs in the tool allow discovery of higher-level trends, including Chapter and Section trends, Sections ranked by items/cost for any selected year, calculation of the change in items/cost for each Section between any selected year to the latest year, and the top 20 Paragraphs by items and cost. The Chapter trends page, for example, shows that much of the decline in prescribing costs since the peak in 2004 (table 1) is attributable to a drop in the cost of cardiovascular drugs (figure 3A), and the Section trends page further shows that lipid-regulating drugs (Section 2.12) and Drugs for Hypertension and Heart Failure (Section 2.5) experienced the largest cost reductions at that time (figure 3B).
Figure 3

Screenshots from Trends tool, showing inflation-corrected costs per 1000 population (A) by Chapter, and (B) by Section for Chapter 2 (Cardiovascular System).

Screenshots from Trends tool, showing inflation-corrected costs per 1000 population (A) by Chapter, and (B) by Section for Chapter 2 (Cardiovascular System).

Discussion

Summary

It was possible to aggregate all PCA data from 1998 to 2016 and normalise for most changes in drug names and classifications. Only 87.5% of drug names matched exactly to a current BNF name and 8.7% had undergone some change in classification; however, all drugs in core clinical chapters were reconciled to their current location in the data schema. We generated an interactive online service where any user can explore time trends in prescribing broken down by product, chemical, Paragraph, Section and Chapter; this openly accessible interactive data analysis tool provides overviews and insights comparable to previous labour-intensive bespoke data analysis research projects.

Strengths and weaknesses of this study

Our tool covers the data for the whole of England’s community dispensing, not a sample. We are surprised to note that this is the first project aiming to aggregate long-term trends across the entire prescribing dataset and provide an openly accessible tool for wider use. Many drugs changed name and/or classification over time, but valid chemicals were successfully assigned to all items in Chapters 1–6 and 10, and product names were derived for every drug, allowing maximum consistency in trends analysis. The tool is limited to product-level data due to the wide number of different presentations available. We used items to measure prescribing volume. Quantity is generally more complex for making comparisons as there is wide variation caused by the units, which may be the number of pills or millilitres, units (eg, inhalers containing multiple doses) or other unit measure. Converting quantities to approximate daily dose sizes (such as defined daily doses) is possible, but the conversion tables available are not sufficiently comprehensive to allow this across the entire dataset, and this would be even more difficult for discontinued drugs. We therefore rejected this option in favour of being able to publish a complete dataset. However, users wishing to analyse data by daily doses can download our BNF-normalised dataset to apply these calculations. Using items also has limitations, as it does not take into account number of packs prescribed per prescription, pack size or dosage. We are launching this tool publicly and will monitor user volume and user feedback: if appropriate we will improve the tool by replicating and expanding it using bespoke software as per our other data analysis tools on OpenPrescribing.net for exploring variation in prescribing at Clinical Commissioning Group (CCG) and individual practice level. We will update the tool annually, dependent on continuing funds for the OpenPrescribing project.

Findings in context of other research

Long-term trends in prescribing have previously been reported on a wide variety of clinical areas, using PCA data as well as other sources.3–5 20 22 23 These are static, not updated and rapidly out of date. Although using CPRD allows a more detailed analysis and investigation of patient factors associated with prescribing, it takes a great deal of preparation and time to complete. Our tool can replicate some trends found in CPRD and so may provide a useful tool for preliminary investigation of trends. It can also help to confirm whether findings from regional datasets of rich individual patient data (IPD) from electronic health records sources are representative of the national picture, while avoiding repeated work and replication in new IPD datasets. In our related publications on variation and trends in specific disease areas, we report comparisons between trends in PCA data and trends from other more labour-intensive sources such as CPRD in more detail. The UK government produces a 10-year trends document following the annual PCA data release, containing an overall summary of high-level trends and a brief breakdown of six interesting topics with the greatest level or change in prescribed items and cost.25 However, the reported topics are few in number, chosen by NHS Digital, restricted to 10 years of data, do not correct for inflation or population growth, are not easily discoverable by subject specialists and readers are not able to interrogate their own topics of interest in detail. From 2016, the compiled datasets were also made available so users may conduct their own exploration of the data, but, without drug names or categories being normalised, this is little better than the raw data, which we have processed into a normalised longitudinal dataset.

Policy implications and future research

Published papers can provide a useful and detailed insight into prescribing trends,3–5 but give a single snapshot which may quickly become out of date. Our tool facilitates ongoing monitoring by researchers and policy-makers to assess prescribing changes in any area of concern or clinical interest they have identified and permits interactive exploration of detailed issues in the data, such as individual presentations of chemicals by any interested user. As part of our OpenPrescribing work, we are using prescribing data to investigate adherence to guidelines and changes in practice in various clinical areas to detect anomalous changes in individual practices relative to national trends to send practices alerts and to identify cost-saving opportunities. We have produced various manuscripts using the longitudinal data presented here as part of a range of data sources to describe variation in prescribing in primary care. We are happy to collaborate with other teams of clinicians and academics; we also release our underlying dataset and code as open data for reuse with citation.

Conclusions

Long-term trends in prescribing are interesting for a number of applications. While previous work on prescribing data has focused on static, manual analysis of a small number of drugs, modern data science approaches make it possible to create interactive services that allow clinicians, healthcare commissioners, policy-makers, academics and any other interested party to interrogate and monitor prescribing trends for any combination of chemicals to identify anomalies or signals of concern and predict spending. We have delivered this using a combination of open-data and freely accessible online tools.
Example presentation: Tradorec XL tablets 300  mg
Drug nameBNF chemical nameBNF Section nameBNF Subparagraph nameItemsQuantityNIC
Tradorec XL_Tab 300mgTramadol HydrochlorideAnalgesicsOpioid Analgesics6374324 167£152 358
Example presentation: Tradorec XL tablets 300  mg
ChapterSectionParagraphSubparagraphChemicalProductPresentationGeneric equivalent
040702040BIACAM
Central Nervous SystemAnalgesicsOpioid AnalgesicsOpioid AnalgesicsTramadol HydrochlorideTradorecTradorec XL_Tab 300mg*
  11 in total

1.  Effects of licence change on prescribing and poisons enquiries for antipsychotic agents in England and Scotland.

Authors:  D N Bateman; A M Good; R Afshari; C A Kelly
Journal:  Br J Clin Pharmacol       Date:  2003-06       Impact factor: 4.335

2.  Assessing the impact of NICE guidance on the prescribing of hormonal treatments of breast cancer in England.

Authors:  Raymond W Fitzpatrick; Ronald G Pate
Journal:  J Eval Clin Pract       Date:  2015-08       Impact factor: 2.431

3.  Glaucoma prescribing trends in England 2000 to 2012.

Authors:  A J Connor; S G Fraser
Journal:  Eye (Lond)       Date:  2014-05-23       Impact factor: 3.775

4.  Effects of the National Institute for Health and Clinical Excellence's technology appraisals on prescribing and net ingredient costs of drugs in the National Health Service in England.

Authors:  Eva Susanne Dietrich
Journal:  Int J Technol Assess Health Care       Date:  2009-07       Impact factor: 2.188

5.  The impact of the introduction of smoke-free legislation on prescribing of stop-smoking medications in England.

Authors:  Lisa Szatkowski; Tim Coleman; Ann McNeill; Sarah Lewis
Journal:  Addiction       Date:  2011-07-27       Impact factor: 6.526

6.  A UK epidemic of testosterone prescribing, 2001-2010.

Authors:  Earn H Gan; Stewart Pattman; Simon H S Pearce; Richard Quinton
Journal:  Clin Endocrinol (Oxf)       Date:  2013-04-05       Impact factor: 3.478

7.  Effects of MHRA drug safety advice on time trends in prescribing volume and indices of clinical toxicity for quinine.

Authors:  Paul Acheampong; Gill Cooper; Behshad Khazaeli; David J Lupton; Sue White; Margaret T May; Simon H L Thomas
Journal:  Br J Clin Pharmacol       Date:  2013-12       Impact factor: 4.335

8.  Prescribing of smoking cessation medication in England since the introduction of varenicline.

Authors:  Tessa E Langley; Yue Huang; Ann McNeill; Tim Coleman; Lisa Szatkowski; Sarah Lewis
Journal:  Addiction       Date:  2011-05-03       Impact factor: 6.526

9.  Provision of smoking cessation support in UK primary care: impact of the 2012 QOF revision.

Authors:  Lisa Szatkowski; Paul Aveyard
Journal:  Br J Gen Pract       Date:  2015-12-06       Impact factor: 5.386

10.  Trends in thyroid hormone prescribing and consumption in the UK.

Authors:  Anna L Mitchell; Bryan Hickey; Janis L Hickey; Simon H S Pearce
Journal:  BMC Public Health       Date:  2009-05-11       Impact factor: 3.295

View more
  11 in total

1.  Oral Anticoagulant Utilization in the United States and United Kingdom.

Authors:  Michael Colacci; Eric K Tseng; Chana A Sacks; Michael Fralick
Journal:  J Gen Intern Med       Date:  2020-06-08       Impact factor: 5.128

2.  Projected spending for brand-name drugs in English primary care given US prices: a cross-sectional study.

Authors:  Michael Liu; Brian MacKenna; William B Feldman; Alex J Walker; Jerry Avorn; Aaron S Kesselheim; Ben Goldacre
Journal:  J R Soc Med       Date:  2020-09       Impact factor: 5.344

3.  Prescription of suboptimal statin treatment regimens: a retrospective cohort study of trends and variation in English primary care.

Authors:  Helen J Curtis; Alex J Walker; Brian MacKenna; Richard Croker; Ben Goldacre
Journal:  Br J Gen Pract       Date:  2020-07-30       Impact factor: 5.386

4.  Time trends and geographical variation in prescribing of drugs for diabetes in England from 1998 to 2017.

Authors:  Helen J Curtis; John M Dennis; Beverley M Shields; Alex J Walker; Seb Bacon; Andrew T Hattersley; Angus G Jones; Ben Goldacre
Journal:  Diabetes Obes Metab       Date:  2018-06-05       Impact factor: 6.577

5.  Variation in responsiveness to warranted behaviour change among NHS clinicians: novel implementation of change detection methods in longitudinal prescribing data.

Authors:  Alex J Walker; Felix Pretis; Anna Powell-Smith; Ben Goldacre
Journal:  BMJ       Date:  2019-10-02

Review 6.  Open source automated insulin delivery: addressing the challenge.

Authors:  Nick Oliver; Monika Reddy; Claire Marriott; Tomas Walker; Lutz Heinemann
Journal:  NPJ Digit Med       Date:  2019-12-11

7.  Establishing a primary care audit and feedback implementation laboratory: a consensus study.

Authors:  Sarah L Alderson; Alexander Bald; Paul Carder; Amanda Farrin; Robbie Foy
Journal:  Implement Sci Commun       Date:  2021-01-07

8.  PrAna: an R package to calculate and visualize England NHS primary care prescribing data.

Authors:  Kishore Kumar Jagadeesan; James Grant; Sue Griffin; Ruth Barden; Barbara Kasprzyk-Hordern
Journal:  BMC Med Inform Decis Mak       Date:  2022-01-06       Impact factor: 2.796

9.  The effects of an evidence- and theory-informed feedback intervention on opioid prescribing for non-cancer pain in primary care: A controlled interrupted time series analysis.

Authors:  Sarah L Alderson; Tracey M Farragher; Thomas A Willis; Paul Carder; Stella Johnson; Robbie Foy
Journal:  PLoS Med       Date:  2021-10-04       Impact factor: 11.069

10.  Effect of antibiotic stewardship interventions in primary care on antimicrobial resistance of Escherichia coli bacteraemia in England (2013-18): a quasi-experimental, ecological, data linkage study.

Authors:  Shirin Aliabadi; Philip Anyanwu; Elizabeth Beech; Elita Jauneikaite; Peter Wilson; Russell Hope; Azeem Majeed; Berit Muller-Pebody; Céire Costelloe
Journal:  Lancet Infect Dis       Date:  2021-08-04       Impact factor: 25.071

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.