opensafely / codelist-development

Repository for discussion of OpenSAFELY codelists
7 stars 4 forks source link

*MEDICINE*: Oral steroids #17

Open sebbacon opened 4 years ago

sebbacon commented 4 years ago

Distinguish between long term and acute treatment

CarolineMorton commented 4 years ago

Code list from LSHTM:

oralsteroids_drugcodes_Jul19.xlsx

CarolineMorton commented 4 years ago

@brianmackenna Are you able to sense check these existing code lists? Do you think there is any point running our own with what we already have from OP?

brianmackenna commented 4 years ago

Here's a steroid notebook I prepared earlier! These aren't directly comparabale - finalising list will depend on the criteria we hammer out.

Quick skim but keen for @inglesp view - I think our SnoMed/dm+d generation process might be more efficient. Updates are applied weekly and we have already automated links to prescribing data plus all the fields in dm+d.

inglesp commented 4 years ago

@brianmackenna I don't have enough context to understand what might be more efficient. Chat on the phone?

brianmackenna commented 4 years ago

I have reviewed the xlsx file above and I propose we generate code lists using our dm+d databases and where an previously curated codelist exists we use this for sense/checking validation. Our dm+d databases gve us advantage of a) it allows a huge degree of automation b) I think the dm+d is more comprehensive and is used in TPP (although it sits within Multilex) c) Our database updates on a weekly basis d) it allows us to use all fields in the dm+d to make our list more specific e.g. All preparations starting with BNF code 0501 that are administered is a solutioninjection

sebbacon commented 4 years ago

(have added new issue ebmdatalab/tpp-sql-notebook#48 for capturing consensus around using dynamic medicine codelists)

brianmackenna commented 4 years ago

Steroids specifically discussed on a call today with DataLab @CarolineMorton @amirmehrkar @alexwalkercebm etc and @hmcd

We can align the "replacement steroids" (note they are also used for acute flares/crisis) and xlsx file above.

We then can apply logic to see if we can distinguish between

Using dose syntax is likely to be long and fiddly so pragmatically we will explore using

alexwalkerepi commented 4 years ago

Draft definition

DEFINITION:

CODE LISTS: FLEXIBILITY NEEDED BETWEEN STUDIES: EFFECTS ON COHORT SELECTION:

POTENTIAL BIASES:

CLINICAL SIGN OFF & DATE:

EPIDEMIOLOGY SIGN OFF & DATE:

SHARED WITH WIDER TEAM: Yes/No

FINAL SIGN OFF DATE (and apply label)