Self Harm
PH893 / 1865
Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft
Apr 4, 2022
Overview
Phenotype TypeDisease or syndromeSexBothValid Event Date Range01/01/2001 - 31/12/2014Coding SystemRead codes v2Data SourcesCollectionsClinicalCodes RepositoryPhenotype LibraryTagsNo dataOntologyNo dataDefinition
Implementation
No dataImplementation
Clinical Codelist
PUBLISHED
Publication
Related publications
Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft, Self-harm in a primary care cohort of older people incidence, clinical management, and risk of suicide and other causes of death. Psychiatry, 5, 2018.
Citation Example
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH893/version/1865/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(
'PH893',
version_id=1865
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get details of Phenotype
phenotype_detail = client.phenotypes.get_detail(
'PH893',
version_id=1865
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH893/version/1865/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(
'PH893',
version_id=1865
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of Phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH893',
version_id=1865
)Version History