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||Number of Average Daily Quantities (ADQs) for tamoxifen (20mg/day) per 1000 female population aged 35-74.|
|Why it matters||Alongside its use as a cancer treatment, in 2013 NICE recommended that tamoxifen should also be prescribed for chemoprevention of breast cancer for pre-menopausal women at increased risk. Improving the use of preventative therapies was also reiterated in England's Cancer Strategy for 2015-2020. This measure accompanies our paper investigating the national response to these guidelines, published in the British Journal of Cancer.|
|Tags||NICE, Mentioned in Papers|
|Implies cost savings||No|
|History||View change history on GitHub →|
SELECT CAST(month AS DATE) AS month, practice AS practice_id, SUM(quantity/ CASE WHEN bnf_name LIKE '%oral%' THEN 10 WHEN bnf_name LIKE '%10mg%' THEN 2 WHEN bnf_name LIKE '%40mg%' THEN 0.5 ELSE 1 END) AS numerator FROM hscic.normalised_prescribing WHERE (SUBSTR(bnf_code,1,9) = '0803041S0') --Tamoxifen Citrate GROUP BY month, practice_id
SELECT CAST(month AS DATE) AS month, practice AS practice_id, (max(female_35_44) + max(female_45_54) + max(female_55_64) + max(female_65_74)) / 1000.0 AS denominator FROM hscic.practice_statistics WHERE female_35_44 > 10 GROUP BY month, practice_id