Published March 27, 2017
| Version v1.1
Software
Restricted
SmokingDefinition (STATA): An algorithm to define smoking status in patients of the UK Clinical Practice Research Datalink (CPRD)
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
- 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 v1.1 (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
Additional details
Subjects
- Smoking
- http://id.nlm.nih.gov/mesh/M0019985
- Smoking Cessation
- http://id.nlm.nih.gov/mesh/M0025242