There is a newer version of the record available.

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)

  • 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
  • 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

Funding: Supported by the Arthritis Research UK Centre for Epidemiology (grant 20380) and the National Institute for Health Research Biomedical Research Unit Funding Scheme. Contributions: Rebecca M. Joseph (designed & implemented the code), Mohammad Movahedi (tested code components), William G Dixon (funding/supervision), Deborah P. M. Symmons (funding/supervision)

Files

Restricted

The record is publicly accessible, but files are restricted to users with access.

Additional details