Skip to main content

Identify radiology reports with post-traumatic hemorrhage

Project description

traumascanner

Identify radiology text-reports of patients with post-traumatic hemorrhage

Installation

$ pip install traumascanner

Usage

Use traumaScanner() to identify patients with post-traumatic hemorrhage from radiology text reports.

traumaScanner() is a key-word matching/regular expression (regex) and rules-based algorithm for identifying patients with post-traumatic hemorrhage after a traumatic brain injury (TBI).

In brief, the algorithm functions as follows:

  1. Identifies radiology reports with at least one of the provided set of trauma-related keywords
  2. Considers negation to remove false positive trauma related reports
  3. Identifies and removes reports without hemorrhage

The function will output the following csv files:

  • 01_potential_trauma_reports.csv - all radiology reports which matched at least one keyword
  • 02_false_postive_trauma_reports.csv - the subset of potential_trauma_reports identified as being likely false positive for trauma
  • 03_trauma_no_hemorrhage_reports.csv - the subset of potential_trauma_reports which had no hemorrhage
  • 04_resucued_reports.csv - the subset of trauma_no_hemorrhage_reports which were likely false negatives
  • 05_post_traumatic_hemorrhage_reports - the complete set of post-traumatic hemorrhage reports identified via the traumaScanner() algorithm.

License

traumascanner was created by Meghan Hutch. It is licensed under the terms of the MIT license.

Credits

traumascanner was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

traumascanner-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

traumascanner-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file traumascanner-0.1.0.tar.gz.

File metadata

  • Download URL: traumascanner-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/3.10.0-1160.108.1.el7.x86_64

File hashes

Hashes for traumascanner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a492f662ed9c007fc023d341aea604130fe1fbd141b530d95450bebf52f97700
MD5 8b7445cce5038e4a5c2bec19b1a4f1b2
BLAKE2b-256 fc783c0e664fed3cdc9c65f2d38b2ba3a21da8b227edd76f0ad3164024a539df

See more details on using hashes here.

File details

Details for the file traumascanner-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: traumascanner-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/3.10.0-1160.108.1.el7.x86_64

File hashes

Hashes for traumascanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 599d097438c92fd71fe93a413c8b1d32e796defb1db152bfe991490208fa4bbc
MD5 8340e0b55093d322b07330fb2fc98fb7
BLAKE2b-256 b284b90928b6b541eff8712803cde3013c12c88c54fe340a4f995c0d3a5b5211

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page