Published August 23, 2018
| Version v1.3
Software
Open
SmokingDefinition (STATA): An algorithm to define smoking status in patients of the UK Clinical Practice Research Datalink (CPRD)
Authors/Creators
- 1. NIHR Manchester Musculoskeletal Biomedical Research Centre, Central Manchester University Hospital NHS Foundation Trust, Manchester, UK
- 2. Arthritis Research UK Centre for Epidemiology, Centre for Musculoskeletal Research, University of Manchester, Manchester, UK
Contributors
Other (2):
- 1. Arthritis Research UK Centre for Epidemiology, Centre for Musculoskeletal Research, University of Manchester, Manchester, UK
- 2. NIHR Manchester Musculoskeletal Biomedical Research Centre, Central Manchester University Hospital NHS Foundation Trust, and Arthritis Research UK Centre for Epidemiology, Centre for Musculoskeletal Research, University of Manchester, Manchester, UK
Description
SmokingDefinition (STATA Implementation) is an algorithm to define smoking status, length of smoking cessation and amount smoked in a cohort of patients from the UK Clinical Practice Research Datalink (CPRD).
Overview
The smoking status algorithm takes smoking data from various sources within CPRD and outputs three variables:
- a time-varying smoking status (never, former, current)
- the duration of cessation (in years, restarting at 0 whenever a new period of cessation begins)
- the amount smoked (not time varying, single status: 'light' smoker vs heavy smoker, defined based on the highest category recorded within a fixed window of an index date... missing<light<heavy).
Requirements
Software
The files were created using Stata 12.1.
Data
Standard CPRD datasets saved in STATA format.
Notes
Files
SmokingDefinition-1.3-zenodo.zip
Files
(24.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:0c945c9023c9e55df9d1ce6a95ba4cea
|
24.0 kB | Preview Download |
Additional details
Subjects
- Smoking
- http://id.nlm.nih.gov/mesh/M0019985
- Smoking Cessation
- http://id.nlm.nih.gov/mesh/M0025242