mdsajjadullah/synthetic-medical-ehr-dataset
π₯ Synthetic Privacy-Preserving Medical EHR Dataset Dataset Description A fully synthetic collection of 10,000 Electronic Health Records (EHRs) for binary classification research. The task is predicting adverse patient outcomes β deterioration or death β from clinical, demographic, and vital sign features. No real patient data was used at any stage. Privacy-safe under GDPR, CCPA, and HIPAA. Supported Tasks tabular-classification: Predictβ¦ See the full description on the dataset page: https://huggingface.co/datasets/mdsajjadullah/synthetic-medical-ehr-dataset.
π₯ Synthetic Privacy-Preserving Medical EHR Dataset
Dataset Description
A fully synthetic collection of 10,000 Electronic Health Records (EHRs) for binary classification research. The task is predicting adverse patient outcomes β deterioration or death β from clinical, demographic, and vital sign features. No real patient data was used at any stage. Privacy-safe under GDPR, CCPA, and HIPAA.
Supported Tasks
- tabular-classification: Predict
adverse_outcome(0/1) from 13 clinical features - Benchmark models: Random Forest, Gradient Boosting, XGBoost
- Class imbalance handling: SMOTE oversampling applied on training set only
- Interpretability: SHAP feature importance included in generation pipeline
Dataset Structure
Data Fields
Privacy Methods
This dataset was synthetically generated in Python. Privacy techniques applied:
- Anonymization β UUID patient IDs, no real names or SSNs
- Generalization β age buckets, region labels instead of cities
- Differential Privacy β Laplace mechanism noise (epsilon=2.0) on all vital signs
- Data Perturbation β Gaussian noise on continuous features
No real patient records were used or referenced at any stage.
Benchmark Results
Use Cases
- Binary classification for healthcare outcome prediction
- Benchmarking tabular ML models without privacy risk
- Teaching SMOTE, scaling, hyperparameter tuning, SHAP
- Fairness analysis across demographic groups
- Differential privacy and privacy-preserving AI research
Citation
@dataset{mdsajjadullah_2025_synthetic_ehr,
author = {Md.Sajjad Ullah},
title = {Synthetic Privacy-Preserving Medical EHR Dataset},
year = {2025},
publisher = {Zenodo},
version = {5.0},
doi = {10.5281/zenodo.18968480},
url = {https://doi.org/10.5281/zenodo.18968480}
}