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||Cost of omega-3 fatty acid compounds per 1000 patients|
|Why it matters||Omega-3 fatty acid compounds are licensed to treat elevated triglycerides, but evidence of benefit is weak. NICE recommend that they are not prescribed for primary prevention of cardiovascular disease.|
|Tags||Cardiovascular system, Cost Saving, Efficacy, NHS England Low Priority, NICE|
|Implies cost savings||Yes|
|History||View change history on GitHub →|
SELECT CAST(month AS DATE) AS month, practice AS practice_id, SUM(actual_cost) AS numerator FROM hscic.normalised_prescribing WHERE bnf_code IN ("0212000ABAAAAAA", "0212000ABBBAAAA", "0212000ABBCAAAA", "0212000ABBDAAAA", "0212000ABBEAAAA", "0212000ABBFAAAA", "0212000ABBGAAAA", "0212000ABBHAAAA", "0212000ABBIAAAA", "0212000ABBJAAAA", "0212000V0AAABAB", "0212000V0BBABAB") GROUP BY month, practice_id
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