OpenCodelists

Welcome to OpenCodelists, created by OpenSAFELY for creating and sharing codelists.

Anybody can also use this tool to create and share codelists. To get started, take a look at the documentation or watch the videos.

If you would like to publish codelists on behalf of an organisation, please get in touch.

Below, you'll find all the codelists that have been used in OpenSAFELY research to date.


All codelists


Reset
Hip replacement - Prosthetic replacement of articulation of other bone using cement (Clean) (W52) OPCS-4
Procedure category: Hip replacement - Replacement of the hip joint, including resurfacing of any part of the joint, revision of a previous replacement and conversion from a previous hemiarthroplasty or bone fixation. Excludes replacement of head of femur alone (see Repair of neck of femur). The minimum wound class for hip replacement surgery is clean.

Procedure subcategory: Prosthetic replacement of articulation of other bone using cement (Clean) (W52)
Hip replacement - Total prosthetic replacement of hip joint not using cement (Clean) (W38) OPCS-4
Procedure category: Hip replacement - Replacement of the hip joint, including resurfacing of any part of the joint, revision of a previous replacement and conversion from a previous hemiarthroplasty or bone fixation. Excludes replacement of head of femur alone (see Repair of neck of femur). The minimum wound class for hip replacement surgery is clean.

Procedure subcategory: Total prosthetic replacement of hip joint not using cement (Clean) (W38)
Hip replacement - Total prosthetic replacement of hip joint using cement (Clean) (W37) OPCS-4
Procedure category: Hip replacement - Replacement of the hip joint, including resurfacing of any part of the joint, revision of a previous replacement and conversion from a previous hemiarthroplasty or bone fixation. Excludes replacement of head of femur alone (see Repair of neck of femur). The minimum wound class for hip replacement surgery is clean.

Procedure subcategory: Total prosthetic replacement of hip joint using cement (Clean) (W37)
History of Atrial fibrillation or flutter codes SNOMED CT
Taken from the `AFHIST_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
History of Atrial fibrillation or flutter codes (obsolete) SNOMED CT
Taken from the `AFHIST_COD` refset published by NHSD.
Home and ambulatory blood pressure recording codes SNOMED CT
Taken from the `HOMEAMBBP_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Homeless SNOMED CT
Taken from the `HOMELESS_COD` fields in SARS-CoV2 (COVID-19) Vaccine Uptake Reporting Codes v.1.5.3
House bound SNOMED CT
This codelist aims to identify people who are or have been housebound.

To identify only people who are housebound at the time of search, it should be used in conjunction with the separate codelist for "no longer housebound".
Published by OpenSAFELY
Household contact of immunocompromised individuals SNOMED CT
Taken from the `IMMCOMPHHC_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Human immunodeficiency virus (HIV) codes SNOMED CT
Taken from the `HIV_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Human papilloma virus (HPV) vaccines dm+d
Taken from the `HPVVACDRUG_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
Huntington's (ICD-10) ICD-10
Taken from the Huntington's tab of the Population Risk COVID-19 Treatments code list v1.3, published by NHS Digital, 2021-12-13.
Published by NHS Digital
Huntington's (SNOMED CT) SNOMED CT
Taken from the Huntington's tab of the Population Risk COVID-19 Treatments code list v1.3, published by NHS Digital, 2021-12-13.
Published by NHS Digital
Huntington’s disease codes SNOMED CT
Taken from the `HUNT_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Hydradenitis supprativa codes SNOMED CT
Taken from the `HYDRADENITISSUP_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).