Skip to content

Commit

Permalink
Update saba.json
Browse files Browse the repository at this point in the history
change items to quantity
  • Loading branch information
richiecroker committed Dec 2, 2024
1 parent b7e3563 commit 16c324e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openprescribing/measures/definitions/saba.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"is_cost_based": false,
"low_is_good": true,
"numerator_type": "custom",
"numerator_columns": "SUM(p.items/adj.qtyadj) AS numerator",
"numerator_columns": "SUM(p.quantity/adj.qtyadj) AS numerator",
"numerator_from": [
"{hscic}.normalised_prescribing p ",
"INNER JOIN {dmd}.vmp vmp ON CONCAT(SUBSTR(p.bnf_code,0,9),'AA', SUBSTR(p.bnf_code,-2), SUBSTR(p.bnf_code,-2)) = vmp.bnf_code -- joins prescribing data to vmp table using generic BNF code \n",
Expand All @@ -39,7 +39,7 @@
"AND (p.bnf_code LIKE '0301011R0%' OR p.bnf_code LIKE '0301011V0%') #Salbutamol and Terbutaline"
],
"denominator_type": "custom",
"denominator_columns": "SUM(p.items/adj.qtyadj) AS denominator",
"denominator_columns": "SUM(p.quantity/adj.qtyadj) AS denominator",
"denominator_from": [
"{hscic}.normalised_prescribing p ",
"INNER JOIN {dmd}.vmp vmp ON CONCAT(SUBSTR(p.bnf_code,0,9),'AA', SUBSTR(p.bnf_code,-2), SUBSTR(p.bnf_code,-2)) = vmp.bnf_code -- joins prescribing data to vmp table using generic BNF code \n",
Expand Down

0 comments on commit 16c324e

Please sign in to comment.