Illicit opioid use
Lewer D, Padmanathan P, Arfeen A, Denaxas S, Forbes H, Gonzalez-Izquierdo A, Hickman M
PH343 / 686 Clinical-Coded Phenotype
Overview
Phenotype TypeLifestyle risk factorSexBothValid Event Date Range01/03/2020-05/04/2020Coding SystemMed codesPROD codesData SourcesCollectionsPhenotype LibraryTagsNo dataOntologyNo dataDefinition
Implementation
Clinical Code List
PUBLISHED
PUBLISHED
Publication
Related publications
Lewer D, Padmanathan P, Qummer ul Arfeen M et al. Healthcare use by people who use illicit opioids (HUPIO): development of a cohort based on electronic primary care records in England [version 1; peer review: awaiting peer review]. Wellcome Open Res 2020, 5:282. 10.12688/wellcomeopenres.16431.1
(DOI: 10.12688/wellcomeopenres.16431.1)
Citation Example
Lewer D, Padmanathan P, Arfeen A, Denaxas S, Forbes H, Gonzalez-Izquierdo A, Hickman M. PH343 / 686 - Illicit opioid use. Phenotype Library [Online]. 06 October 2021. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH343/version/686/detail/. [Accessed 23 January 2025]
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH343/version/686/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(
'PH343',
version_id=686
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH343',
version_id=686
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH343/version/686/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(
'PH343',
version_id=686
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH343',
version_id=686
)Version History