Toothpaste Prescribing

Below are the database queries which are used to create this measure. These are run against a copy of the BSA prescribing data which we store in Google BigQuery. We're working on making our BigQuery tables publicly available at which point it will be possible to run and modify these queries yourself. But even where code and database queries are not directly useable by others we believe it is always preferable to make them public.

Description Toothpaste prescribing cost per 1000 patients
Why it matters OpenPrescribing currently has data on GP prescriptions and does not have information on NHS dentists' prescribing. Dentists are best placed to assess, prescribe and monitor dental problems, and it is recommended that they should issue any prescriptions for dental conditions.

NHS England recommends that there should be no routine prescribing for the treatment of dental caries. Therefore there should be limited, if any, prescribing of toothpastes in general practice.

Please note that this is an experimental measure. We would be grateful for any feedback at [email protected].

Tags Standard, Cost Saving
Implies cost savings Yes
Authored by brian.mackenna
Checked by andrew.brown
Last reviewed 2024-02-12
Next review due 2026-02-12
Associated notebook https://github.com/ebmdatalab/jupyter-notebooks/blob/master/new_measures/Drafts/Toothpaste/Toothpaste.ipynb
History View change history on GitHub →

Numerator SQL

SELECT
     CAST(month AS DATE) AS month,
     practice AS practice_id,
     SUM(actual_cost) AS numerator
 FROM hscic.normalised_prescribing
 WHERE bnf_code IN ("0905030G0AABXBX", "0905030G0AABYBY", "0905030G0BPABBX", "0905030G0BPACBY", "0905030G0BQAABY", "0905030G0BQABBX", "120305000BBAEA0", "190205500AAAKAK", "190205500BCAHA0", "190205500BCATAK", "190205500BCNNAK", "190205500BCNUA0", "190205500BCNVA0", "190205500BCNWA0", "190205500BCQMA0", "21210000019")
 GROUP BY month, practice_id

Denominator SQL

SELECT
     CAST(month AS DATE) AS month,
     practice AS practice_id,
     SUM(total_list_size / 1000.0) AS denominator
 FROM hscic.practice_statistics
 GROUP BY month, practice_id
Feedback