Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new_measure__high_quantity_oramorph.json #4005

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions openprescribing/measure_definitions/high_quantity_oramorph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "High quantity prescribing of morphine sulphate oral solution",
"title": [
"High quantity prescribing of morphine sulphate oral solution"
],
"description": [
"Total proportion of morphine sulphate oral solution with a quantity of >300ml"
],
"numerator_short": "Morphine sulphate oral solution quantity with quantity of >300ml",
"denominator_short": "Morphine sulphate oral solution quantity",
"why_it_matters": [
"Tbc"
],
"tags": [
"core",
"safety"
],
"url": null,
"is_percentage": true,
"is_cost_based": false,
"low_is_good": true,
"numerator_type": "custom",
"numerator_columns": [
"SUM(total_quantity) AS numerator"
],
"numerator_from": "{hscic}.raw_prescribing_normalised",
"numerator_where": [
"quantity_per_item>300",
"AND",
"bnf_code LIKE '0407020Q0%CN' #morphine sulphate oral solution 10mg/5ml"
],
"numerator_is_list_of_bnf_codes": false,
"denominator_type": "custom",
"denominator_columns": [
"SUM(total_quantity) AS denominator"
],
"denominator_from": "{hscic}.raw_prescribing_normalised",
"denominator_where": [
"bnf_code LIKE '0407020Q0%CN' #morphine sulphate oral solution 10mg/5ml"
],
"measure_complexity": [
"low"
]
}