Open sebbacon opened 6 years ago
@sebbacon can't find the issue at the moment, but there was also a problem with when quantity is always an integer, but pack sizes are 2.5ml
Another example of where quantity appears to mean different things - Fentanyl 400micrograms/dose nasal spray
Sometimes recorded by dose (which is what dm+d says it should be recorded by), sometimes by pack:
SELECT
practice,
items,
net_cost/quantity AS ppq
FROM
`ebmdatalab.hscic.normalised_prescribing_standard`
WHERE
month = '2018-04-01'
AND bnf_code = '0407020A0AABPBP'
ORDER BY
ppq
This doesn't appear to be related to EHR:
SELECT
practice,
items,
net_cost/quantity AS ppq,
Principal_Supplier,
Principal_System
FROM
`ebmdatalab.hscic.normalised_prescribing_standard`
LEFT JOIN
ebmdatalab.hscic.vendors
ON
practice = ODS AND Date = '2018-04-01'
WHERE
month = '2018-04-01'
AND bnf_code = '0407020A0AABPBP'
ORDER BY
ppq```
From an NHS BSA newsletter:
Most inhalers, sprays and similar products areprescribed with the quantity measured in dosesrather than devices. In certain prescribing systemsa ‘pack conversion facility’ exists, allowingprescribers to enter the number of devices whichare converted to the appropriate equivalentquantity of doses. Unfortunately, where this facility exists, sometimes the prescriber enters the number of doses instead of the number of inhalers and excessive quantities are inadvertently prescribed. If an item is prescribed with an excessive quantity but you have dispensed less, you must populate the quantity that was actually dispensed.Example 1 – 3600 doses prescribed (this is equivalent to 60 x 60 dose devices), dispensed quantity 3600 doses. The item was returned to confirm the quantity dispensed and resubmitted with additional information, stating 60 x 60 dose devices were actually dispensed (£1380.00). Further contact confirmed only 1 x 60 dosedevice (£23.00) was supplied. This resulted in a delay to the contractor’s reimbursement:Endorsing the quantity dispensed in EPS and paper submissionsExample 2 – 9520 x 85g sachets prescribed (£24,656.00). The item was returned to confirm the quantity dispensed and was resubmitted, stating 9520 grammes (£290.08) was supplied. This resulted in a delay to the contractor’s reimbursement
The concept of
quantity
is central to most of our analyses. It is used to count levels of prescribing in some of our measures; it is used in our "price-per-quantity" tool; and it is used when comparing between products using ADQs.The (archived) NHS Digital definition is:
The monthly PCA data has a column "Standard Quantity Unit" (update: this column appears to have been removed without notice in December 2018) e which appears to indicate what we're looking for. The supplied glossary states:
Working with that definition
We have three sets of rules to formulate (developed using this SQL as a view):
Discrete
. The unit of measure is then available in the "dose form unit of measure" field in dm+d. However, thisdiscrete
forms include some that could be measured as liquids or non-discrete solids: spoonful, sachet, cup and ml. Spoonful, in particular, is quite common, and appears to be measured in ml (rather than spoonfuls) in at least one example (see below). This category also includes "unit dose".Discrete
and theform
is in this list (or this temp table) (examples:Powder
,Oral gel
,Foam
).Discrete
, per this list ofform
values (examples:Liquid
,Ear drops
)How are spoonfuls denominated with respect to quantity?
Per our heuristic above, they are a discrete quantity, but in reality quantity appears to mean
ml
. For example, this Dicycloverine HCl solution is available in 120ml bottles. As can be seen on that page (from dm+d), its "unit dose" is a "5ml spoonful". The strength of its active ingredient is 2mg per ml.Its ADQ is 30mg. So that's a average daily dose for adults of 15ml, or 3 spoonfuls: 24 days' worth in a bottle.
The question is: is a
quantity
of this 1ml, or 5ml? Based on all historic prescribing data, we can see spikes at 5, 10, 20, 30 and 50, which suggests GPs are prescribing in spoonfuls, but the data is recorded in ml. This is reminscent of the situation where we also know that in some casesquantity
also represents packs.Other strange corners
When applying the above heuristic, extra dm+d metadata leads us to question some of our categorisations. Some examples:
We would normally expect the unit of measure of the denominator ingredient in dm+d to match what we consider quantity. For example, we would normally expect the denominator in a liquid to have a unit of measure of
ml
or l`. This gives us an opportunity to find items where the denominator unit of measure varies considerably within their class:Special containers
In the case of special containers, we can't rely on the quantity at all, as dispensers sometimes record a number of packs rather than tablets (for example), presumably to indicate entire packs were dispensed. How NHSBSA distinguishes between packs and tablets in such cases for the purpose of reimbursement is unclear.
From this NHSBSA glossary:
This rule applies to Special Containers which can not have Broken Bulk applied. This data is available in dm+d at the AMPP level. However, as prescribing data is only at AMP/VMP level, we can only tell if an AMP/VMP may have this condition applied.
Questions:
spoonful
and treat it as a liquid rather than a discrete dose?quantity
find its way to the data? Is it from EPS systems and if so, what is their data source? As this data is the basis for paying dispensers, it presumably comes from them, even if the originating system was an EPS. What kinds of system do they use to record quantity? Is this, in fact, all reliant on the individual judgement of dispensers, hence the wide variation?quantity
for us?1
(i.e. per-pack?) If not, should we drop such products from any quantity-based analysis?