Socioeconomic Deprevation

Julie George, Emily Herrett, Liam Smeeth, Harry Hemingway, Anoop Shah, Spiros Denaxas

Lifestyle Risk Factor
Version ID
Valid event data range
01/01/1999 - 01/07/2016
Agreement Date
Coding system
Tags /Collections
Phenotype Library


The level of socioeconomic deprivation was measured with the index of multiple deprivation (IMD) 2007 calculated at lower layer super output area level (small geographical areas, 23 482 defined in England with an average population of 1500 people), that had been linked by a third trust party using the patient postcode of residence recorded in CPRD. This measure of community socioeconomic status is a composite indicator commonly used in the United Kingdom that has been created by the Office of National Statistics using census postcode data. It is calculated combining 38 indicators of seven domains of deprivation: income, employment, health and disability; education, skills and training; barriers to housing and services, crime, and living environment. The IMD is the combined sum of the weighted, exponentially transformed domain ranks of the domain score. Explicit pre-defined weights are used (22.5% income, 22.5% employment, 13.5% health and disability, 13.5% education, skills and training, 9.3% barriers to housing and services, 9.3% crime, and 9.3% living environment). Because IMD is a non-linear measure of community socioeconomic status, for the analysis patients were categorised into quintiles of small-area deprivation, where the first quintile indicated the least deprived and the fifth quintile the most deprived group.


Clinical Code List

no concepts


To Export Phenotype Details:

Format API
XML site_root/api/v1/public/phenotypes/PH351/version/702/detail/?format=xml
JSON site_root/api/v1/public/phenotypes/PH351/version/702/detail/?format=json
R Package

# Download here


# Connect to API

client = connect_to_API(public=TRUE)

# Get details of phenotype

details = get_phenotype_detail_by_version('PH351', '702', api_client=client)

To Export Phenotype Code List:

Format API
XML site_root/api/v1/public/phenotypes/PH351/version/702/export/codes/?format=xml
JSON site_root/api/v1/public/phenotypes/PH351/version/702/export/codes/?format=json
CSV site_root/phenotypes/PH351/version/702/export/codes/
R Package

# Download here


# Connect to API

client = connect_to_API(public=TRUE)

# Get codelists of phenotype

codelists = get_phenotype_code_list('PH351', '702', api_client=client)

Version History

Name Owner Publish date
702 Socioeconomic Deprevation ieuan.scanlon 2021-10-06 currently shown

Export - export all codes into a csv file/JSON/XML for the current phenotype version.

Print - Print page.