Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR Medical Informatics (no longer under consideration since Aug 28, 2026)

Date Submitted: Aug 27, 2026
Open Peer Review Period: Aug 28, 2026 - Aug 28, 2026
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

A Rule-Based Natural Language Processing Pipeline for Identifying Documented Acute Poisoning Cases From Unstructured Emergency Department Triage PDFs: Retrospective Informatics Study

  • Sindy Lucero Ortega-Martínez; 
  • José Pablo Fernández Magaña; 
  • Orlando Cerón-Solis

ABSTRACT

Background:

Acute poisoning is a significant cause of emergency department visits and a priority for public health surveillance. In many resource-limited hospital settings, poisoning-related information is recorded in unstructured triage notes or PDF-based records, limiting its secondary use for surveillance, clinical characterisation, and quality improvement.

Objective:

This study aimed to develop and evaluate CINDER, an open-source, rule-based natural language processing pipeline for identifying documented cases of acute poisoning in unstructured emergency department triage PDF records.

Methods:

We conducted a retrospective informatics study using emergency department triage PDF records from a public hospital in Mexico City, covering January 1, 2025, to February 28, 2026. We implemented CINDER as Python modules for PDF ingestion, deduplication, text extraction, rule-based parsing, broad toxicological term filtering, strict contextual filtering, expert validation, and manual toxicological enrichment. All cases flagged by the strict filter underwent two-stage validation by a clinical expert committee and a clinical toxicologist. We performed a separate exploratory failure-mode analysis to characterise documentation-related missed cases by reviewing records outside the final cohort. Because no complete, manually adjudicated reference standard was available for all emergency department records, we could not directly estimate sensitivity.

Results:

The initial dataset comprised 36,581 emergency department triage PDF records. After deduplication, we retained 25,098 unique records. The broad toxicological filter identified 2,131 candidate records, and the strict contextual filter retained 195 documented acute poisoning cases, representing 0.78% of deduplicated records and 9.2% of broad-filter records. Two-stage expert review confirmed all 195 strict-filter records as true acute poisoning presentations, yielding a positive predictive value of 100% (195/195; exact 95% CI 98.1%-100%). In a random review of 50 records not retained in the final cohort, we identified no acute poisoning cases. A separate exploratory review of 100 records not captured by the broad filter identified 8 probable poisoning presentations described without toxicological keywords. Manual toxicology enrichment showed that 59 cases (30.3%) were intentional or self-harm-related exposures; the most frequent principal toxic agent category was other or unidentified agents (65/195, 33.3%), followed by benzodiazepines (38/195, 19.5%) and alcohol (31/195, 15.9%).

Conclusions:

CINDER demonstrates the feasibility of using an open-source, rule-based natural language processing pipeline to identify documented acute poisoning cases from unstructured emergency department triage PDFs. The pipeline achieved a high positive predictive value for documented poisoning presentations; however, it should not be interpreted as a definitive incidence estimation tool. These findings highlight a central challenge for clinical NLP in emergency care: automated surveillance performance is constrained by the quality, specificity, and structure of frontline clinical documentation.


 Citation

Please cite as:

Ortega-Martínez SL, Fernández Magaña JP, Cerón-Solis O

A Rule-Based Natural Language Processing Pipeline for Identifying Documented Acute Poisoning Cases From Unstructured Emergency Department Triage PDFs: Retrospective Informatics Study

JMIR Preprints. 27/08/2026:110473

DOI: 10.2196/preprints.110473

URL: https://preprints.jmir.org/preprint/110473

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.