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.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

traumascanner-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: traumascanner-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 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.1.tar.gz
Algorithm Hash digest
SHA256 205081dc187bd6910e470ac166fc098b23486df492c635ea64f65a421acadb07
MD5 c62e6952a01790542c080cc47a44ec43
BLAKE2b-256 11a6a795f25b64d351875c0ae3b284eb3da16689e532972b5548fd5895398505

See more details on using hashes here.

File details

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

File metadata

  • Download URL: traumascanner-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c68287a7d27e5f546cfc21bb1f524073e15354e32ae8f521d6f30548abaac16
MD5 9de5d3571aa954aa79f05347753c10bf
BLAKE2b-256 1fa5cc0d265588e0ced9a633051de272cb4eec2fecda81983c80879761e788e2

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