Suicide Attempt
Presentation
We provide the SuicideAttemptFromICD10 class to extract visits linked to suicide attempt from ICD-10 codes.
Usage
As mentionned below, two algorithms ("Haguenoer2008"
(default) and "X60-X84"
) are available
from eds_scikit.io import HiveData
data = HiveData(DBNAME)
from eds_scikit.phenotype import SuicideAttemptFromICD10
sa = SuicideAttemptFromICD10(data)
data = sa.to_data()
The final phenotype DataFrame is then available at data.computed["SuicideAttemptFromICD10_Haguenoer2008"]
or data.computed["SuicideAttemptFromICD10_X60_X84"]
depending on the used algorithm
Availables algorithms (values for "algo"
)
The ICD10 codes are available under SuicideAttemptFromICD10.ICD10_CODES
Returns the visits that have at least one ICD code that belongs to the range X60 to X84.
Returns the visits that follow the definiton of Haguenoer20081. This rule requires at least one Main Diagnostic (DP) belonging to S00 to T98, and at least one Associated Diagnostic (DAS) that belongs to the range X60 to X84.
Citation
When using algo="Haguenoer2008"
, you can get the BibTex of the corresponding article1 by calling
sa.cite()
@misc{haguenoer_tentatives_2008,
title = {Épidémiologie des tentatives de suicide en région Centre},
language = {fr},
author = {Haguenoer, Ken and Caille, Agnès and Fillatre, Marc and Lecuyer, Anne Isabelle and Rusch, Emmanuel},
year = {2008},
pages = {4},
howpublished = {\url{https://www.esante-centre.fr/portail_pro/minisite_25/media-files/56393/plaquette-2006-2009.pdf}}
}
Reference
Check the code reference here for a more detailled look.