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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ehrpop-0.0.9.tar.gz.
File metadata
- Download URL: ehrpop-0.0.9.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fdb02718e339292262b6a9a504756fbe61b16c7223804159d50540dc7267607
|
|
| MD5 |
b66c0fa6cbf4f59da0b11d4f4fe7a41b
|
|
| BLAKE2b-256 |
94821890cc7fadddd65bb21a4155916a2977a739184aedfb2e8f03d538d94621
|
File details
Details for the file EHRPOP-0.0.9-py3-none-any.whl.
File metadata
- Download URL: EHRPOP-0.0.9-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c46b24215b5d6beb30ee99dcf5e6b8bca0611a56649d4ed7b092e20dcd1a40
|
|
| MD5 |
7ae73fcae881b0eaad4a1c0f160d04f6
|
|
| BLAKE2b-256 |
f87d67022f06c67274363d276d6488218a7ab2ec7b7688e12875f73ba0fbd917
|