Obsessive-compulsive disorder (OCD)
Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Jonathan Green, Carolyn A Chew-Graham, Nav Kapur, Darren M Aschcroft
PH589 / 1178 Clinical-Coded Phenotype
Overview
Phenotype TypeDisease or syndromePhenotype UUIDQnHAvgn4aq96BjBKqdc6rRSexBothValid Event Date Range01/01/2001 - 31/12/2014Coding SystemRead codes v2Data SourcesCollectionsClinicalCodes RepositoryPhenotype LibraryTagsNo dataOntologyNo dataDefinition
Implementation
Implementation
Clinical Code List
PUBLISHED
Publication
Related publications
Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Jonathan Green, Carolyn A Chew-Graham, Nav Kapur, Darren M Aschcroft, Incidence, clinical management, and mortality risk following self harm among children and adolescents cohort study in primary care. BMJ, 359(j4351), 2017.
Citation Example
Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Jonathan Green, Carolyn A Chew-Graham, Nav Kapur, Darren M Aschcroft. PH589 / 1178 - Obsessive-compulsive disorder (OCD). Phenotype Library [Online]. 06 October 2021. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH589/version/1178/detail/. [Accessed 15 January 2025]
Permissions
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH589/version/1178/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(
'PH589',
version_id=1178
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH589',
version_id=1178
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH589/version/1178/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(
'PH589',
version_id=1178
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH589',
version_id=1178
)Version History