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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- tabular-regression
|
| 6 |
+
- time-series-forecasting
|
| 7 |
+
tags:
|
| 8 |
+
- synthetic-data
|
| 9 |
+
- healthcare
|
| 10 |
+
- cardiology
|
| 11 |
+
- heart-failure
|
| 12 |
+
- hf
|
| 13 |
+
- hfref
|
| 14 |
+
- hfmref
|
| 15 |
+
- hfpef
|
| 16 |
+
- advanced-heart-failure
|
| 17 |
+
- end-stage-heart-failure
|
| 18 |
+
- nyha
|
| 19 |
+
- lvef
|
| 20 |
+
- ejection-fraction
|
| 21 |
+
- echocardiography
|
| 22 |
+
- echocardiogram
|
| 23 |
+
- echo
|
| 24 |
+
- diastolic-function
|
| 25 |
+
- ase-2016
|
| 26 |
+
- ea-ratio
|
| 27 |
+
- e-e-prime
|
| 28 |
+
- gls
|
| 29 |
+
- global-longitudinal-strain
|
| 30 |
+
- bnp
|
| 31 |
+
- nt-probnp
|
| 32 |
+
- troponin
|
| 33 |
+
- biomarkers
|
| 34 |
+
- ckd-epi
|
| 35 |
+
- egfr
|
| 36 |
+
- cardiorenal-syndrome
|
| 37 |
+
- gdmt
|
| 38 |
+
- guideline-directed-medical-therapy
|
| 39 |
+
- 4-pillar
|
| 40 |
+
- arni
|
| 41 |
+
- sglt2i
|
| 42 |
+
- entresto
|
| 43 |
+
- jardiance
|
| 44 |
+
- farxiga
|
| 45 |
+
- beta-blocker
|
| 46 |
+
- mra
|
| 47 |
+
- spironolactone
|
| 48 |
+
- ace-inhibitor
|
| 49 |
+
- arb
|
| 50 |
+
- icd
|
| 51 |
+
- crt
|
| 52 |
+
- lvad
|
| 53 |
+
- heart-transplant
|
| 54 |
+
- pinnacle-registry
|
| 55 |
+
- aha-2022
|
| 56 |
+
- acc-aha-guidelines
|
| 57 |
+
- cms-hrrp
|
| 58 |
+
- 30-day-readmission
|
| 59 |
+
- readmission
|
| 60 |
+
- mortality
|
| 61 |
+
- mace
|
| 62 |
+
- kccq
|
| 63 |
+
- six-minute-walk
|
| 64 |
+
- vo2-max
|
| 65 |
+
- cpet
|
| 66 |
+
- atrial-fibrillation
|
| 67 |
+
- charlson-comorbidity
|
| 68 |
+
- cardiometabolic
|
| 69 |
+
- longitudinal-ehr
|
| 70 |
+
- ehr-synthetic
|
| 71 |
+
pretty_name: HCCAR001 — Synthetic Heart Failure Dataset (Sample)
|
| 72 |
+
size_categories:
|
| 73 |
+
- 1K<n<10K
|
| 74 |
+
configs:
|
| 75 |
+
- config_name: baseline
|
| 76 |
+
data_files: hccar001_baseline.parquet
|
| 77 |
+
- config_name: visits
|
| 78 |
+
data_files: hccar001_visits.parquet
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
+
# HCCAR001 — Synthetic Heart Failure Dataset (Sample Preview)
|
| 82 |
+
|
| 83 |
+
**XpertSystems.ai | Synthetic Data Factory | Healthcare / Cardiology Vertical**
|
| 84 |
+
|
| 85 |
+
A **two-table longitudinal heart failure patient dataset** spanning the
|
| 86 |
+
full clinical-research data surface for HF cohorts: baseline patient
|
| 87 |
+
records (~114 features per patient covering demographics, full
|
| 88 |
+
echocardiographic assessment with diastolic function, 14 biomarkers
|
| 89 |
+
including BNP/NT-proBNP/troponin/CKD-EPI eGFR, guideline-directed
|
| 90 |
+
medical therapy (GDMT) 4-pillar prescribing, device therapy (ICD/CRT/
|
| 91 |
+
LVAD/transplant), hospitalization outcomes, functional status (NYHA,
|
| 92 |
+
6MWD, KCCQ, VO₂ max), comorbidities, and vital signs) plus quarterly
|
| 93 |
+
follow-up visits over 3 years tracking LVEF/BNP/NYHA trajectories.
|
| 94 |
+
|
| 95 |
+
Calibrated benchmark-first against **ACC/AHA 2022 Heart Failure
|
| 96 |
+
Guidelines**, **ASE 2016 Recommendations for Evaluation of LV Diastolic
|
| 97 |
+
Function**, **CKD-EPI 2009**, **PINNACLE Registry** (real-world GDMT
|
| 98 |
+
prescribing rates), **CMS HRRP** (30-day readmission benchmarks),
|
| 99 |
+
**SCD-HeFT / DINAMIT** (primary-prevention ICD criteria), and **CARE-HF
|
| 100 |
+
/ COMPANION** (CRT eligibility criteria).
|
| 101 |
+
|
| 102 |
+
This is the **sample preview** — 200 patients × 12 quarterly visits over
|
| 103 |
+
3 years (200 baseline records + 2,400 visit records, ~500 KB). The full
|
| 104 |
+
product covers 10,000+ patients × full 3-year follow-up with extended
|
| 105 |
+
echocardiographic / CMR modules, full CPET / device interrogation
|
| 106 |
+
detail, complete medication titration trajectories, and pre-built cohort
|
| 107 |
+
configs for HFrEF clinical trial simulation, HFpEF treatment-effect
|
| 108 |
+
heterogeneity studies, and cardiorenal-cardiometabolic comorbidity
|
| 109 |
+
analysis.
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## Dataset summary
|
| 114 |
+
|
| 115 |
+
| Table | Rows (sample) | What it contains |
|
| 116 |
+
|---|---:|---|
|
| 117 |
+
| `baseline` | 200 | One row per patient. 114 features spanning: demographics + enrollment, cardiac function (LVEF, LV dimensions, GLS, RV function, TAPSE), diastolic function (E/A, E/e', LAVI, TRPG, diastolic grade), biomarkers (BNP, NT-proBNP, troponin I/T, creatinine, eGFR, BUN, electrolytes, hemoglobin, CRP, albumin, uric acid, iron studies, CKD stage), GDMT 4-pillar + ARNI/ivabradine/hydralazine-nitrate + device therapy (ICD/CRT/LVAD/transplant), hospitalization (LOS, ICU, 30/90/180-day readmission, ED visits, hospitalization risk score), functional outcomes (6MWD, KCCQ, VO₂ max, EF response, NYHA improvement, MACE, mortality, time-to-event), comorbidities (AF, diabetes, HTN, CAD, valvular, sleep apnea, COPD, anemia, obesity, depression, CCI), and vital signs (HR, SBP/DBP, MAP, weight, SpO₂, JVP, edema grade, rales) |
|
| 118 |
+
| `visits` | 2,400 | Quarterly visit-level records over 12 visits × 3 years. LVEF trajectory, BNP trajectory, NYHA class updates, weight changes — useful for longitudinal modeling, treatment-response trajectories, and time-to-event ML |
|
| 119 |
+
|
| 120 |
+
Both tables provided in **CSV** and **Parquet**. Join on `patient_id`.
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Calibration sources
|
| 125 |
+
|
| 126 |
+
All ten validation metrics target named clinical / regulatory standards:
|
| 127 |
+
|
| 128 |
+
- **ACC/AHA 2022 HF Guidelines** — HF phenotype LVEF bands (HFrEF ≤40%,
|
| 129 |
+
HFmrEF 41-49%, HFpEF ≥50%, Advanced <30%)
|
| 130 |
+
- **ASE 2016** Recommendations for Evaluation of LV Diastolic Function —
|
| 131 |
+
E/A ratio, E/e', LAVI, TRPG diagnostic criteria
|
| 132 |
+
- **Lang et al. (ASE 2015)** — chamber quantification recommendations
|
| 133 |
+
for LVEDV/LVESV/SV identities
|
| 134 |
+
- **CKD-EPI 2009** — eGFR formula physiologic bounds [8, 140]
|
| 135 |
+
- **PINNACLE Registry** — real-world GDMT 4-pillar prescribing rates
|
| 136 |
+
for outpatient HFrEF cohorts
|
| 137 |
+
- **CMS HRRP** (Hospital Readmissions Reduction Program) — 30-day HF
|
| 138 |
+
readmission national benchmark 22-25% + temporal monotonicity
|
| 139 |
+
- **SCD-HeFT (Bardy et al. 2005) + DINAMIT (Hohnloser et al. 2004)** —
|
| 140 |
+
primary prevention ICD eligibility (LVEF ≤35%, NYHA II-III)
|
| 141 |
+
- **CARE-HF (Cleland et al. 2005) + COMPANION (Bristow et al. 2004)** —
|
| 142 |
+
CRT eligibility (LVEF ≤35%, NYHA III-IV ambulatory, LBBB)
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## Validation scorecard (seed = 42)
|
| 147 |
+
|
| 148 |
+
10/10 PASS · **Grade A+ (100%)** across all six canonical seeds (42, 7, 123, 2024, 99, 1).
|
| 149 |
+
|
| 150 |
+
| # | Metric | Observed | Target | Tol | Type | Source |
|
| 151 |
+
|---|---|---:|---:|---:|---|---|
|
| 152 |
+
| 1 | `lvef_in_phenotype_band_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | ACC/AHA 2022 |
|
| 153 |
+
| 2 | `lvesv_equals_lvedv_times_one_minus_ef_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | Lang et al. ASE 2015 |
|
| 154 |
+
| 3 | `stroke_volume_equals_lvedv_minus_lvesv_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | ASE 2015 |
|
| 155 |
+
| 4 | `cardiac_index_equals_co_over_bsa_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | Hemodynamic identity |
|
| 156 |
+
| 5 | `egfr_in_physiologic_bounds_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | CKD-EPI 2009 |
|
| 157 |
+
| 6 | `gdmt_4_pillar_requires_lvef_under_40_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | ACC/AHA 2022 + PINNACLE |
|
| 158 |
+
| 7 | `icd_requires_lvef_under_35_and_nyha_ge_2_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | SCD-HeFT / DINAMIT |
|
| 159 |
+
| 8 | `crt_requires_lvef_under_35_and_nyha_ge_3_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | CARE-HF / COMPANION |
|
| 160 |
+
| 9 | `readmission_temporal_ordering_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | CMS HRRP |
|
| 161 |
+
| 10 | `ea_ratio_equals_e_over_a_rate` | 1.000 | 0.99 | ±0.01 | FLOOR | ASE 2016 |
|
| 162 |
+
|
| 163 |
+
---
|
| 164 |
+
|
| 165 |
+
## Schema highlights
|
| 166 |
+
|
| 167 |
+
### `baseline` (200 rows × 114 cols)
|
| 168 |
+
|
| 169 |
+
**Demographics (11 cols):** `patient_id` (UUID), `site_id`,
|
| 170 |
+
`hf_phenotype` (HFrEF / HFmrEF / HFpEF / Advanced), `age_at_baseline`,
|
| 171 |
+
`sex_male`, `race_ethnicity` (5 categories), `bmi_kg_m2`, `bsa_m2`,
|
| 172 |
+
`nyha_class_baseline` (1-4), `index_hospitalization`, `enrollment_date`.
|
| 173 |
+
|
| 174 |
+
**Cardiac function (13 cols):** `lvef_pct_baseline`, `lvedd_mm_baseline`,
|
| 175 |
+
`lvesd_mm_baseline`, `lvedv_ml_baseline`, `lvesv_ml_baseline`,
|
| 176 |
+
`stroke_volume_ml_baseline`, `heart_rate_baseline_bpm`,
|
| 177 |
+
`cardiac_output_l_min_baseline`, `cardiac_index_l_min_m2_baseline`,
|
| 178 |
+
`gls_pct_baseline`, `rv_function_baseline`, `tapse_mm_baseline`,
|
| 179 |
+
`echo_quality_baseline`.
|
| 180 |
+
|
| 181 |
+
**Diastolic function (9 cols):** `diastolic_grade_baseline` (Grade_1 /
|
| 182 |
+
Grade_2 / Grade_3 / Indeterminate), `e_velocity_cm_s_baseline`,
|
| 183 |
+
`a_velocity_cm_s_baseline`, `ea_ratio_baseline`, `e_prime_cm_s_baseline`,
|
| 184 |
+
`e_e_prime_ratio_baseline`, `lavi_ml_m2_baseline`, `trpg_mmhg_baseline`,
|
| 185 |
+
`ivrt_ms_baseline`.
|
| 186 |
+
|
| 187 |
+
**Biomarkers (15 cols):** `bnp_pg_ml_baseline`, `nt_probnp_pg_ml_baseline`,
|
| 188 |
+
`troponin_i_ng_ml_baseline`, `troponin_t_ng_ml_baseline`,
|
| 189 |
+
`creatinine_mg_dl_baseline`, `egfr_ml_min_173m2_baseline`,
|
| 190 |
+
`bun_mg_dl_baseline`, `sodium_meq_l_baseline`, `potassium_meq_l_baseline`,
|
| 191 |
+
`hemoglobin_g_dl_baseline`, `iron_studies_baseline`, `crp_mg_l_baseline`,
|
| 192 |
+
`albumin_g_dl_baseline`, `uric_acid_mg_dl_baseline`, `ckd_stage_baseline`.
|
| 193 |
+
|
| 194 |
+
**Treatment & GDMT (14 cols):** `gdmt_acei_arb_arni`, `gdmt_betablocker`,
|
| 195 |
+
`gdmt_mra`, `gdmt_sglt2i`, `gdmt_4_pillar_flag`, `arni_flag`,
|
| 196 |
+
`ivabradine_flag`, `hydralazine_nitrate_flag`, `icd_flag`, `crt_flag`,
|
| 197 |
+
`lvad_flag`, `transplant_flag`, `diuretic_loop_dose_mg`,
|
| 198 |
+
`gdmt_dose_optimization_pct`.
|
| 199 |
+
|
| 200 |
+
**Hospitalization (13 cols):** `hospitalization_count_3yr`,
|
| 201 |
+
`index_los_days`, `index_icu_flag`, `readmission_30d_flag`,
|
| 202 |
+
`readmission_90d_flag`, `readmission_180d_flag`, `readmission_cause`,
|
| 203 |
+
`iv_diuretic_flag`, `diuretic_response_ml_mg`,
|
| 204 |
+
`discharge_congestion_score`, `ed_visit_count_1yr`,
|
| 205 |
+
`days_to_readmission`, `hospitalization_risk_score`.
|
| 206 |
+
|
| 207 |
+
**Functional outcomes (15 cols):** `six_mwd_meters_baseline`,
|
| 208 |
+
`kccq_overall_score_baseline`, `vo2_max_ml_kg_min_baseline`,
|
| 209 |
+
`lvef_change_12m_pct`, `ef_response_flag`, `nyha_improvement_flag`,
|
| 210 |
+
`six_mwd_trend_12m_meters`, `kccq_change_12m`, `mace_flag_3yr`,
|
| 211 |
+
`mortality_flag_3yr`, `cv_death_flag_3yr`, `time_to_death_days`,
|
| 212 |
+
`borg_dyspnea_scale_baseline`, `patient_global_impression_12m`,
|
| 213 |
+
`cpet_reason`.
|
| 214 |
+
|
| 215 |
+
**Comorbidities & vitals (25 cols):** `atrial_fibrillation_flag`,
|
| 216 |
+
`af_type`, `diabetes_flag`, `diabetes_type`, `hypertension_flag`,
|
| 217 |
+
`cad_flag`, `prior_mi_flag`, `valvular_disease`, `sleep_apnea_flag`,
|
| 218 |
+
`copd_flag`, `anemia_flag`, `obesity_flag`, `depression_flag`,
|
| 219 |
+
`charlson_comorbidity_index`, `heart_rate_bpm_baseline`,
|
| 220 |
+
`systolic_bp_mmhg_baseline`, `diastolic_bp_mmhg_baseline`,
|
| 221 |
+
`pulse_pressure_mmhg_baseline`, `map_mmhg_baseline`,
|
| 222 |
+
`weight_kg_baseline`, `oxygen_saturation_pct_baseline`,
|
| 223 |
+
`jvp_cmh2o_baseline`, `peripheral_edema_grade_baseline`,
|
| 224 |
+
`rales_flag_baseline`.
|
| 225 |
+
|
| 226 |
+
### `visits` (2,400 rows × 11 cols)
|
| 227 |
+
`patient_id`, `visit_number` (1-12), `visit_date`,
|
| 228 |
+
`months_from_baseline` (0-33), `hf_phenotype`, `nyha_class_visit`,
|
| 229 |
+
`lvef_pct_visit`, `lvef_trend_visit`, `bnp_pg_ml_visit`,
|
| 230 |
+
`bnp_trend_pct_visit`, `weight_change_kg_visit`.
|
| 231 |
+
|
| 232 |
+
---
|
| 233 |
+
|
| 234 |
+
## Suggested use cases
|
| 235 |
+
|
| 236 |
+
- **HF phenotype classification ML** — train classifiers for
|
| 237 |
+
HFrEF / HFmrEF / HFpEF / Advanced from echo + biomarker features
|
| 238 |
+
- **30-day readmission prediction** — classifier on
|
| 239 |
+
`readmission_30d_flag` from demographics, biomarkers, GDMT status,
|
| 240 |
+
hospitalization risk features (CMS HRRP-relevant)
|
| 241 |
+
- **GDMT optimization ML** — predict which patients are eligible for
|
| 242 |
+
4-pillar therapy, which are likely to achieve target doses
|
| 243 |
+
- **Mortality / MACE risk stratification** — Cox models or survival
|
| 244 |
+
forests on `mortality_flag_3yr` + `time_to_death_days` with right-
|
| 245 |
+
censoring
|
| 246 |
+
- **EF response prediction** — regressor for `lvef_change_12m_pct` from
|
| 247 |
+
baseline echo + GDMT + biomarkers; identifies likely responders
|
| 248 |
+
- **Diastolic function classification** — train multi-class on
|
| 249 |
+
`diastolic_grade_baseline` (Grade 1/2/3/Indeterminate) from E/A, E/e',
|
| 250 |
+
LAVI features per ASE 2016
|
| 251 |
+
- **Cardiorenal risk modeling** — joint modeling of `egfr_ml_min_173m2`
|
| 252 |
+
trajectory and `bnp_pg_ml` trajectory across visits; useful for
|
| 253 |
+
cardiorenal syndrome detection
|
| 254 |
+
- **NLP-augmented EHR research** — table provides structured ground
|
| 255 |
+
truth for NLP extraction from clinical notes; pair with synthetic
|
| 256 |
+
clinical text generators
|
| 257 |
+
- **Clinical trial cohort simulation** — filter to specific eligibility
|
| 258 |
+
criteria (e.g., HFrEF + NYHA II-III + LVEF ≤35% + eGFR ≥30) and
|
| 259 |
+
benchmark expected event rates / power calculations
|
| 260 |
+
- **Treatment effect heterogeneity** — train uplift / CATE models for
|
| 261 |
+
SGLT2i, ARNI, MRA effects across phenotype subgroups
|
| 262 |
+
- **Longitudinal LVEF / BNP trajectory clustering** — unsupervised
|
| 263 |
+
clustering on visit-level trajectories to discover responder
|
| 264 |
+
phenotypes
|
| 265 |
+
- **NYHA class transitions** — Markov / state-space models on
|
| 266 |
+
`nyha_class_visit` transitions
|
| 267 |
+
- **Device therapy appropriateness ML** — train models that flag
|
| 268 |
+
potential under-utilization of ICD/CRT in eligible patients
|
| 269 |
+
- **Hospitalization cost / utilization modeling** — combine
|
| 270 |
+
`index_los_days`, `index_icu_flag`, `ed_visit_count_1yr`,
|
| 271 |
+
`hospitalization_count_3yr` for utilization predictive analytics
|
| 272 |
+
|
| 273 |
+
---
|
| 274 |
+
|
| 275 |
+
## Loading examples
|
| 276 |
+
|
| 277 |
+
```python
|
| 278 |
+
from datasets import load_dataset
|
| 279 |
+
|
| 280 |
+
baseline = load_dataset("xpertsystems/hccar001-sample", "baseline", split="train")
|
| 281 |
+
visits = load_dataset("xpertsystems/hccar001-sample", "visits", split="train")
|
| 282 |
+
print(baseline.shape, visits.shape)
|
| 283 |
+
```
|
| 284 |
+
|
| 285 |
+
```python
|
| 286 |
+
import pandas as pd
|
| 287 |
+
from huggingface_hub import hf_hub_download
|
| 288 |
+
|
| 289 |
+
baseline = pd.read_parquet(hf_hub_download(
|
| 290 |
+
"xpertsystems/hccar001-sample", "hccar001_baseline.parquet",
|
| 291 |
+
repo_type="dataset",
|
| 292 |
+
))
|
| 293 |
+
visits = pd.read_parquet(hf_hub_download(
|
| 294 |
+
"xpertsystems/hccar001-sample", "hccar001_visits.parquet",
|
| 295 |
+
repo_type="dataset",
|
| 296 |
+
))
|
| 297 |
+
|
| 298 |
+
# HF phenotype distribution (ACC/AHA 2022)
|
| 299 |
+
print(baseline["hf_phenotype"].value_counts(normalize=True).round(3))
|
| 300 |
+
```
|
| 301 |
+
|
| 302 |
+
```python
|
| 303 |
+
# GDMT 4-pillar prescribing in HFrEF
|
| 304 |
+
import pandas as pd
|
| 305 |
+
from huggingface_hub import hf_hub_download
|
| 306 |
+
|
| 307 |
+
baseline = pd.read_parquet(hf_hub_download(
|
| 308 |
+
"xpertsystems/hccar001-sample", "hccar001_baseline.parquet",
|
| 309 |
+
repo_type="dataset",
|
| 310 |
+
))
|
| 311 |
+
|
| 312 |
+
hfref = baseline[baseline["hf_phenotype"] == "HFrEF"]
|
| 313 |
+
gdmt_rates = hfref[[
|
| 314 |
+
"gdmt_acei_arb_arni", "gdmt_betablocker",
|
| 315 |
+
"gdmt_mra", "gdmt_sglt2i", "gdmt_4_pillar_flag"
|
| 316 |
+
]].mean().round(3) * 100
|
| 317 |
+
print("HFrEF GDMT prescribing rates (%):")
|
| 318 |
+
print(gdmt_rates)
|
| 319 |
+
```
|
| 320 |
+
|
| 321 |
+
```python
|
| 322 |
+
# Longitudinal LVEF trajectory by GDMT status
|
| 323 |
+
import pandas as pd
|
| 324 |
+
from huggingface_hub import hf_hub_download
|
| 325 |
+
|
| 326 |
+
baseline = pd.read_parquet(hf_hub_download(
|
| 327 |
+
"xpertsystems/hccar001-sample", "hccar001_baseline.parquet",
|
| 328 |
+
repo_type="dataset",
|
| 329 |
+
))
|
| 330 |
+
visits = pd.read_parquet(hf_hub_download(
|
| 331 |
+
"xpertsystems/hccar001-sample", "hccar001_visits.parquet",
|
| 332 |
+
repo_type="dataset",
|
| 333 |
+
))
|
| 334 |
+
|
| 335 |
+
joined = visits.merge(
|
| 336 |
+
baseline[["patient_id", "gdmt_4_pillar_flag", "gdmt_sglt2i"]],
|
| 337 |
+
on="patient_id"
|
| 338 |
+
)
|
| 339 |
+
joined["responder_group"] = joined["gdmt_4_pillar_flag"] | joined["gdmt_sglt2i"]
|
| 340 |
+
trajectory = (
|
| 341 |
+
joined.groupby(["responder_group", "visit_number"])
|
| 342 |
+
["lvef_pct_visit"].mean().unstack(level=0).round(2)
|
| 343 |
+
)
|
| 344 |
+
print(trajectory) # responder group LVEF trajectory recovers; control doesn't
|
| 345 |
+
```
|
| 346 |
+
|
| 347 |
+
```python
|
| 348 |
+
# 30-day readmission risk by HF phenotype
|
| 349 |
+
import pandas as pd
|
| 350 |
+
from huggingface_hub import hf_hub_download
|
| 351 |
+
|
| 352 |
+
baseline = pd.read_parquet(hf_hub_download(
|
| 353 |
+
"xpertsystems/hccar001-sample", "hccar001_baseline.parquet",
|
| 354 |
+
repo_type="dataset",
|
| 355 |
+
))
|
| 356 |
+
|
| 357 |
+
risk = baseline.groupby("hf_phenotype").agg(
|
| 358 |
+
n=("patient_id", "count"),
|
| 359 |
+
readmit_30d_pct=("readmission_30d_flag", lambda x: x.mean() * 100),
|
| 360 |
+
readmit_90d_pct=("readmission_90d_flag", lambda x: x.mean() * 100),
|
| 361 |
+
mean_nyha=("nyha_class_baseline", "mean"),
|
| 362 |
+
mean_bnp=("bnp_pg_ml_baseline", "mean"),
|
| 363 |
+
).round(2)
|
| 364 |
+
print(risk)
|
| 365 |
+
```
|
| 366 |
+
|
| 367 |
+
---
|
| 368 |
+
|
| 369 |
+
## Limitations and honest disclosures
|
| 370 |
+
|
| 371 |
+
This sample is calibrated for **structural fidelity, not bit-exact reproduction
|
| 372 |
+
of any specific HF registry or institutional cohort.** Specifically:
|
| 373 |
+
|
| 374 |
+
- **30-day readmission rate observed ~30-35%** vs CMS HRRP national
|
| 375 |
+
benchmark 22-25%. The generator's `p_30d = 0.23 × (1 + risk × 0.8)`
|
| 376 |
+
risk-multiplier amplifies above the base rate. Use the TEMPORAL
|
| 377 |
+
ORDERING (30d ≤ 90d ≤ 180d) as the structural validation, not the
|
| 378 |
+
absolute rate. **For absolute-rate calibration, scale to the full
|
| 379 |
+
product or re-fit the risk multiplier.**
|
| 380 |
+
- **3-year mortality observed ~10%** vs real-world HFrEF literature
|
| 381 |
+
25-35% (PARADIGM-HF, EMPEROR-Reduced, DAPA-HF placebo arms). The
|
| 382 |
+
generator computes `mort_p = mace_p × 0.45` with `mace_p` clipped
|
| 383 |
+
to [0.03, 0.65], producing a mort_p ceiling of ~0.29. **The
|
| 384 |
+
generator under-predicts mortality for advanced HF.**
|
| 385 |
+
- **`bsa_m2` has a dead-code bug in the generator** (line 120 computes
|
| 386 |
+
BSA via Mosteller formula, line 121 immediately overwrites with
|
| 387 |
+
`N(1.9, 0.25)`). The overwritten N(1.9, 0.25) is what's in the
|
| 388 |
+
output. Don't use `bsa` for BMI/height back-calculation.
|
| 389 |
+
- **LBBB is not modeled** for CRT eligibility — CARE-HF / COMPANION
|
| 390 |
+
criteria include LVEF ≤35% + NYHA III-IV ambulatory + LBBB. Our
|
| 391 |
+
validation covers the first two (LVEF + NYHA); LBBB status is
|
| 392 |
+
absent. Add this if you need full CRT-D appropriateness classification.
|
| 393 |
+
- **Visit-level LVEF can drift OUT of baseline phenotype band** over
|
| 394 |
+
12 quarterly visits as patients respond to GDMT — this is realistic
|
| 395 |
+
clinical behavior (recovered EF). Our validation checks BASELINE LVEF
|
| 396 |
+
in phenotype band, not visit-level. Don't filter visits by
|
| 397 |
+
`lvef_pct_visit` matching baseline phenotype band — you'll lose
|
| 398 |
+
GDMT responders.
|
| 399 |
+
- **`site_id` is randomly chosen from 30 generated UUIDs** —
|
| 400 |
+
patients within a site share no clustering structure (no
|
| 401 |
+
hierarchical / random-effects), no provider effects, no
|
| 402 |
+
geographic correlations. Treat as a nominal site label, not a
|
| 403 |
+
hierarchical clustering variable.
|
| 404 |
+
- **HFpEF treatment effect modeling is simplified.** GDMT
|
| 405 |
+
prescribing rates from PINNACLE are anchored to outpatient
|
| 406 |
+
HFrEF cohorts; HFpEF GDMT rates (`acei_arb_arni: 0.55,
|
| 407 |
+
betablocker: 0.60, mra: 0.25, sglt2i: 0.45`) are reasonable
|
| 408 |
+
but the EF response to SGLT2i in HFpEF is muted (EMPEROR-
|
| 409 |
+
Preserved-style effects, not EMPEROR-Reduced). Our generator
|
| 410 |
+
applies a uniform `+1.5 ± 1` EF delta for SGLT2i regardless
|
| 411 |
+
of phenotype.
|
| 412 |
+
- **Race / ethnicity distribution** (`60% Non-Hispanic White, 20%
|
| 413 |
+
Black/AA, 12% Hispanic, 5% Asian/Pacific Islander, 3% Other`)
|
| 414 |
+
matches general US prevalence but Black/AA HF prevalence is
|
| 415 |
+
~2x higher than this in real registries. Adjust sampling if
|
| 416 |
+
modeling race-specific GDMT response (e.g., V-HeFT for
|
| 417 |
+
hydralazine-nitrate).
|
| 418 |
+
- **Hydralazine-nitrate flag fires at 20% of Black/AA patients**
|
| 419 |
+
(line 389); the generator has no separate eligibility model
|
| 420 |
+
(ISDN should be ACEi-intolerant or sub-target dose). Treat
|
| 421 |
+
as an inclusive eligibility signal.
|
| 422 |
+
- **Comorbidities are sampled independently** (lines 621-639) —
|
| 423 |
+
no realistic co-occurrence structure beyond per-phenotype
|
| 424 |
+
base rates. Real diabetes + obesity + sleep apnea + CKD
|
| 425 |
+
exhibit strong co-occurrence (cardiometabolic phenotype);
|
| 426 |
+
this generator treats them as independent.
|
| 427 |
+
- **`scipy.stats`, `faker`, `tqdm` are mentioned in the generator's
|
| 428 |
+
docstring** but not used in active code. No external dependencies
|
| 429 |
+
beyond NumPy + Pandas.
|
| 430 |
+
- **NYHA class distribution by phenotype** matches the design dict
|
| 431 |
+
(HFrEF [0.10, 0.35, 0.40, 0.15]) within ~5% sampling noise at
|
| 432 |
+
n=200. For tight matching, use the full product (10K patients).
|
| 433 |
+
- **Visit count is fixed at 12 quarterly visits** — no realistic
|
| 434 |
+
censoring (loss to follow-up, death before visit, etc). All
|
| 435 |
+
patients have all 12 visits regardless of `mortality_flag_3yr`
|
| 436 |
+
or `time_to_death_days`. For survival ML, use baseline TTE
|
| 437 |
+
variables and don't naively use visit count as risk signal.
|
| 438 |
+
|
| 439 |
+
The full HCCAR001 product addresses these by calibrated mortality and
|
| 440 |
+
readmission rates against real-world HFrEF/HFpEF registries, hierarchical
|
| 441 |
+
site / provider structure, dependent comorbidity sampling, full LBBB +
|
| 442 |
+
QRS duration + bundle-branch block modeling for CRT eligibility, race-
|
| 443 |
+
specific GDMT response heterogeneity, realistic censoring of visit
|
| 444 |
+
records by death/LTFU, and pre-built scenario configs (HFrEF clinical
|
| 445 |
+
trial simulation, HFpEF treatment-effect heterogeneity, cardiometabolic
|
| 446 |
+
phenotype). Contact us for the licensed commercial release.
|
| 447 |
+
|
| 448 |
+
---
|
| 449 |
+
|
| 450 |
+
## Companion datasets
|
| 451 |
+
|
| 452 |
+
This is the first SKU in our **Healthcare / Cardiology** vertical. Related
|
| 453 |
+
datasets from elsewhere in the catalog:
|
| 454 |
+
|
| 455 |
+
- [**Healthcare / Neurology**](https://huggingface.co/xpertsystems) (10 SKUs)
|
| 456 |
+
— synthetic neurological patient datasets covering stroke, MS, epilepsy,
|
| 457 |
+
Parkinson's, ALS, traumatic brain injury, dementia spectrum
|
| 458 |
+
- [**Insurance & Risk**](https://huggingface.co/xpertsystems) (10 SKUs) —
|
| 459 |
+
health insurance claims, prior authorization, risk adjustment, MLR
|
| 460 |
+
modeling
|
| 461 |
+
- [**Energy & Climate**](https://huggingface.co/xpertsystems) (8 SKUs) —
|
| 462 |
+
power grid, renewables, demand, O&G, smart grid, energy trading, climate
|
| 463 |
+
impact, consumer electricity
|
| 464 |
+
- [**Manufacturing**](https://huggingface.co/xpertsystems) (10 SKUs) —
|
| 465 |
+
reliability, quality, operations, supply chain, IIoT
|
| 466 |
+
- [**Oil & Gas**](https://huggingface.co/xpertsystems) (17 SKUs) — upstream,
|
| 467 |
+
midstream, downstream, geological / seismic, reservoir simulation
|
| 468 |
+
|
| 469 |
+
For the broader catalog, see https://huggingface.co/xpertsystems
|
| 470 |
+
|
| 471 |
+
---
|
| 472 |
+
|
| 473 |
+
## Citation
|
| 474 |
+
|
| 475 |
+
```bibtex
|
| 476 |
+
@dataset{xpertsystems_hccar001_sample_2026,
|
| 477 |
+
author = {XpertSystems.ai},
|
| 478 |
+
title = {HCCAR001 Synthetic Heart Failure Dataset (Sample Preview)},
|
| 479 |
+
year = 2026,
|
| 480 |
+
publisher = {Hugging Face},
|
| 481 |
+
url = {https://huggingface.co/datasets/xpertsystems/hccar001-sample}
|
| 482 |
+
}
|
| 483 |
+
```
|
| 484 |
+
|
| 485 |
+
---
|
| 486 |
+
|
| 487 |
+
## Contact
|
| 488 |
+
|
| 489 |
+
- **Web:** https://xpertsystems.ai
|
| 490 |
+
- **Email:** pradeep@xpertsystems.ai
|
| 491 |
+
- **Full product catalog:** Cardiology, Neurology, Insurance & Risk, Energy
|
| 492 |
+
& Climate, Manufacturing, Oil & Gas, Cybersecurity, and more
|
| 493 |
+
|
| 494 |
+
**Sample License:** CC-BY-NC-4.0 (Creative Commons Attribution-NonCommercial 4.0)
|
| 495 |
+
**Full product License:** Commercial — please contact for pricing.
|
| 496 |
+
|
| 497 |
+
**Important medical disclaimer:** This dataset contains SYNTHETIC patient
|
| 498 |
+
records only. No data was derived from any real patient, EHR archive, or
|
| 499 |
+
clinical registry. The dataset is intended for ML model development,
|
| 500 |
+
benchmarking, and education — NOT for clinical decision support, patient
|
| 501 |
+
counseling, or medical research conclusions. All clinical thresholds
|
| 502 |
+
(GDMT eligibility, ICD/CRT criteria, biomarker ranges) are sourced from
|
| 503 |
+
published guidelines; users are responsible for verifying against current
|
| 504 |
+
ACC/AHA/HFSA guidelines for clinical applications.
|
hccar001_baseline.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hccar001_baseline.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ac8aa1d14a010718702c49e8901e7cd85b040e9d619ed922c045ff441ae4cbd
|
| 3 |
+
size 132319
|
hccar001_visits.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hccar001_visits.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfdc31afbca29237b7d0713e97d3fc4cc4278a19f72d4dba72ec6eb71c8761d0
|
| 3 |
+
size 54848
|