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

*MEDICATION*: Pharmacy First - Sore throat treatment #304

Open
chrisjwood16 opened this issue Feb 13, 2024 · 8 comments
Open

*MEDICATION*: Pharmacy First - Sore throat treatment #304

chrisjwood16 opened this issue Feb 13, 2024 · 8 comments
Assignees
Labels
codelist medicine Used when codelist involving medicines are created

Comments

@chrisjwood16
Copy link
Collaborator

chrisjwood16 commented Feb 13, 2024

User requirements

This codelist is used to identify supply of any medication included in the Pharmacy First Patient Group Directions for treatment of sore throat.

Sensitivity versus specificity

Specific to only the strength/formulations included in the PGDs for sore throat.

Relevant definitions or links to important reference sources

PGDs:
https://www.england.nhs.uk/wp-content/uploads/2023/11/PRN01010-5a.-Sore-throat-phenoxymethylpenicillin-patient-group-direction-Pharmacy-First.pdf
https://www.england.nhs.uk/wp-content/uploads/2023/11/PRN01010-5b.-Sore-throat-clarithromycin-patient-group-direction-Pharmacy-First.pdf
https://www.england.nhs.uk/wp-content/uploads/2023/11/PRN01010-5c.-Sore-throat-erythromycin-patient-group-direction-Pharmacy-First.pdf

Coding system

dm+d

Existing relevant codelists

N/A

Search terms / synonyms / search strategy

  • Phenoxymethylpenicillin
  • Clarithromycin
  • Erythromycin

Inclusion criteria for codes

  • Phenoxymethylpenicillin 250mg tablets
  • Phenoxymethylpenicillin 125mg/5mL oral solution (or oral suspension)
  • Phenoxymethylpenicillin 125mg/5mL sugar free oral solution (or oral suspension)
  • Phenoxymethylpenicillin 250mg/5mL oral solution (or oral suspension)
  • Phenoxymethylpenicillin 250mg/5mL sugar free oral solution (or oral suspension)
  • Clarithromycin 250mg tablets
  • Clarithromycin 500mg tablets
  • Clarithromycin 125mg/5mL oral suspension (or oral solution)
  • Clarithromycin 250mg/5mL oral suspension (or oral solution)
  • Erythromycin 250mg tablets
  • Erythromycin 250mg gastro-resistant tablets
  • Erythromycin 500mg tablets
  • Erythromycin 125mg/5mL oral suspension (or oral solution)
  • Erythromycin 125mg/5mL sugar free oral suspension (or oral solution)
  • Erythromycin 250mg/5mL oral suspension (or oral solution)
  • Erythromycin 250mg/5mL sugar free oral suspension (or oral solution)
  • Erythromycin 500mg/5mL oral suspension (or oral solution)
  • Erythromycin 500mg/5mL sugar free oral suspension (or oral solution)

Exclusion criteria for codes

Strengths/formulations not listed above.

Borderline cases

N/A

Final codelist

Published:
BNF code format: https://www.opencodelists.org/codelist/opensafely/pharmacy-first-sore-throat-treatment/08e095a6/
dm+d format: https://www.opencodelists.org/codelist/opensafely/pharmacy-first-sore-throat-treatment-dmd/2ac5934f/

@chrisjwood16 chrisjwood16 added medicine Used when codelist involving medicines are created codelist labels Feb 13, 2024
@chrisjwood16 chrisjwood16 self-assigned this Feb 13, 2024
@chrisjwood16 chrisjwood16 changed the title *MEDICATION*: Pharmacy First - Sore throat *MEDICATION*: Pharmacy First - Sore throat treatment Feb 13, 2024
@speed-vm speed-vm self-assigned this Mar 11, 2024
@speed-vm
Copy link

Hi @chrisjwood16

Here is my comparison with a draft codelist I prepared:
https://www.opencodelists.org/codelist/user/chriswood/pharmacy-first-sore-throat-treatment/08e095a6/diff/43d50684/

Codes in LHS only
Erythrocin 250 tablets (0501050N0BBAAAA) review
Erythrocin 500 tablets (0501050N0BBABAB) review
Erythrolar 250mg tablets (0501050N0BCAAAA) AMP discontinued
Erythrolar 500mg tablets (0501050N0BCABAB) AMP discontinued
Erythromycin 250mg gastro-resistant tablets (0501050C0AAABAB) include
Erythromycin stearate 250mg tablets (0501050N0AAAAAA) review
Erythromycin stearate 500mg tablets (0501050N0AAABAB) review
Rommix 250 EC tablets (0501050C0BIAAAB) AMP discontinued

