Self-Harm Primary care
Marchant, A. Turner, S. Balbuena, L. Peters, W. Williams, D. Lloyd, K. Lyons, R. & John, A.
PH936 / 2430 Clinical-Coded Phenotype
Overview
Phenotype TypeDisease or syndromeSexBothValid Event Date RangeNo dataCoding SystemRead codes v2Data SourcesCollectionsAdolescent Data Platform (ADP)DATAMINDPhenotype LibraryTagsNo dataOntologyNo dataDefinition
Implementation
Implementation
Clinical Code List
PUBLISHED
PUBLISHED
Publication
Related publications
Marchant, A. Turner, S. Balbuena, L. Peters, W. Williams, D. Lloyd, K. Lyons, R. & John, A. 2020. “Self-Harm Presentation across Healthcare Settings by Sex in Young People: An e-Cohort Study Using Routinely Collected Linked Healthcare Data in Wales, UK.” Archives of Disease in Childhood 105(4):347-54.
John, A. (2015). Talk to me Annexes - Suicide and Self Harm Prevention Strategy and Action Plan for Wales 20152020 2. https://gov.wales/sites/default/files/publications/2019-06/talk-to-me-2-annexes-suicide-and-self-harm-prevention-strategy-and-action-plan-for-wales-2015-2020_0.pdf
Thomas, K. H. Davies, N. Metcalfe, C. Windmeijer, F. Martin, R. M. & Gunnell, D. (2013). Validation of suicide and self-harm records in the clinical practice research datalink. British Journal of Clinical Pharmacology, 76(1), 145-157. https://doi.org/10.1111/bcp.12059
(DOI: 10.1111/bcp.12059)Marchant, A,. Turner, S., Balbuena, L., Peters, W., Williams, D., Lloyd, K., Lyons, R., & John, A. 2020. “Self-Harm Presentation across Healthcare Settings by Sex in Young People: An e-Cohort Study Using Routinely Collected Linked Healthcare Data in Wales, UK.” Archives of Disease in Childhood 105(4):347-54.
Main reference link: https://adc.bmj.com/content/105/4/347
Citation Example
Marchant, A. Turner, S. Balbuena, L. Peters, W. Williams, D. Lloyd, K. Lyons, R. & John, A.. PH936 / 2430 - Self-Harm Primary care. Phenotype Library [Online]. 11 September 2023. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH936/version/2430/detail/. [Accessed 03 April 2025]
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH936/version/2430/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(
'PH936',
version_id=2430
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH936',
version_id=2430
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH936/version/2430/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(
'PH936',
version_id=2430
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH936',
version_id=2430
)Version History