Skip to main content

Python Tools for Investigating & Visualizing Activity in anesthetic records

A toolkit for extracting, parsing, and processing anesthetic records and making sense of the activity therein, especially intra-operative records.

Installation

Available via PyPI using your favorite python package manager.

$ pip3 install pytiva

What can pytiva do?

  • Extract data after export from an electronic health record system
  • Define and extract anesthesia activities using intra-operative events or the administration of medications
  • Unduplicate these activities by any strata of interest, such as patient or case ID number
  • Determine total concurrent activities, including aggregating by day and time
  • Visualization of so-called gantt charts and heat maps of activity, as below

Examples of visualizations

Gantt chart of raw activity for one patient

A gantt chart with labeled activity names on the y-axis and a time duration for each of them illustrated by a horizontal box. This chart in particular seems to show three "groups" of activity, each a mix of NORA, OR, and medication activities, with partial overlap.

Gantt chart of unduplicated activity for one patient

A gantt chart with four generic activities on the y-axis and a time duration for each drawn as a horizontal box, none of which overlap.

Heatmap of concurrent activity

A chart with hour of the day on the y-axis, day of the week on the x-axis, and a bar to the right of the chart showing a color gradient corresponding to how much activity is happening. The chart puts a color for each hour of each day of the week to show the average activity in that moment.

Metadata

Release files for pytiva 2023.8.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytiva 2023.8.6.1
File Size Uploaded Provenance
pytiva-2023.8.6.1.tar.gz 44.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytiva 2023.8.6.1
File Interpreter ABI Platform
pytiva-2023.8.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 89.9 kB

Release files / pytiva-2023.8.6.1.tar.gz

Download URL pytiva-2023.8.6.1.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7be98bc3b8f21129d7f88a847781e326f29d5e58f35548c25465649ad50ddf63
BLAKE2b-256 checksum
How to use checksums
0390ac92755f7f0c599cd61d1449cae0bf0a7cfdcc7c329fde8a6fc424bcfd14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / pytiva-2023.8.6.1-py3-none-any.whl

Download URL pytiva-2023.8.6.1-py3-none-any.whl
Size 45.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97db73eaef983589a6fd3f51875e2f2b371d528c38d4f4f09dd17d118ad005f7
BLAKE2b-256 checksum
How to use checksums
e0c23b4f38d11725d0f2ff90185e127092979d28f8ab16b004db94a24df1bef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for pytiva 2023.8.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page