OpenSAFELY codelists


Reset
First Generation Antipsychotics excluding long acting depots DM&D dm+d
This code list contains the DM&D list of medicines that are known as First Generation Antipsychotics. All formulations of these medicines have been included, except for long acting depot antipsychotics and all formulations of prochlorperazine which are included in separate code lists. All of these antipsychotics are dopamine antagonists and licensed in some form for the treatment of psychosis, although some (e.g. flupentixol) may be licensed and used for other indications such as depression. D…
Fracture Risk Assessments SNOMED CT
This codelist aims to identify people who have had an assessment which evaluates the risk of bone fractures.
Fracture potential emergency OPCS codes OPCS-4
These are general fracture fixation OPCS-4 procedural codes
These OPCS-4 procedure codes need an additional ICD-10 diagnosis code to confirm that it was for an emergency rather than non-emergency procedure (defined as urgent or elective)
Emergency surgery defined as P1a and P1b as per Royal College of Surgeons Surgical Prioritisation Guidelines
Fragility CTV3
Codelist for creating binary variable capturing fragilities/fractures
GI Bleed or Ulcer CTV3
Codes indicating diagnosis of either a GI bleed or a GI ulcer
GI Bleed or Ulcer (SNOMED) SNOMED CT
Automatically-generated equivalent of [GI Bleed or Ulcer](/codelist/opensafely/gi-bleed-or-ulcer/)
GLP-1's (excluding those combined insulin) - dmd dm+d
This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for GLP-1 mimetics, excluding products which are combined with insulin. Note that some GLP-1 products are licenced for the indication of diabetes and some for the indication of weight loss; all indications are included in this codelist.
GLP-1's in combination with insulin - dmd dm+d
This codelist contains NHS Dictionary of Medicines and Devices (dm+d) codes for products which contain a GLP-1 mimetics in combination with insulin.
Gastrointestinal bleeding ICD-10 ICD-10
Codes to define gastrointestinal bleeding in ONS death data.
Giant Cell Arteritis CTV3
Codes indicating a diagnosis of Temporal Arteritis or Giant Cell Arteritis
Glycated haemoglobin (HbA1c) tests SNOMED CT
A SNOMED CT codelist for patients receiving monitoring of glycated haemoglobin (HbA1c) tests.
Glycated haemoglobin (HbA1c) tests (numerical value) SNOMED CT
A SNOMED CT codelist for patients receiving monitoring of glycated haemoglobin (HbA1c) tests, which contains a numerical value using the newer IFCC units.
Glycated haemoglobin (HbA1c) tests — IFCC standardised CTV3
A CTV3 codelist for patients receiving monitoring of glycated haemoglobin (HbA1c) tests using reference methods standardised by the International Federation of Clinical Chemistry and Laboratory Medicine (IFCC).

Note that for tests before 2018, test values in the East region appear to be recorded on a different scale (approximately 4 to 8-times greater than mean values in other regions). This issue is being investigated.
Glycopyrronium - Subcutaneous Formulations dm+d
This codelist contains all subcutaneous formulations of glycopyrronium.
Group A Streptococcal sore throat / tonsillitis SNOMED CT
Following an increase in cases of [Scarlet Fever and invasive Group A Strep in the UK](https://ukhsa.blog.gov.uk/2022/12/05/group-a-strep-what-you-need-to-know/) this codelist aims to identify patients who have had a possible diagnosis of Streptococcal sore throat.

We have taken a pragmatic approach where by codes for sore throat/pharyngitis/tonsilitis have been included where an alternative cause for the sore throat is not stated (eg. Viral sore throat). This codelist will be used in conjun…