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
Heart failure (broad - for excluding people) SNOMED CT
List of all codes related to heart failure, to exclude people with previous history or evidence of heart failure. This includes not only diagnoses, but heart failure-related medication reviews or management plans.

This list is meant to be very broad, and is not to be used to identify new diagnoses.
Published by REDUCEHF
Heart failure (secondary care) ICD-10
Codelist to identify new diagnoses of heart failure in secondary care (admitted patient care data).

JJL - I tried a few search terms to no benefit. I have included acute on chronic, as it is the diagnostic event, not new pathology that we are trying to identify. I excluded foetal/neonatal as this study is of adults.
Published by REDUCEHF
Heart failure codes SNOMED CT
Taken from the `HF_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/).
Heart failure medication review codes SNOMED CT
Taken from the `HFMEDRVW_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/).
Heart failure primary outcome SNOMED CT
JJL: Created from 'Heart failure primary outcome NJ' - unable to clone, so did CSV

Heart failure diagnoses from primary care record. Includes any subtypes by ejection fraction. Not due acute cause not identifiable in primary care (PE/trauma/procedures). Includes cor pulmonale. Including stage B. Includes dilated CM. Includes monitoring and management but not referrals or clinics or education (clinic may rule out diagnosis).
Published by REDUCEHF
Heart failure primary outcome (secondary care) ICD-10
from Heart failure primary outcome NJ

JJL: including dilated cardiomyopathy etc
Published by REDUCEHF
Heart failure quality indicator service unavailable codes SNOMED CT
Taken from the `HFPCASU_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/).
Heart failure resolved codes SNOMED CT
Taken from the `HFRES_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/).
Heart failure review codes SNOMED CT
Taken from the `HFRVW_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/).
Height (SNOMED) SNOMED CT
Returns body height measurements.
Published by OpenSAFELY
Height measured codes SNOMED CT
Taken from the `NDAHEIGHT_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/).
Height measured codes (obsolete) SNOMED CT
Taken from the `NDAHEIGHT_COD` refset published by NHSD.
Hepatitis B blood test codes SNOMED CT
Taken from the `HEPBBLD_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/).
Hepatitis C CTV3
A codelist developed to support identification of people with hepatitis C, current or past.

Includes a history of flag:
- 0 for not a history code;
Published by OpenSAFELY
Hepatitis C associated with glomerulonephritis codes SNOMED CT
Taken from the `HEPCGN_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/).