Smoking
Matthew J Carr, Darren M Ashcroft, Evangelos Kontopantelis, David While, Yvonne Awenat, Jayne Cooper, Carolyn Chew-Graham, Nav Kapur, Roger T Webb
PH393 / 786 Clinical-Coded Phenotype
Overview
Phenotype TypeLifestyle risk factorPhenotype UUIDbMXgHgum6EDayuxMW69vERSexBothValid Event Date Range01/01/2001 - 31/12/2013Coding SystemRead codes v2Data SourcesCollectionsClinicalCodes RepositoryPhenotype LibraryTagsNo dataOntologyNo dataDefinition
Implementation
Implementation
Clinical Code List
PUBLISHED
Publication
Related publications
Matthew J Carr, Darren M Ashcroft, Evangelos Kontopantelis, David While, Yvonne Awenat, Jayne Cooper, Carolyn Chew-Graham, Nav Kapur, Roger T Webb, Premature Death Among Primary Care Patients With a History of Self-Harm. Annals of Family Medicine, 15(3), 2017.
Citation Example
Matthew J Carr, Darren M Ashcroft, Evangelos Kontopantelis, David While, Yvonne Awenat, Jayne Cooper, Carolyn Chew-Graham, Nav Kapur, Roger T Webb. PH393 / 786 - Smoking. Phenotype Library [Online]. 06 October 2021. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH393/version/786/detail/. [Accessed 15 January 2025]
Permissions
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH393/version/786/detail/?format=json R Package library(ConceptLibraryClient)
# Connect to API
client = ConceptLibraryClient::Connection$new(public=TRUE)
# Get details of phenotype
phenotype_details = client$phenotypes$get_detail(
'PH393',
version_id=786
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH393',
version_id=786
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH393/version/786/export/codes/?format=json R Package library(ConceptLibraryClient)
# Connect to API
client = ConceptLibraryClient::Connection$new(public=TRUE)
# Get codelist of phenotype
phenotype_codelist = client$phenotypes$get_codelist(
'PH393',
version_id=786
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH393',
version_id=786
)Version History