ebmdatalab / openprescribing

A Django app providing a REST API and dashboards for the HSCIC's GP prescribing data
https://openprescribing.net
MIT License
96 stars 26 forks source link

dmd browser schedule 2 confusion #3232

Open brianmackenna opened 2 years ago

brianmackenna commented 2 years ago

The schedule 2 flag on the dm+d browser at ampp level has caused some confusion. Schedules commonly refer to controlled drug listings however these are help at VMP level.

The schedule 2 held at ampp level is actually

Indication as to whether the actual product pack is included in Part XVIIIB of the Drug Tariff (England & Wales) as being prescribable for specific classes of patient for a specific purpose.

or more commonly known as SLS (selected list scheme). It appears that Part XVIIIB of the Drug Tariff is a rewrite of schedule 2 of the National Health Service (General Medical Services Contracts) (Prescription of Drugs etc.) Regulations 2004. Hence the new name.

Without investigating I think it might make sense to change the field name on the public facing browser as an immediate first step (i do think there is another issue about making fields interactive so you can hover and display field description).

I think it might also be worth checking in with BSA team to see if there is any other information in dealing with this issue as it must've come up before.

richiecroker commented 11 months ago

@inglesp this looks like it's a quick one for me to fix, assuming this is the line of code that needs altering: https://github.com/ebmdatalab/openprescribing/blob/4b08fd00a4e8cf88c4562ae0c2331dc52c70178b/openprescribing/dmd/models.py#L601

richiecroker commented 11 months ago

or possibly and/or https://github.com/ebmdatalab/openprescribing/blob/4b08fd00a4e8cf88c4562ae0c2331dc52c70178b/openprescribing/dmd/migrations/0001_initial.py#L304