The salts for erythromycin are not specifically mentioned on the PGD. Not loads of use according to OP, but perhaps should all be included?

@chrisjwood16
Copy link
Collaborator Author

I've gone with an include everything that could match the PGD approach. The study will hopefully be able to filter to only medications supplied under Pharmacy First so I would look to keep these all in.

@speed-vm
Copy link

Ok great, then looks good to me!

@chrisjwood16
Copy link
Collaborator Author

chrisjwood16 commented Jan 21, 2025

As explained here, due to complexities in the data we need to build this codelist directly in dmd to ensure we include products which don't have a BNF code.

We can use a view which contains required dmd fields and then query this to select products matching our inclusion criteria:

  • Phenoxymethylpenicillin 250mg tablets
  • Phenoxymethylpenicillin 125mg/5mL oral solution (or oral suspension)
  • Phenoxymethylpenicillin 125mg/5mL sugar free oral solution (or oral suspension)
  • Phenoxymethylpenicillin 250mg/5mL oral solution (or oral suspension)
  • Phenoxymethylpenicillin 250mg/5mL sugar free oral solution (or oral suspension)
  • Clarithromycin 250mg tablets
  • Clarithromycin 500mg tablets
  • Clarithromycin 125mg/5mL oral suspension (or oral solution)
  • Clarithromycin 250mg/5mL oral suspension (or oral solution)
  • Erythromycin 250mg tablets
  • Erythromycin 250mg gastro-resistant tablets
  • Erythromycin 500mg tablets
  • Erythromycin 125mg/5mL oral suspension (or oral solution)
  • Erythromycin 125mg/5mL sugar free oral suspension (or oral solution)
  • Erythromycin 250mg/5mL oral suspension (or oral solution)
  • Erythromycin 250mg/5mL sugar free oral suspension (or oral solution)
  • Erythromycin 500mg/5mL oral suspension (or oral solution)
  • Erythromycin 500mg/5mL sugar free oral suspension (or oral solution)
SELECT DISTINCT
dmd_type, dmd_id, dmd_name, bnf_code
FROM
`chris.union_amp_vmp`
WHERE
(
  vtm = 'Phenoxymethylpenicillin' 
  AND formroute IN ('tablet.oral') 
  AND strength_num IN (250)
)
OR
(
  vtm = 'Phenoxymethylpenicillin' 
  AND formroute IN ('solution.oral', 'suspension.oral')
  AND (((5/strength_den)*strength_num) IN (125, 250)) -- strength is often expressed as mg/ml - this calculation converts to dose per 5ml as expressed in inclusion criteria
)
OR
(
  vtm = 'Clarithromycin'
  AND formroute IN ('tablet.oral')
  AND strength_num IN (250, 500)
)
OR
(
  vtm = 'Clarithromycin' 
  AND formroute IN ('solution.oral', 'suspension.oral')
  AND (((5/strength_den)*strength_num) IN (125, 250)) -- strength is often expressed as mg/ml - this calculation converts to dose per 5ml as expressed in inclusion criteria
)
OR
(
  ingredient = 372694001 -- use ingredient code for erythromycin base substance here not vtm as a number of different erythromycin salts
  AND
  ingredient_count =1
  AND
  formroute IN ('tablet.oral', 'tabletgastro-resistant.oral')
  AND
  strength_num IN (250, 500)
)
OR
(
  ingredient = 372694001 -- use ingredient code for erythromycin base substance here not vtm as a number of different erythromycin salts
  AND
  ingredient_count = 1
  AND
  formroute IN ('solution.oral', 'suspension.oral')
  AND 
  (((5/strength_den)*strength_num) IN (125, 250, 500)) -- strength is often expressed as mg/ml - this calculation converts to dose per 5ml as expressed in inclusion criteria
)

PF_treatment_sore_throat.csv

@chrisjwood16
Copy link
Collaborator Author

