Skip to main content

SNDS Patients caracterzations

Project description

âš¡ Patient Characterization for SNDS Data

This package provides tools for characterizing patients based on Electronic Health Records (EHR) from the SNDS data. It includes a variety of functions to identify different diseases, treatments, and patient characteristics.

Features

  • Identify patients with specific diseases such as COPD, Hypertension, Diabetes, Cerebrovascular disease, Heart failure, Myocardial infarction, Chronic ischaemic heart disease, Stroke, Renal disease, Liver and pancreas diseases, Undernutrition, Parkinson's disease, Epilepsy, Psychiatric diseases, Peripheral vascular disease, Dyslipidemia.
  • Determine whether patients have received specific treatments (chemotherapy, radiotherapy, surgery, etc.).
  • Generate Snakey diagrams for visualizing patient treatment pathways.
  • Support for adding or deleting specific treatment codes (surgery, radiotherapy, chemotherapy, endocrine therapy, targeted therapy).
  • Determine if a patient is treated for specific conditions based on ICD-10 and ATC codes.
  • Assess the quantity and dates of treatments.
  • Identify neoadjuvant or adjuvant therapies.
  • Calculate chemotherapy intervals.
  • Identify tobacco and alcohol use.

📄 Documentation

💾 Installation

pip install EHRPOP

🧠 Usage

Here's a basic example to get you started with using the package:

# Importing the Package
import EHRPOP as pchar
import pandas as pd

# First, load your EHR data into a DataFrame:
df = pd.read_csv('path_to_your_EHR_data.csv')

# Use the provided functions to characterize your patients. For example, to identify patients with COPD:
COPD_patients = pchar.isCOPD(df, 'COPD')
print(COPD_patients)

# You can generate Snakey diagrams to visualize patient treatment pathways:
pchar.SnakeyDiagram(df)

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

ehrpop-0.0.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EHRPOP-0.0.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file ehrpop-0.0.1.tar.gz.

File metadata

  • Download URL: ehrpop-0.0.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for ehrpop-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f96ea20ae353a94d53c68520889d7481f16ac2f7fbf8c2475c9e62e036616c2f
MD5 6cede526ae3e1266ea8029bfbdc28965
BLAKE2b-256 617e86616f7db6add5010c12cf22d8d2cc31d6a48000446725df0099d45a2744

See more details on using hashes here.

File details

Details for the file EHRPOP-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: EHRPOP-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for EHRPOP-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d94095bfd514e1caab131e66374b869eb0602f098324167ed1f6cc0b64a8879
MD5 ae491cacfa19a8d2a588fe9eecff2c1c
BLAKE2b-256 6bcf028eeec487003fec9c24067a0045125a524ff43ade411cfa953f5787ec95

See more details on using hashes here.

Supported by

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