Anorectal fistula
Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A
PH101 / 202 Clinical-Coded Phenotype
Overview
Phenotype TypeDisease or syndromeSexBothValid Event Date Range01/01/1999 - 01/07/2016Coding SystemICD10 codesRead codes v2OPCS4 codesMed codesData SourcesCollectionsCALIBERPhenotype LibraryTagsNo dataDefinition
At the specified date, a patient is defined as having had 'Anorectal fistula' IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:
Primary care
- 'Anorectal fistula' diagnosis or history of diagnosis or procedure during a consultation
OR Secondary care
ALL diagnoses of 'Anorectal fistula' or history of diagnosis during a hospitalization OR Secondary care (OPCS4)
ALL procedures for 'Anorectal fistula' during a hospitalization
Implementation
Phenoflow IDImplementation
Clinical Code List
PUBLISHED - 18 Codes
PUBLISHED - 18 Codes
PUBLISHED - 3 Codes
PUBLISHED - 7 Codes
Publication
Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3
(DOI:10.1016/S2589-7500(19)30012-3)
Citation Example
Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A. PH101 / 202 - Anorectal fistula. Phenotype Library [Online]. 06 October 2021. Available from: http://phenotypes.healthdatagateway.org/phenotypes/PH101/version/202/detail/. [Accessed 08 October 2024]
API
To Export Phenotype Details:
Format API JSON site_root/api/v1/phenotypes/PH101/version/202/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(
'PH101',
version_id=202
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_detail(
'PH101',
version_id=202
)To Export Phenotype Code List:
Format API JSON site_root/api/v1/phenotypes/PH101/version/202/export/codes/?format=json CSV site_root/phenotypes/PH101/version/202/export/codes/ R Package library(ConceptLibraryClient)
# Connect to API
client = ConceptLibraryClient::Connection$new(public=TRUE)
# Get codelist of phenotype
phenotype_codelist = client$phenotypes$get_codelist(
'PH101',
version_id=202
)Py Package from pyconceptlibraryclient import Client
# Connect to API
client = Client(public=True)
# Get codelist of phenotype
phenotype_codelist = client.phenotypes.get_codelist(
'PH101',
version_id=202
)Version History