Checked against existing codelist. These are in the new codelist not in previous version:
dmd_type,dmd_id,dmd_name,bnf_code
AMP,14222611000001101,Erythrocin 500 tablets (Sigma Pharmaceuticals Plc),
AMP,14223111000001103,Erythroped A 500mg tablets (Sigma Pharmaceuticals Plc),
AMP,17899311000001109,Erythromycin ethyl succinate 500mg tablets (Sigma Pharmaceuticals Plc),
AMP,37369311000001108,Erythrocin 250 tablets (CST Pharma Ltd),
AMP,37369811000001104,Erythrocin 500 tablets (CST Pharma Ltd),
AMP,44154311000001102,Clarithromycin 500mg tablets (Quattro Pharma Ltd),
AMP,42591311000001106,Phenoxymethylpenicillin 250mg tablets (Flamingo Pharma (UK) Ltd),0501011P0AAAJAJ
AMP,42816811000001105,Clarithromycin 250mg tablets (Drugsrus Ltd),0501050B0AAAAAA
AMP,42455811000001101,Clarithromycin 250mg tablets (Krka UK Ltd),0501050B0AAAAAA
AMP,42456611000001105,Clarithromycin 500mg tablets (Krka UK Ltd),0501050B0AAADAD
AMP,42830211000001104,Clarithromycin 500mg tablets (Drugsrus Ltd),0501050B0AAADAD
AMP,22878811000001100,Erythrocin 500 tablets (Waymade Healthcare Plc),
AMP,5286611000001101,Clarithromycin 125mg/5ml oral suspension (Dowelhurst Ltd),
AMP,5298511000001100,Klaricid Paediatric 125mg/5ml oral suspension (Dowelhurst Ltd),
AMP,5300211000001105,Klaricid Paediatric 250mg/5ml oral suspension (Dowelhurst Ltd),
AMP,5377011000001108,Klaricid 250mg tablets (Waymade Healthcare Plc),
AMP,5377411000001104,Klaricid 500 tablets (Waymade Healthcare Plc),
AMP,5459011000001106,Clarithromycin 500mg tablets (Dowelhurst Ltd),
AMP,5514211000001102,Clarithromycin 250mg tablets (Dowelhurst Ltd),
AMP,5541711000001100,Erythrocin 500 tablets (Dowelhurst Ltd),
AMP,5543211000001106,Erythroped A 500mg tablets (Dowelhurst Ltd),
AMP,5551011000001104,Klaricid 250mg tablets (Dowelhurst Ltd),
AMP,5551211000001109,Klaricid 500 tablets (Dowelhurst Ltd),
AMP,10536411000001109,Erythroped A 500mg tablets (Waymade Healthcare Plc),
AMP,10833311000001107,Clarithromycin 125mg/5ml oral suspension (Waymade Healthcare Plc),
AMP,10833511000001101,Clarithromycin 250mg/5ml oral suspension (Waymade Healthcare Plc),
AMP,13225711000001103,Clarithromycin 250mg/5ml oral suspension (Dowelhurst Ltd),
AMP,13236311000001105,Phenoxymethylpenicillin 125mg/5ml oral solution sugar free (Dowelhurst Ltd),
AMP,13236511000001104,Phenoxymethylpenicillin 250mg/5ml oral solution sugar free (Dowelhurst Ltd),
AMP,13237211000001100,Phenoxymethylpenicillin 250mg tablets (Dowelhurst Ltd),
AMP,13875411000001102,Erythrocin 500 tablets (DE Pharmaceuticals),
AMP,14734611000001104,Klaricid 500 tablets (Sigma Pharmaceuticals Plc),
AMP,14735011000001105,Klaricid 250mg tablets (Sigma Pharmaceuticals Plc),
AMP,16172811000001109,Erythroped A 500mg tablets (Lexon (UK) Ltd),
AMP,16544311000001103,Erythrocin 500 tablets (Stephar (U.K.) Ltd),
AMP,16551711000001104,Klaricid 500 tablets (Stephar (U.K.) Ltd),
AMP,16572211000001101,Erythroped A 500mg tablets (Mawdsley-Brooks & Company Ltd),
AMP,17503311000001109,Erythrocin 500 tablets (Mawdsley-Brooks & Company Ltd),
AMP,18056411000001108,Erythrocin 500 tablets (Lexon (UK) Ltd),
AMP,18257211000001100,Erythrocin 500 tablets (Necessity Supplies Ltd),
AMP,18257511000001102,Erythroped A 500mg tablets (Necessity Supplies Ltd),
AMP,18271111000001101,Klaricid 250mg tablets (Necessity Supplies Ltd),
AMP,18271311000001104,Klaricid 500 tablets (Necessity Supplies Ltd),
AMP,24099111000001103,Erythromycin 250mg gastro-resistant tablets (Waymade Healthcare Plc),

No codes in previous version which aren't in the new version.

@a-d-brown
Copy link

Checked, all looks correct.

@chrisjwood16
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codelist medicine Used when codelist involving medicines are created
Projects
None yet
Development

No branches or pull requests

3 participants