{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/scan-suicide-attempt-and-ideation-events","title":"ScAN: Suicide Attempt and Ideation Events Dataset","arxiv_id":"2205.07872","date":"2022-05-12","proceeding":"NAACL 2022 7","authors":["Bhanu Pratap Singh Rawat","Samuel Kovaly","Wilfred R. Pigeon","Hong Yu"],"abstract":"Suicide is an important public health concern and one of the leading causes of death worldwide. Suicidal behaviors, including suicide attempts (SA) and suicide ideations (SI), are leading risk factors for death by suicide. Information related to patients' previous and current SA and SI are frequently documented in the electronic health record (EHR) notes. Accurate detection of such documentation may help improve surveillance and predictions of patients' suicidal behaviors and alert medical professionals for suicide prevention efforts. In this study, we first built Suicide Attempt and Ideation Events (ScAN) dataset, a subset of the publicly available MIMIC III dataset spanning over 12k+ EHR notes with 19k+ annotated SA and SI events information. The annotations also contain attributes such as method of suicide attempt. We also provide a strong baseline model ScANER (Suicide Attempt and Ideation Events Retriever), a multi-task RoBERTa-based model with a retrieval module to extract all the relevant suicidal behavioral evidences from EHR notes of an hospital-stay and, and a prediction module to identify the type of suicidal behavior (SA and SI) concluded during the patient's stay at the hospital. ScANER achieved a macro-weighted F1-score of 0.83 for identifying suicidal behavioral evidences and a macro F1-score of 0.78 and 0.60 for classification of SA and SI for the patient's hospital-stay, respectively. ScAN and ScANER are publicly available.","url_abs":"https://arxiv.org/abs/2205.07872v1","url_pdf":"https://arxiv.org/pdf/2205.07872v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"scan-suicide-attempt-and-ideation-events","repo_url":"https://github.com/bsinghpratap/scan","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[{"task_slug":"retrieval","task_name":"Retrieval"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2205.07872","atlas_url":"https://app.syntology.ai/?focus=2205.07872","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.07872"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/medspacy/medspacy","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":6,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"1a7539a620e770c5","entry":"get_quickumls_demo_dir","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/util.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1a7539a620e770c5"}},{"code_sha256_prefix":"3c2bc7424bae3eca","entry":"tuple_overlaps","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/util.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3c2bc7424bae3eca"}},{"code_sha256_prefix":"80758bcfdebc4a4b","entry":"get_context_attributes","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/_extensions.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/_extensions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"80758bcfdebc4a4b"}},{"code_sha256_prefix":"3f2b87b178dd7aa2","entry":"get_window_span","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/_extensions.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/_extensions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3f2b87b178dd7aa2"}},{"code_sha256_prefix":"7ccdc8e8d91c86f5","entry":"get_window_token","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/_extensions.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/_extensions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7ccdc8e8d91c86f5"}},{"code_sha256_prefix":"dbb16d9652741b52","entry":"prune_overlapping_matches","repo":"medspacy/medspacy","repo_kind":"found_in_text","path":"medspacy/common/util.py","file_url":"https://github.com/medspacy/medspacy/blob/HEAD/medspacy/common/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dbb16d9652741b52"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}