Dataset Viewer
Auto-converted to Parquet Duplicate
patient_id
int64
age_years
float64
age_group
string
sex
string
race_ethnicity
string
insurance_type
string
geographic_region
string
nursing_home_resident_flag
int64
prior_hospitalization_90d_flag
int64
pneumonia_type
string
etiology_category
string
causative_organism
string
mrsa_flag
int64
drug_resistant_flag
int64
icd10_primary_code
string
snomed_code
int64
chest_xray_finding
string
procalcitonin_ng_ml
float64
crp_mg_l
float64
wbc_x10_9_l
float64
blood_culture_result
string
urine_antigen_test
string
time_to_antibiotics_hrs
float64
temperature_celsius
float64
heart_rate_bpm
int64
respiratory_rate_per_min
int64
sbp_mmhg
int64
dbp_mmhg
int64
map_mmhg
float64
spo2_pct
int64
gcs_total
int64
height_cm
float64
weight_kg
float64
bmi_kg_m2
float64
fever_flag
int64
hypotension_flag
int64
hypoxemia_flag
int64
tachypnea_flag
int64
hemoglobin_g_dl
float64
platelet_x10_9
int64
neutrophil_pct
float64
lymphocyte_pct
float64
neutrophil_lymphocyte_ratio
float64
sodium_meq_l
float64
bun_mg_dl
float64
urea_mmol_l
float64
creatinine_mg_dl
float64
glucose_mg_dl
int64
albumin_g_dl
float64
lactate_mmol_l
float64
d_dimer_ng_ml
int64
ferritin_ng_ml
int64
il6_pg_ml
float64
troponin_i_ng_ml
float64
aki_flag
int64
thrombocytopenia_flag
int64
hyponatremia_flag
int64
hyperglycemia_flag
int64
abg_ph
float64
abg_pao2_mmhg
int64
abg_paco2_mmhg
float64
abg_hco3_meq_l
float64
abg_sao2_pct
float64
abg_lactate_mmol_l
float64
fio2_decimal
float64
respiratory_acidosis_flag
int64
metabolic_acidosis_flag
int64
curb65_score
int64
curb65_confusion_flag
int64
curb65_urea_flag
int64
curb65_rr_flag
int64
curb65_sbp_flag
int64
curb65_age_flag
int64
psi_score
int64
psi_risk_class
string
smart_cop_score
int64
sofa_score
int64
sofa_respiratory
int64
sofa_coagulation
int64
sofa_liver
int64
sofa_cardiovascular
int64
sofa_renal
int64
sofa_cns
int64
apache_ii_score
int64
news2_score
int64
pf_ratio
int64
ards_berlin_category
string
sepsis_flag
int64
septic_shock_flag
int64
ats_major_criteria_flag
int64
severity_final
string
oxygen_delivery_device
string
intubation_flag
int64
intubation_timing_hours
float64
ventilator_days
float64
tidal_volume_ml_kg_ibw
float64
peep_cmh2o
float64
driving_pressure_cmh2o
float64
plateau_pressure_cmh2o
float64
prone_positioning_flag
int64
ecmo_flag
int64
niv_flag
int64
hfnc_flag
int64
sbt_flag
int64
extubation_success_flag
int64
reintubation_flag
int64
empiric_regimen
string
antibiotic_1_name
string
antibiotic_1_dose_mg
int64
antibiotic_1_frequency
string
antibiotic_1_route
string
antibiotic_1_duration_days
int64
antibiotic_2_flag
int64
antibiotic_2_name
string
antibiotic_escalation_flag
int64
antibiotic_de_escalation_flag
int64
antibiotic_oral_switch_flag
int64
corticosteroid_flag
int64
corticosteroid_indication
string
dexamethasone_dose_mg
float64
antiviral_flag
int64
antifungal_flag
int64
vasopressor_flag
int64
c_diff_flag
int64
procalcitonin_serial_flag
int64
procalcitonin_nadir_ng_ml
float64
copd_flag
int64
heart_failure_flag
int64
diabetes_flag
int64
ckd_flag
int64
cad_flag
int64
immunosuppression_flag
int64
hiv_flag
int64
malignancy_flag
int64
smoking_status
string
alcohol_use_flag
int64
clinical_frailty_score
int64
influenza_vaccine
string
pneumococcal_vaccine
string
aspiration_risk_flag
int64
icu_admission_flag
int64
icu_los_days
float64
hospital_los_days
float64
inpatient_mortality_flag
int64
time_to_death_days
float64
mortality_30d_flag
int64
mortality_90d_flag
int64
pleural_effusion_flag
int64
empyema_flag
int64
aki_hospital_flag
int64
new_onset_afib_flag
int64
secondary_bacteremia_flag
int64
discharge_disposition
string
readmission_30d_flag
int64
readmission_90d_flag
int64
time_to_clinical_stability_days
float64
total_hospital_cost_usd
int64
1
42
Adult
Male
White
Private
Suburban
0
1
CAP
Atypical
C_pneumoniae
0
0
J18.9
233,604,007
Lobar_Consolidation
0.188
69.1
6.7
Negative
Pneumococcal_pos
0.5
37.7
70
38
79
70
73
89
11
158
89.2
35.7
0
1
1
1
12.5
155
84.2
20.2
4.2
132.2
28
10
2.28
162
3.1
3.6
375
731
41.6
0.094
1
0
1
0
7.34
122
29.1
20.3
86.4
3.3
0.66
0
1
4
1
1
1
1
0
56
II
6
7
1
1
0
2
1
2
21
8
184
Moderate
0
0
0
Critical
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
5
1
Azithromycin
0
1
1
0
null
0
0
0
0
0
1
0.047
0
1
0
0
0
1
0
0
Never
0
2
Current
Both
0
0
0
3.9
1
3.4
1
1
0
0
0
0
0
Died
0
0
2.1
43,154
2
68.4
Elderly
Female
White
Medicare
Urban
1
0
HAP
Bacterial
K_pneumoniae_MDR
0
0
J18.9
64,667,001
Multilobar
8.451
12.2
13.8
Positive
Pneumococcal_pos
0.4
37.7
123
41
104
60
74.7
80
13
163.5
60.6
22.7
0
0
1
1
12.6
137
86.2
12.2
7.1
133.9
21.7
7.8
1.85
203
2.9
3.5
608
3,431
23.8
1.515
1
0
1
1
7.41
100
36.5
26.6
90.9
0.5
0.49
0
0
4
1
1
1
0
1
103
IV
4
5
2
1
1
0
0
1
8
6
203
Mild
0
0
0
Critical
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
9
0
null
1
0
1
0
null
0
0
0
0
0
0
2.466
1
0
0
0
0
0
0
1
Current
0
4
Prior_Year
Neither
0
0
0
3.9
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
1
0
3.7
5,000
3
76
Elderly
Female
White
Private
Suburban
0
0
HAP
Bacterial
S_aureus_MSSA
0
0
J15.21
64,667,001
Patchy_Infiltrate
10.343
235.8
19.7
Negative
Negative
5.6
41.5
99
18
111
55
73.7
94
11
177
83
26.5
1
0
0
0
6.3
222
94
13.2
7.1
132.1
52.3
18.7
1.68
206
1.8
3.2
189
7,782
32.6
0.15
1
0
1
1
7.27
40
30.5
22.1
88.6
6.1
0.52
0
0
3
1
1
0
0
1
121
IV
3
7
3
1
0
1
0
2
17
7
50
Severe
1
1
1
Critical
IMV_ECMO
1
4.3
19.8
5.5
5.2
17.8
17.8
0
1
0
0
1
1
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
6
0
null
0
0
1
0
null
0
0
0
0
0
0
2.895
0
0
1
0
1
0
0
0
Never
0
7
Current
Neither
0
1
7.1
7.3
0
null
0
0
1
1
0
0
0
LTAC_or_SNF
0
0
2.1
60,662
4
70.6
Elderly
Female
Hispanic
Uninsured
Urban
0
0
HAP
Bacterial
E_coli
0
1
J18.9
64,667,001
Lobar_Consolidation
3.773
48.8
16.4
Negative
Negative
1.6
40.5
160
15
90
73
78.7
88
11
167.6
99.5
35.4
1
0
1
0
17.7
217
74.7
13.3
5.6
138.2
15.5
5.5
1.67
141
3.1
3.4
989
118
5.2
0.822
1
0
0
0
7.32
137
37.7
16
88.5
3.7
0.67
0
1
2
1
0
0
0
1
95
IV
5
5
1
2
0
0
0
2
18
5
203
Mild
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
7
1
Azithromycin
0
0
1
0
null
0
0
0
0
0
0
1.244
0
0
0
0
0
0
0
0
Never
0
5
Current
PCV13_only
0
0
0
6.2
0
null
0
0
1
0
1
0
0
Home_with_Services
1
1
1.4
17,416
5
3.5
Pediatric
Male
White
Medicare
Urban
0
0
CAP
Fungal
P_jirovecii
0
0
J18.9
233,604,007
Patchy_Infiltrate
0.169
46.2
15
Negative
Pneumococcal_pos
9.5
40.5
97
27
139
49
79
91
9
178.9
54.2
16.9
1
0
1
1
13.5
192
75.4
15.6
4.8
136.2
28
10
2.61
129
2.4
1.5
4,581
73
355.7
0.314
1
0
0
0
7.52
41
29.3
16.6
89.4
0.5
0.83
0
0
2
1
1
0
0
0
40
I
4
10
4
0
0
2
1
3
30
4
50
Severe
1
0
1
Critical
IMV
1
16.5
14.2
6.5
10.6
20.8
16.6
1
0
0
0
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
10
1
Azithromycin
0
0
1
1
COVID_O2_Requiring
10.3
0
1
1
0
1
0.018
0
0
1
0
0
0
0
0
Current
1
2
Current
Neither
0
1
1.7
1.9
1
0.6
1
1
0
0
0
0
0
Died
0
0
1.6
28,288
6
43.9
Adult
Male
Asian
Uninsured
Urban
1
0
HAP
Bacterial
S_aureus_MRSA
1
0
J15.212
64,667,001
Lobar_Consolidation
10.071
144
7
Contaminated
Negative
4.8
38.4
143
28
123
79
93.7
92
13
151.4
81.4
35.5
1
0
0
1
11.2
247
88.5
7.4
11.9
140.9
30.5
10.9
1.88
60
2.8
2.6
159
693
16.2
1.536
1
0
0
0
7.36
132
38.2
15.6
95
2
0.55
0
0
2
1
1
0
0
0
12
I
4
5
2
1
0
0
1
1
14
5
241
Mild
1
0
0
Moderate
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
13
1
Azithromycin
1
0
1
1
COVID_O2_Requiring
6
0
0
0
0
0
1.081
1
0
0
0
0
0
0
0
Never
0
1
Current
PCV13_only
0
0
0
1.5
0
null
0
0
0
0
1
0
0
Home_with_Services
0
0
3.1
22,491
7
70
Elderly
Male
White
Uninsured
Rural
0
0
HAP
Bacterial
S_aureus_MRSA
1
0
J15.212
64,667,001
Patchy_Infiltrate
2.275
331.9
14.4
Negative
Negative
0.6
39.4
126
28
70
71
70.7
90
13
164.6
109.5
40.4
1
1
1
1
9.5
125
78.8
15.2
5.2
142.5
32.3
11.5
2.22
157
3.3
2.5
1,046
882
14.7
0.101
1
0
0
0
7.41
174
41
25.7
86.5
4.5
0.61
0
0
4
1
1
0
1
1
114
IV
8
2
0
0
0
1
0
1
24
6
285
Mild
1
1
1
Critical
IMV
1
19.4
13.3
6
4.6
18.7
20.2
0
0
0
0
1
1
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
9
0
Vancomycin
0
0
0
0
null
0
0
0
1
0
1
0.289
0
1
0
0
1
1
0
0
Former
0
5
Current
Neither
0
1
2.1
2.3
0
null
0
0
0
0
0
1
0
LTAC_or_SNF
0
0
1
38,610
8
60.5
Adult
Male
Hispanic
Medicaid
Suburban
0
0
CAP
Viral
Influenza_A
0
0
J09.X1
233,604,007
Multilobar
0.072
202.6
15.1
Negative
Negative
0.5
38.2
84
27
80
66
70.7
91
11
146.7
52
24.1
0
1
1
1
13.8
122
75.6
11
6.9
139.4
17.5
6.2
1.51
110
2.7
3.8
1,163
60
42.4
0.05
1
0
0
0
7.48
136
38.1
28.4
89.9
4.8
0.47
0
0
2
1
0
0
1
0
103
IV
6
4
0
0
0
2
0
2
17
4
291
Mild
1
0
0
Moderate
Room_Air
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
1
Azithromycin
0
1
1
0
null
0
1
0
0
0
0
0.028
0
0
0
1
0
0
0
0
Current
0
1
Current
Neither
0
0
0
3
0
null
0
0
1
0
0
0
0
Home_with_Services
1
0
6.8
17,837
9
6
Pediatric
Male
Hispanic
Private
Urban
0
0
CAP
Viral
Influenza_A
0
0
J09.X1
233,604,007
Patchy_Infiltrate
0.274
26.2
10.3
Negative
Negative
4.7
38
112
25
88
67
74
91
13
163.3
105.4
39.5
0
1
1
1
12.4
147
94.2
9.4
10.1
137.5
9.6
3.4
3.24
179
2.6
4
424
471
42.6
0.567
1
0
0
0
7.31
91
36.3
26.1
88.6
2.4
0.5
0
0
2
1
0
0
1
0
50
I
6
8
2
2
0
2
1
1
17
6
183
Moderate
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
0
null
0
0
1
0
null
0
1
0
0
0
0
0.048
0
0
1
0
0
0
0
0
Current
0
1
Never
Neither
0
0
0
8.1
0
null
0
0
0
0
1
0
0
Home_with_Services
0
0
2.6
13,150
10
78.1
Elderly
Male
White
Private
Suburban
1
0
HAP
Fungal
Candida_spp
0
1
J18.9
64,667,001
Patchy_Infiltrate
0.449
75
17.6
Negative
Negative
5.2
38.4
117
20
140
56
84
87
13
156.5
115.6
47.2
1
0
1
0
12
156
66.5
20.6
3.2
139.6
18.5
6.6
2.29
140
3.3
3.3
2,161
903
11.2
0.037
1
0
0
0
7.4
153
41.3
22.1
96.4
0.5
0.43
0
0
2
1
0
0
0
1
107
IV
5
6
0
1
0
2
2
1
25
5
355
null
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
11
1
Azithromycin
0
1
0
1
CAP_Severe
6
0
1
0
0
1
0.072
0
0
0
0
0
0
0
0
Current
0
2
Prior_Year
Both
0
0
0
7.2
0
null
0
0
0
0
1
0
0
Home_with_Services
1
0
3.9
11,869
11
87.2
Elderly
Male
Hispanic
Private
Urban
1
0
CAP
Viral
Influenza_A
0
0
J09.X1
233,604,007
Lobar_Consolidation
0.038
23.1
18.8
Negative
Pneumococcal_pos
4.4
40.1
99
21
127
79
95
86
10
182.1
75.1
22.7
1
0
1
0
12.7
54
95
9.3
10.2
138.5
15.3
5.5
2.41
145
3.7
4.9
252
58
9.5
0.163
1
1
0
0
7.51
59
46.4
16.9
92.5
4.5
0.43
0
0
2
1
0
0
0
1
118
IV
5
8
2
1
1
1
1
2
17
4
137
Moderate
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
9
0
null
0
0
1
1
COVID_O2_Requiring
20
1
0
0
0
1
0.01
1
0
0
0
0
0
0
0
Current
0
8
Never
Neither
0
0
0
1.2
0
null
0
0
0
0
0
0
0
Home_with_Services
0
1
3.8
24,319
12
91.9
Elderly
Female
White
Medicaid
Urban
0
0
HAP
Bacterial
S_aureus_MSSA
0
0
J15.21
64,667,001
Patchy_Infiltrate
12.645
191
12.2
Negative
Negative
4.2
39.8
121
24
138
71
93.3
89
11
172.5
72.5
24.3
1
0
1
1
11.3
151
74.9
19.6
3.8
136.3
49.5
17.7
1.06
191
2.9
2.2
449
96
27
1.109
0
0
0
1
7.4
85
34.4
17.9
92.6
3.4
0.63
0
0
3
1
1
0
0
1
108
IV
5
4
1
0
1
0
0
2
17
5
136
Moderate
0
0
0
Severe
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
9
1
Azithromycin
0
0
0
0
null
0
0
0
1
0
0
2.763
0
0
0
0
0
0
0
0
Never
0
2
Current
Both
0
0
0
2.7
0
null
0
0
1
0
1
0
0
SNF_or_Rehab
0
1
2.7
28,989
13
84.7
Elderly
Female
Hispanic
Medicare
Urban
0
0
CAP
Atypical
M_pneumoniae
0
0
J15.7
233,604,007
Lobar_Consolidation
0.042
66.1
18
Positive
Negative
8.5
38
117
28
112
74
86.7
88
11
179.2
102.7
32
0
0
1
1
12.6
276
88.8
15.9
5.6
136.5
53.8
19.2
1.59
169
4
1.4
127
139
141.5
0.016
1
0
0
0
7.53
85
39
18.7
99
0.5
0.46
0
0
3
1
1
0
0
1
118
IV
6
7
0
0
2
1
2
2
16
6
184
Moderate
1
0
0
Severe
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
9
0
null
0
0
1
1
COVID_O2_Requiring
12
0
0
0
0
1
0.015
0
0
0
0
0
0
0
0
Former
0
2
Never
Neither
0
0
0
2.2
0
null
0
0
0
0
0
0
0
SNF_or_Rehab
0
0
2
5,000
14
63.4
Adult
Male
White
Uninsured
Rural
0
1
CAP
Bacterial
H_influenzae
0
0
J14
233,604,007
Lobar_Consolidation
66.333
122.8
14.4
Negative
Pneumococcal_pos
7.5
38.8
117
23
104
75
84.7
95
12
163.3
75.9
28.5
1
0
0
1
13
244
80.1
4.1
19.3
131.9
29.3
10.5
1.67
155
2.5
2.3
630
323
59.9
0.294
1
0
1
0
7.33
221
43.9
21.8
100
3.3
0.69
0
1
2
1
1
0
0
0
78
III
1
6
0
1
0
0
3
2
13
2
320
null
0
0
0
Moderate
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
4
0
null
0
0
1
0
null
0
0
0
0
0
0
18.969
0
0
0
0
0
0
0
0
Never
0
1
Prior_Year
Both
0
0
0
2.4
0
null
0
0
1
0
1
0
0
Home_with_Services
0
0
1.8
13,808
15
70.3
Elderly
Male
Black
Private
Suburban
0
0
CAP
Viral
Influenza_A
0
0
J09.X1
233,604,007
Interstitial
0.07
62
20.2
Positive
Negative
2.2
39.6
103
22
88
62
70.7
92
13
156.8
28.2
11.5
1
1
0
1
12.4
233
83.1
23.2
3.6
139.9
10.5
3.8
2.01
222
2.5
0.5
443
1,079
19.7
0.634
1
0
0
1
7.49
53
39.7
28.1
95
3.1
0.47
0
0
3
1
0
0
1
1
92
IV
7
5
3
0
0
1
0
1
21
5
113
Moderate
0
0
0
Severe
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
9
0
null
0
1
0
1
COVID_O2_Requiring
9.2
1
0
0
0
1
0.01
0
0
0
0
0
0
0
0
Former
0
2
Never
PCV13_only
0
0
0
2.1
1
1.7
1
1
1
0
1
0
0
Died
0
0
6.5
21,749
16
76.5
Elderly
Female
Other
Medicaid
Suburban
0
0
HAP
Unknown
Unknown
0
1
J18.9
64,667,001
Patchy_Infiltrate
0.934
72.3
26
Negative
Negative
5
38.8
90
31
109
48
68.3
85
14
156.4
77.8
31.8
1
0
1
1
11.7
183
79.9
14.2
5.6
135
43
15.4
2.95
198
2.2
1.2
1,629
351
192.7
0.247
1
0
0
1
7.35
149
21.5
26.7
91.4
3
0.56
0
0
4
1
1
1
0
1
102
IV
6
4
0
1
1
1
0
1
14
6
265
Mild
0
0
0
Critical
IMV
1
9.6
7.2
7.6
6.4
15.6
20
0
0
0
0
1
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
5
1
Azithromycin
0
0
1
1
CAP_Severe
10.7
0
0
0
0
0
0.32
0
1
0
0
0
0
0
0
Former
0
4
Current
Neither
0
0
0
1.4
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
0
1
1
14,700
17
66.8
Elderly
Female
White
Medicare
Urban
0
0
HAP
Bacterial
K_pneumoniae_MDR
0
0
J18.9
64,667,001
Patchy_Infiltrate
20.709
240.9
9.2
Contaminated
Negative
2.8
39.1
103
24
106
81
89.3
89
10
170.9
90.3
30.9
1
0
1
1
14.4
294
89.3
17
5.3
142.1
16.7
6
2.01
140
2.3
3.5
225
442
25.3
0.053
1
0
0
0
7.36
43
31
20.3
87.2
1.3
0.66
0
0
2
1
0
0
0
1
74
III
3
8
3
1
1
0
1
2
30
5
65
Severe
1
0
1
Critical
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
9
0
null
0
0
0
1
ARDS
6
0
0
0
0
1
7.889
0
0
0
0
0
0
0
0
Never
1
6
Never
PCV13_only
0
1
4.6
7.2
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
0
0
5.3
13,205
18
0
Pediatric
Female
Hispanic
Medicare
Urban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Lobar_Consolidation
4.049
44.5
17.6
Negative
Negative
0.5
39.1
102
27
111
80
90.3
93
13
187.9
96.3
27.3
1
0
0
1
8.9
133
75.7
22.5
3.4
140.9
17.2
6.1
0.94
133
3.5
0.5
146
8,921
22.9
0.081
0
0
0
0
7.44
47
41.3
14.3
95.7
0.9
0.42
0
0
1
1
0
0
0
0
25
I
2
5
3
0
1
0
0
1
12
5
111
Moderate
0
0
0
Mild
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Mild_Outpatient
Amoxicillin
1,000
q8h
PO
6
0
null
1
0
0
0
null
0
0
0
0
0
0
1.213
0
0
0
0
0
0
0
0
Current
0
2
Current
PPSV23_only
1
0
0
1.6
0
null
0
0
1
1
0
0
0
Home
0
1
5.5
8,010
19
77.4
Elderly
Male
Black
Private
Suburban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Interstitial
18.172
185.3
20.8
Positive
Negative
8.7
39.2
68
19
141
64
89.7
91
12
172.5
60.6
20.4
1
0
1
0
10.3
132
74.3
24.5
3
134.2
18.8
6.7
1.3
184
2.8
0.6
705
85
22.4
0.05
0
0
1
1
7.38
104
33.6
18.1
93.2
1.7
0.45
0
0
2
1
0
0
0
1
115
IV
5
4
1
0
0
0
1
2
8
5
233
Mild
1
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
10
0
null
0
0
1
0
null
0
0
0
0
0
1
4.684
0
1
1
0
1
0
0
0
Never
0
6
Current
PCV13_only
0
0
0
3
0
null
0
0
0
0
1
0
0
Home_with_Services
0
0
1.8
26,259
20
64.1
Adult
Female
White
Private
Urban
0
0
CAP
Bacterial
K_pneumoniae
0
0
J15.0
233,604,007
Lobar_Consolidation
3.993
118.5
9.4
Negative
Negative
0.5
39.1
105
17
110
76
87.3
92
11
163.9
74.1
27.6
1
0
0
0
11.9
279
95
16.8
5.7
141.8
20.1
7.2
1.92
160
2.5
2
2,137
133
42.2
0.146
1
0
0
0
7.39
144
44.7
27.5
96.6
2.7
0.46
0
0
2
1
1
0
0
0
68
II
3
3
0
0
0
0
1
2
11
4
309
null
1
0
0
Moderate
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
1
Azithromycin
0
0
1
1
COVID_O2_Requiring
7.3
0
0
0
0
0
1.138
1
0
0
0
0
0
0
0
Former
1
2
Current
PPSV23_only
0
0
0
1.5
0
null
0
0
1
0
1
0
0
Home_with_Services
0
1
2.3
10,822
21
54.1
Adult
Male
Black
Private
Rural
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Patchy_Infiltrate
0.695
151.3
11.3
Negative
Pneumococcal_pos
5.8
38.3
100
24
137
86
103
91
13
165.9
101.5
36.9
0
0
1
1
10.5
203
80.1
19.4
4.1
126.6
21.4
7.7
1.93
107
3.5
1.5
821
952
8.4
0.093
1
0
1
0
7.42
58
47.3
23.8
91.7
3.3
0.63
0
0
2
1
1
0
0
0
68
II
3
5
2
0
1
0
1
1
30
3
93
Severe
1
0
1
Critical
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
5
0
null
1
0
1
0
null
0
0
0
0
0
0
0.214
1
0
1
1
0
0
0
0
Never
0
1
Current
Neither
0
0
0
4
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
0
0
4.1
6,649
22
58.8
Adult
Male
Black
Medicare
Suburban
0
1
HCAP
Bacterial
K_pneumoniae
0
0
J15.0
422,400,008
Interstitial
27.217
201.3
11.2
Positive
Negative
0.5
38.4
78
25
84
85
84.7
86
13
167.7
78.7
28
1
1
1
1
11.1
154
73.1
17.9
4.1
144.5
10.1
3.6
1.66
188
3.7
3.5
3,593
1,532
3
0.071
1
0
0
1
7.28
56
32.6
21.4
94
0.5
0.49
0
1
2
1
0
0
1
0
100
IV
6
6
1
2
1
1
0
1
23
3
114
Moderate
0
0
0
Moderate
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
7
1
Azithromycin
0
0
0
1
CAP_Severe
6.1
0
0
0
0
1
9.547
0
0
0
1
0
0
0
0
Never
0
1
Never
Neither
0
0
0
2.9
0
null
0
0
0
0
0
0
0
Home_with_Services
1
0
3.8
14,780
23
74.5
Elderly
Male
Other
Medicare
Urban
0
0
CAP
Viral
SARS_CoV2
0
0
J12.82
233,604,007
Patchy_Infiltrate
0.03
70.6
14.3
Positive
Pneumococcal_pos
0.9
38.1
100
21
156
62
93.3
81
9
190.3
46.4
12.8
0
0
1
0
14.1
227
66.2
12
5.5
130.7
21.4
7.7
2.05
210
3.6
2.9
1,047
823
114.3
0.316
1
0
1
1
7.32
152
28.7
20.3
93.7
3.2
0.68
0
1
3
1
1
0
0
1
107
IV
5
4
0
0
1
0
0
3
18
9
225
Mild
1
0
0
Severe
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
15
1
Azithromycin
0
1
1
1
COVID_O2_Requiring
6
1
0
0
0
0
0.01
0
0
0
0
1
0
0
0
Former
0
6
Never
PCV13_only
0
0
0
2.3
0
null
0
0
1
0
0
0
0
SNF_or_Rehab
0
0
6.5
12,333
24
65
Elderly
Male
Other
Private
Suburban
0
0
CAP
Viral
Influenza_A
0
0
J09.X1
233,604,007
Multilobar
0.079
69.9
12.3
Positive
Negative
5.8
37.4
95
29
107
54
71.7
90
13
181.6
107.2
32.5
0
0
1
1
11.7
172
95
6.4
14.8
138.9
37.4
13.4
1.54
198
3.7
0.8
690
5,030
145.5
0.825
1
0
0
1
7.44
40
34.2
20
100
2.8
0.41
0
0
3
1
1
0
0
1
79
III
4
6
4
0
0
1
0
1
21
6
50
Severe
1
0
0
Severe
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
3
0
null
0
1
1
0
null
0
1
0
1
0
0
0.019
1
1
0
0
0
0
0
0
Former
0
4
Prior_Year
Neither
0
0
0
7.6
0
null
0
0
0
0
1
0
0
SNF_or_Rehab
0
1
5.6
5,000
25
70.1
Elderly
Male
White
Medicare
Rural
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Lobar_Consolidation
1.03
165.1
14.1
Negative
Negative
1.3
39
142
35
120
52
74.7
92
10
170.9
75.3
25.8
1
0
0
1
7.8
127
75.8
15.1
5
137.6
30.1
10.8
2.19
223
2.6
4.3
1,284
741
6.3
0.282
1
0
0
1
7.43
131
32.1
17.1
97.2
3.1
0.67
0
0
4
1
1
1
0
1
115
IV
6
8
0
2
1
1
2
2
20
8
196
Moderate
0
0
0
Critical
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
8
1
Azithromycin
0
0
1
0
null
0
0
0
0
0
1
0.117
0
0
0
1
0
0
0
0
Current
0
2
Current
PCV13_only
0
1
5.3
6
0
null
0
0
0
0
1
0
0
LTAC_or_SNF
0
0
1.6
39,941
26
75.1
Elderly
Male
Hispanic
Uninsured
Urban
0
0
HCAP
Atypical
M_pneumoniae
0
0
J15.7
422,400,008
Patchy_Infiltrate
0.498
101.6
18.9
Negative
Negative
2
39.8
109
22
125
65
85
89
12
169.2
104
36.3
1
0
1
1
10.8
131
95
22.8
4.2
140.7
30.3
10.8
2.24
240
3.3
3.7
2,948
21
33.1
0.831
1
0
0
1
7.4
201
44.4
30.5
96.8
2
0.54
0
0
3
1
1
0
0
1
93
IV
5
4
0
0
1
0
1
2
27
3
374
null
1
0
1
Critical
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
5
1
Azithromycin
0
0
0
0
null
0
0
0
0
0
0
0.09
1
0
1
1
0
0
0
0
Current
1
5
Current
Neither
0
0
0
3.4
1
7.9
1
1
0
0
0
0
0
Died
0
0
7.6
23,691
27
59.4
Adult
Female
Hispanic
Medicare
Suburban
0
0
CAP
Unknown
Unknown
0
0
J18.9
233,604,007
Multilobar
0.815
52.2
5.2
Negative
Pneumococcal_pos
3
37.7
123
32
101
87
91.7
95
14
171.3
49.3
16.8
0
0
0
1
11.8
216
84.6
18.2
4.6
135
5
1.8
2.13
226
3.4
0.5
2,081
463
11.9
1.051
1
0
0
1
7.4
40
29.2
29.2
95
4.6
0.6
0
0
2
1
0
1
0
0
120
IV
2
5
2
1
0
0
1
1
19
3
50
Severe
1
0
0
Moderate
Room_Air
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
12
1
Azithromycin
0
0
1
0
null
0
0
0
0
1
1
0.065
0
0
0
0
0
0
0
0
Current
1
1
Current
Neither
0
0
0
1
0
null
0
0
0
0
0
0
0
Home_with_Services
0
0
2.2
30,080
28
2.3
Pediatric
Male
White
Medicare
Rural
1
0
HAP
Bacterial
Enterobacter_spp
0
0
J18.9
64,667,001
Patchy_Infiltrate
13.931
169.2
10.6
Negative
Negative
13.6
39.5
107
15
120
58
78.7
88
12
173.4
77.3
25.7
1
0
1
0
11.4
195
83.3
6.7
12.4
127
43.5
15.6
2.23
178
2.8
3.5
176
216
152.8
0.108
1
0
1
0
7.39
170
38.6
18.3
88.4
5.2
0.69
0
0
2
1
1
0
0
0
21
I
3
7
1
0
1
2
1
2
22
4
248
Mild
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
10
1
Azithromycin
0
0
1
0
null
0
0
0
1
0
0
4.249
0
0
0
0
0
0
0
0
Current
0
2
Prior_Year
PCV13_only
0
0
0
3.9
0
null
0
0
0
0
0
0
0
Home_with_Services
0
0
1
21,655
29
5.4
Pediatric
Male
White
Medicare
Urban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Patchy_Infiltrate
0.654
126.3
17.1
Positive
Negative
0.6
39.4
65
27
131
65
87
97
14
163.5
91.2
34.1
1
0
0
1
13.2
314
80.9
23.1
3.5
135.9
15.6
5.6
1.35
139
3.4
0.7
865
2,446
18.2
0.154
0
0
0
0
7.46
47
45.1
16.2
97.1
1.3
0.3
0
0
1
1
0
0
0
0
23
I
2
6
3
1
1
0
0
1
23
2
154
Moderate
0
0
0
Mild
Room_Air
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Mild_Outpatient
Amoxicillin
1,000
q8h
PO
9
0
null
0
0
0
0
null
0
0
0
1
0
0
0.26
0
0
1
1
0
0
0
0
Current
0
1
Current
PCV13_only
1
0
0
6
0
null
0
0
1
0
0
0
0
Home
0
0
1
7,585
30
46.5
Adult
Male
Other
Private
Rural
0
0
CAP
Fungal
P_jirovecii
0
0
J18.9
233,604,007
Lobar_Consolidation
0.02
72.5
17.2
Negative
Negative
0.8
37.3
115
20
98
63
74.7
95
12
158.7
78.1
31
0
0
0
0
12.7
176
95
13.2
7.2
135.7
40.8
14.6
1.69
82
2.6
1.3
606
1,617
3,042.5
0.089
1
0
0
0
7.3
137
40.6
23.2
89.4
2.3
0.49
0
0
2
1
1
0
0
0
21
I
1
4
1
0
0
1
0
2
9
5
279
Mild
1
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
11
1
Azithromycin
0
0
0
1
ARDS
6
0
1
0
0
0
0.01
0
0
1
0
0
0
0
0
Never
0
1
Prior_Year
Both
0
0
0
1.8
0
null
0
0
1
0
0
0
0
Home_with_Services
0
0
5.2
17,207
31
86.6
Elderly
Male
White
Private
Urban
0
0
HAP
Bacterial
S_aureus_MSSA
1
0
J15.21
64,667,001
Interstitial
1.628
160.5
11
Positive
Negative
2.6
39.2
102
34
87
58
67.7
91
11
179.4
54
16.8
1
1
1
1
10.6
146
61.3
2
30.6
126.5
38.1
13.6
2.24
173
2.5
6.6
713
60
46
0.051
1
0
1
0
7.31
180
35.4
20.2
87.4
5
0.76
0
1
5
1
1
1
1
1
143
V
8
6
1
1
1
1
0
2
15
9
237
Mild
1
0
0
Critical
IMV_ECMO
1
0.5
12.4
5.8
9.4
15.5
24.1
0
1
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
9
1
Azithromycin
0
0
0
0
null
0
0
0
0
0
1
0.332
0
1
0
1
0
0
0
0
Former
0
5
Current
Neither
0
0
0
2.9
0
null
0
0
0
0
1
0
0
LTAC_or_SNF
1
1
12.5
5,000
32
57.5
Adult
Male
Hispanic
Private
Suburban
0
0
CAP
Bacterial
Legionella_pneumophila
0
0
J15.0
233,604,007
Multilobar
0.809
137.2
17.2
Negative
Pneumococcal_pos
0.9
40.4
97
19
112
70
84
86
14
168.2
27.5
9.7
1
0
1
0
9.4
298
82.4
21.3
3.9
136.8
20.3
7.2
1.3
175
3.4
2.5
100
2,824
197.7
0.22
0
0
0
0
7.38
146
34.8
25.1
99.8
4.2
0.61
0
0
2
1
1
0
0
0
95
IV
3
4
2
0
1
0
0
1
14
5
239
Mild
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
1
Azithromycin
0
0
1
0
null
0
0
0
0
0
1
0.239
0
0
1
0
0
0
0
0
Never
0
1
Current
Both
1
0
0
8.6
0
null
0
0
0
0
0
0
0
Home_with_Services
0
0
1.5
19,945
33
40.2
Adult
Male
Asian
Uninsured
Suburban
0
0
HAP
Bacterial
P_aeruginosa
1
0
J15.1
64,667,001
Patchy_Infiltrate
5.966
291.3
22.3
Negative
Negative
1.4
39.8
91
27
102
51
68
88
12
178.4
113.5
35.7
1
0
1
1
10.3
246
79.6
7
11.3
131.1
13.1
4.7
2.59
168
3.7
3
111
2,211
544.8
0.067
1
0
1
0
7.37
197
44.9
24.8
91.8
2.1
0.74
0
0
1
1
0
0
0
0
11
I
4
7
2
0
1
2
0
2
25
0
267
Mild
0
0
0
Mild
Room_Air
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
6
0
Vancomycin
1
0
1
1
Refractory_Shock
11.1
0
0
0
0
0
0.361
0
1
0
0
0
0
0
0
Former
0
1
Current
Both
0
0
0
2.3
1
6.2
1
1
0
0
1
0
0
Died
0
0
1
18,858
34
49.3
Adult
Male
White
Medicare
Suburban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Multilobar
3.002
209.1
14.4
Negative
Negative
0.3
37.3
106
20
135
83
100.3
95
12
186.1
85.5
24.7
0
0
0
0
10.4
203
78.5
25.4
3.1
138.9
54.4
19.4
1.48
81
3.7
2.7
308
248
52.8
0.286
0
0
0
0
7.25
73
33.9
17.7
92.9
1
0.51
0
1
2
1
1
0
0
0
4
I
1
7
2
1
1
1
0
2
15
3
142
Moderate
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
7
1
Azithromycin
0
0
1
1
COVID_O2_Requiring
10.8
0
0
0
0
1
0.612
0
0
0
0
0
0
0
0
Current
0
2
Current
PCV13_only
0
0
0
5.4
0
null
0
0
0
0
1
0
0
Home_with_Services
0
0
4.8
7,523
35
49.7
Adult
Female
Hispanic
Medicaid
Urban
0
0
HAP
Bacterial
S_aureus_MRSA
1
0
J15.212
64,667,001
Patchy_Infiltrate
12.254
153.2
10.2
Negative
Negative
0.6
39.8
127
25
118
66
83.3
90
12
173.7
105.7
35
1
0
1
1
10.8
74
83.1
20.3
4.1
134.7
41.1
14.7
2.55
151
3.4
4.3
105
432
38.7
0.032
1
1
1
0
7.29
138
40
26.8
91.9
3.4
0.74
0
0
2
1
1
0
0
0
19
I
4
6
2
0
0
1
1
2
18
4
187
Moderate
1
0
0
Moderate
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
7
1
Azithromycin
0
0
0
0
null
0
0
0
0
0
0
4.021
0
0
0
0
0
0
0
0
Former
0
1
Never
Neither
0
0
0
3
0
null
0
0
0
0
1
0
1
Home_with_Services
0
1
1.2
10,615
36
65.8
Elderly
Female
Other
Medicare
Suburban
0
0
HAP
Unknown
Unknown
0
0
J18.9
64,667,001
Patchy_Infiltrate
0.132
102.5
19.6
Negative
Pneumococcal_pos
3.8
38.5
125
35
105
98
100.3
91
10
171.9
100.4
34
1
0
1
1
12.8
127
78.9
12.2
6.5
143.6
41.4
14.8
2.08
188
3.1
1.9
392
3,835
40.1
0.244
1
0
0
1
7.37
111
33.5
20.4
90.3
1.3
0.47
0
0
4
1
1
1
0
1
112
IV
4
8
2
0
0
3
1
2
21
7
237
Mild
0
0
0
Critical
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
8
0
null
0
1
1
0
null
0
0
0
0
0
0
0.02
0
0
1
1
0
0
0
0
Former
0
6
Prior_Year
PPSV23_only
0
1
9.8
10.5
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
0
0
6
22,090
37
1.9
Pediatric
Male
Hispanic
Medicare
Urban
0
0
HAP
Bacterial
S_aureus_MRSA
1
1
J15.212
64,667,001
Lobar_Consolidation
1.806
108.1
24
Negative
Negative
4.8
39.9
138
26
116
53
74
83
10
200
93.1
23.3
1
0
1
1
12.1
107
83.8
15.9
5.3
134.5
54
19.3
2.62
123
3
2.3
1,523
26
41.1
0.033
1
0
1
0
7.42
65
23.1
24
81.5
0.5
0.39
0
0
2
1
1
0
0
0
15
I
4
6
1
0
0
2
1
2
12
4
168
Moderate
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
3
0
Vancomycin
0
0
1
1
COVID_O2_Requiring
10.2
0
0
0
0
0
0.507
0
0
0
0
0
1
0
0
Former
0
1
Prior_Year
Both
0
0
0
4.4
0
null
0
0
0
0
0
0
0
Home_with_Services
0
0
2.7
18,713
38
59.9
Adult
Female
White
Private
Urban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Patchy_Infiltrate
0.255
149.4
10.3
Negative
Negative
1.6
38.4
136
35
72
88
82.7
98
14
170.3
72.9
25.2
1
1
0
1
13.3
195
80.5
29.1
2.8
138
31.2
11.2
2.17
164
2.4
3.6
241
797
133.7
0.365
1
0
0
0
7.35
68
33.6
21.2
86.8
1.3
0.47
0
0
4
1
1
1
1
0
121
IV
4
9
2
3
1
0
2
1
22
8
145
Moderate
0
0
0
Critical
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
11
0
null
0
0
0
1
ARDS
6
0
0
0
0
1
0.067
1
0
0
1
0
0
0
0
Never
0
2
Current
Both
0
1
3.1
6.3
0
null
0
0
0
0
1
0
0
LTAC_or_SNF
0
0
1.6
68,617
39
74.3
Elderly
Female
White
Medicare
Urban
0
0
HAP
Bacterial
E_coli
1
0
J18.9
64,667,001
Interstitial
0.326
157.6
14.5
Negative
Negative
1.8
38.8
65
21
101
87
91.7
88
14
156
90.8
37.3
1
0
1
0
11.1
163
66.9
21.4
3.1
135.9
42.7
15.2
2.07
170
2.8
0.5
453
1,857
4.9
0.086
1
0
0
0
7.35
111
35
26.4
95.4
2.9
0.61
0
0
3
1
1
0
0
1
85
III
5
4
1
0
1
0
1
1
18
5
182
Moderate
0
0
0
Severe
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
14
1
Azithromycin
1
1
1
0
null
0
0
0
0
0
0
0.096
0
0
0
0
1
0
0
0
Current
1
4
Never
Both
0
0
0
1.1
0
null
0
0
0
0
0
0
0
SNF_or_Rehab
0
0
2.8
5,000
40
70.1
Elderly
Female
Other
Private
Suburban
0
0
HCAP
Bacterial
S_pneumoniae
0
0
J13
422,400,008
Patchy_Infiltrate
38.777
92.7
20.3
Negative
Negative
0.2
38.6
84
33
113
64
80.3
82
12
164.9
111.5
41
1
0
1
1
14.6
301
84.9
15.6
5.4
129.6
23.7
8.5
1.71
204
2.7
4.2
145
379
21.9
0.097
1
0
1
1
7.41
73
34.1
12.7
87.8
5
0.39
0
0
4
1
1
1
0
1
119
IV
6
9
2
1
1
3
0
2
18
8
188
Moderate
0
0
0
Critical
IMV
1
2.8
17.5
5.7
8.3
11.6
20.9
0
0
0
0
1
1
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
7
1
Azithromycin
1
0
1
0
null
0
0
0
0
0
1
5.198
1
0
1
0
0
0
1
0
Never
0
4
Current
PPSV23_only
0
0
0
9.8
0
null
0
0
0
0
0
0
0
LTAC_or_SNF
0
0
8.8
5,000
41
69.7
Elderly
Female
White
Private
Urban
0
0
CAP
Bacterial
H_influenzae
0
0
J14
233,604,007
Lobar_Consolidation
54.616
207.1
14.7
Contaminated
Negative
6.3
38.8
69
15
133
66
88.3
90
15
185.1
81.8
23.9
1
0
1
0
13.3
91
87
33.1
2.6
136
34.5
12.3
1.77
220
3.6
0.5
552
910
10.7
0.5
1
1
0
1
7.37
40
32.2
25.8
92.8
1
0.28
0
0
2
0
1
0
0
1
75
III
2
5
3
0
0
0
2
0
23
5
50
Severe
0
0
0
Moderate
Simple_Mask
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
12
0
null
0
0
0
0
null
0
0
0
0
0
1
5.949
0
0
1
0
1
0
0
0
Never
0
1
Current
Neither
0
0
0
5
0
null
0
0
1
0
0
0
0
Home_with_Services
0
0
1
5,000
42
71.1
Elderly
Female
Hispanic
Medicaid
Urban
0
1
CAP
Bacterial
H_influenzae
0
0
J14
233,604,007
Patchy_Infiltrate
5.009
144.6
5.3
Negative
Pneumococcal_pos
5.3
38.3
112
21
117
60
79
82
14
153.8
121.8
51.5
0
0
1
0
12.2
122
74.2
16.7
4.4
140
17.5
6.3
1.88
135
3.8
1.6
676
387
1.1
0.084
1
0
0
0
7.45
72
40.1
19.7
88.7
1.8
0.23
0
0
2
1
0
0
0
1
91
IV
5
6
1
2
1
1
0
1
21
5
306
null
0
0
0
Moderate
NIV
0
0
0
0
0
0
0
0
0
1
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
0
null
0
0
0
0
null
0
0
0
1
0
0
0.28
0
0
1
0
1
0
0
0
Never
0
4
Prior_Year
Neither
0
0
0
4.3
1
2
1
1
0
0
0
0
0
Died
0
0
6.2
16,458
43
74.2
Elderly
Female
White
Private
Rural
0
0
HAP
Bacterial
S_maltophilia
1
1
J18.9
64,667,001
Interstitial
1.668
155.1
18.1
Negative
Negative
8.9
39.2
99
25
128
55
79.3
83
11
159.7
47
18.4
1
0
1
1
12.3
191
95
15.7
6
137.5
28.3
10.1
1.66
176
3.3
1.1
140
179
200.9
0.296
1
0
0
0
7.34
50
37.8
21.4
86.2
3.7
0.7
0
1
3
1
1
0
0
1
96
IV
6
9
4
0
1
2
0
2
26
7
72
Severe
0
0
1
Critical
IMV_ECMO
1
4.9
4.4
7
12.2
19
23.7
1
1
0
0
1
1
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
6
0
Vancomycin
0
0
0
0
null
0
0
0
0
0
0
0.364
0
0
0
1
0
0
0
0
Current
0
4
Current
PCV13_only
1
0
0
2.5
0
null
0
0
0
0
0
0
1
LTAC_or_SNF
1
0
6.6
21,228
44
33.4
Adult
Female
Hispanic
Private
Urban
0
1
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Multilobar
3.133
140.2
8.9
Negative
Negative
4.9
37.7
91
30
130
72
91.3
100
12
180.2
44.6
13.8
0
0
0
1
10.7
243
92.7
10.8
8.6
136
25.2
9
2.26
157
3.9
0.5
137
93
64.2
0.089
1
0
0
0
7.33
64
34.9
28.2
94
0.9
0.25
0
0
3
1
1
1
0
0
29
I
2
5
1
1
0
1
0
2
17
3
255
Mild
1
0
0
Severe
IMV
1
3.9
6.3
7.7
3
11.2
30.4
0
0
0
0
1
1
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
7
1
Azithromycin
0
0
1
1
ARDS
12.6
0
0
0
0
1
0.362
1
1
1
0
0
0
0
0
Former
0
1
Never
PCV13_only
0
0
0
1
0
null
0
0
0
0
1
0
0
SNF_or_Rehab
0
0
2.2
11,186
45
59.5
Adult
Male
Other
Private
Urban
0
0
HAP
Bacterial
S_maltophilia
0
0
J18.9
64,667,001
Lobar_Consolidation
12.785
387.1
7.9
Negative
Pneumococcal_pos
0.6
39.3
98
24
103
71
81.7
89
15
165
101.7
37.4
1
0
1
1
7.7
20
88.5
5.4
16.3
130.9
11.1
4
2.76
179
3.3
4.2
100
1,040
6.9
0.25
1
1
1
0
7.47
41
34.1
19.5
96.7
1.1
0.53
0
0
0
0
0
0
0
0
49
I
2
6
1
1
1
2
1
0
14
1
78
Severe
1
0
0
Mild
Room_Air
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
8
1
Azithromycin
1
0
1
1
ARDS
11.5
0
0
0
0
0
3.553
0
0
1
0
0
0
0
0
Former
0
2
Never
PCV13_only
0
0
0
4.6
0
null
0
0
1
0
0
0
0
Home
1
1
5
10,394
46
32.3
Adult
Male
Hispanic
Medicare
Urban
0
0
HAP
Bacterial
P_aeruginosa
0
0
J15.1
64,667,001
Lobar_Consolidation
2.417
133.6
6.9
Negative
Negative
8.1
39.4
117
17
102
48
66
83
13
166.8
62
22.3
1
0
1
0
10
57
90.4
11.1
8.1
138
36.8
13.2
2.76
187
2.5
4.8
1,264
204
210.5
0.805
1
1
0
1
7.43
53
27.6
17.6
94.3
3.8
0.54
0
0
2
1
1
0
0
0
19
I
3
7
2
0
1
2
1
1
18
6
98
Severe
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
HAP_Non_VAP
Piperacillin_Tazobactam
4,500
q6h
IV
6
0
null
0
0
1
1
CAP_Severe
6
0
0
0
0
1
0.585
0
0
0
0
0
0
0
0
Never
0
2
Current
Neither
0
0
0
4.4
0
null
0
0
1
0
0
0
0
Home_with_Services
0
0
4.1
6,562
47
65.5
Elderly
Male
Other
Medicare
Urban
0
0
CAP
Unknown
Unknown
0
0
J18.9
233,604,007
Patchy_Infiltrate
1.729
105.5
19.3
Positive
Negative
3.3
37.2
70
14
124
101
108.7
93
15
179.8
125
38.6
0
0
0
0
13.8
195
78.9
17.4
4.5
139.3
18.2
6.5
1.6
201
3.4
3.2
349
28
1
0.262
1
0
0
1
7.35
73
38.9
22.1
92.1
0.5
0.29
0
0
1
0
0
0
0
1
70
II
0
3
2
0
0
1
0
0
15
2
249
Mild
0
0
0
Mild
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Mild_Outpatient
Amoxicillin
1,000
q8h
PO
10
0
null
0
0
0
0
null
0
0
0
0
0
1
0.591
0
1
0
1
1
0
0
0
Never
0
4
Current
PPSV23_only
0
0
0
5.3
0
null
0
0
0
0
0
0
0
Home
0
0
6.5
22,288
48
64.9
Adult
Male
White
Private
Suburban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Lobar_Consolidation
4.414
68
8.9
Negative
Negative
9.5
39.4
72
15
111
71
84.3
90
15
160.1
109.4
42.7
1
0
1
0
12.6
313
89.6
19.8
4.5
141.3
5
1.8
1.34
60
3.1
0.5
239
302
8.2
0.049
0
0
0
0
7.44
40
46.1
22.2
97
0.5
0.24
0
0
0
0
0
0
0
0
69
II
2
3
2
0
1
0
0
0
10
0
149
Moderate
1
0
0
Mild
HFNC
0
0
0
0
0
0
0
0
0
0
1
0
0
0
CAP_Mild_Outpatient
Amoxicillin
1,000
q8h
PO
6
0
null
0
0
0
0
null
0
0
0
0
0
1
1.46
0
0
0
0
0
0
0
0
Never
0
4
Current
Both
0
0
0
8.1
0
null
0
0
0
0
1
0
0
Home
0
0
2.8
15,328
49
80.7
Elderly
Male
Hispanic
Uninsured
Urban
0
1
CAP
Atypical
C_pneumoniae
0
0
J18.9
233,604,007
Multilobar
0.902
2
16.5
Negative
Negative
2.2
38.9
105
30
136
70
92
93
10
151.8
114.9
49.8
1
0
0
1
11.3
323
95
5.9
16.1
135.1
23.5
8.4
1.74
175
3.5
1.1
430
194
21.5
0.718
1
0
0
0
7.36
40
43.4
18
86
2.3
0.54
0
0
4
1
1
1
0
1
118
IV
4
5
2
0
0
1
0
2
18
7
57
Severe
1
0
0
Critical
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_ICU
Ceftriaxone
2,000
q24h
IV
5
1
Azithromycin
0
0
1
0
null
0
0
0
0
0
1
0.159
0
0
0
0
1
0
0
0
Never
0
5
Prior_Year
Both
0
0
0
4.1
0
null
0
0
1
0
1
0
0
LTAC_or_SNF
0
1
1
18,316
50
2.9
Pediatric
Male
Asian
Medicare
Urban
0
0
CAP
Bacterial
S_pneumoniae
0
0
J13
233,604,007
Patchy_Infiltrate
2.383
273.6
17.2
Negative
Negative
0.5
39
124
28
91
63
72.3
87
11
152.7
99.5
42.6
1
0
1
1
10.1
169
88.2
19.3
4.6
129.9
22.6
8.1
1.62
173
3.1
2.8
617
61
21.6
0.047
1
0
1
0
7.42
66
32.3
23.1
93
2.8
0.38
0
0
2
1
1
0
0
0
26
I
4
4
2
0
0
0
0
2
11
4
173
Moderate
0
0
0
Moderate
Nasal_Cannula
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CAP_Inpatient_Non_ICU
Ceftriaxone
1,000
q24h
IV
8
0
null
1
0
1
0
null
0
0
0
0
0
1
0.366
0
0
0
0
1
0
1
0
Former
0
3
Current
PCV13_only
0
0
0
1
0
null
0
0
0
0
1
0
1
Home_with_Services
0
1
7.9
11,881
End of preview. Expand in Data Studio

YAML Metadata Warning:The task_categories "survival-analysis" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

HC-RES-003 — Pneumonia Synthetic Dataset (Sample)

XpertSystems.ai · Synthetic Data Factory · Respiratory Vertical

The third SKU in the XpertSystems Respiratory vertical: a clinically detailed synthetic pneumonia cohort spanning Community-Acquired (CAP), Hospital-Acquired (HAP), Ventilator-Associated (VAP), and Healthcare-Associated (HCAP) pneumonia. It covers organism taxonomy & resistance (MRSA/MDR), full severity scoring (CURB-65, PSI/Fine, SMART-COP, SOFA, APACHE-II, NEWS2, ARDS Berlin), vitals, labs & ABG, respiratory support (HFNC/NIV/IMV/ECMO, lung-protective ventilation), guideline-based antibiotic regimens, comorbidities, and hospitalization outcomes (ICU, mortality, complications, readmission, cost).

This repository contains a 500-row, single-seed sample. The full commercial product scales to 20,000+ patients with CSV / Parquet / JSON delivery.


Validation

This sample passes XpertSystems Grade A+ validation (overall 10.000 / 10) with deterministic reproduction across all six canonical seeds [42, 7, 123, 2024, 99, 1].

Validation philosophy: structural identities over distribution-fit tests — including the VAP > CAP mortality gradient and the procalcitonin bacterial-vs-viral separation as structural floors. This engine also passes its own built-in ~15-check benchmark suite (CAP/HAP/VAP distribution, PSI Class-V mortality, CURB-65=0 mortality, ICU/intubation rates, ARDS PF ratio).

Calibration anchors

Metric Sample value Target range Source
CAP prevalence 67.4% 60–71% ATS/IDSA 2019 (~60-70%)
HAP prevalence 22.0% 18–28% Hospital-acquired epidemiology
VAP prevalence 7.2% 5–11% Ventilator-associated epidemiology
ICU admission rate 21.8% 15–30% ATS/IDSA (~18-26%)
Intubation rate 22.2% 14–27% VAP-adjusted
30-day mortality ~8.8% 5–12% Overall pneumonia mortality
30-day readmission ~16.5% 13–24% CMS HRRP (~18%)
Median hospital LOS 4.1 days 3.5–8 CAP/HAP LOS literature
VAP − CAP mortality gradient +0.11 ≥0.03 Severity ordering (physiology)
VAP > CAP mortality holds yes boolean Severity ordering
PCT bacterial / viral ratio 23.5× ≥3× Procalcitonin biomarker separation
Column count 157 ≥150 Schema completeness (10 modules)

Schema highlights by module (157 columns)

Demographics. Bimodal age (pediatric + adult/elderly), sex, race, insurance, region, nursing-home residence, prior 90-day hospitalization.

Classification. Pneumonia type (CAP/HAP/VAP/HCAP), etiology category, causative organism (type- specific taxonomies), MRSA & MDR flags, ICD-10 & SNOMED, chest X-ray finding, procalcitonin, CRP, WBC, blood culture, urine antigen, time-to-antibiotics.

Vitals. Temperature, HR, RR, SBP/DBP/MAP, SpO2, GCS, BMI, plus fever/hypotension/hypoxemia/ tachypnea flags.

Severity scores. CURB-65 (+ component flags), PSI/Fine score & risk class, SMART-COP, SOFA (6 subscores + total), APACHE-II, NEWS2, PF ratio, ARDS Berlin category, sepsis & septic-shock flags, ATS major criteria, final severity.

Laboratory. CBC, neutrophil/lymphocyte ratio, electrolytes, BUN/urea, creatinine, glucose, albumin, lactate, D-dimer, ferritin, IL-6, troponin, plus AKI/thrombocytopenia/hyponatremia/ hyperglycemia flags.

ABG. FiO2, PaO2, PaCO2, pH, HCO3, lactate, SaO2.

Respiratory support. O2 delivery device (Room Air → IMV-ECMO), intubation timing, ventilator days, lung-protective settings (tidal volume, PEEP, driving/plateau pressure), prone positioning, ECMO, NIV, HFNC, spontaneous breathing trial, extubation success, reintubation.

Antibiotics. Guideline-based empiric regimen, primary & secondary agents (dose/freq/route/ duration), PCT-guided de-escalation, oral switch, corticosteroids (indication, dexamethasone dose), antiviral/antifungal, vasopressors, C. diff, serial procalcitonin.

Comorbidities. COPD, heart failure, diabetes, CKD, CAD, immunosuppression, HIV, malignancy, smoking, alcohol, frailty, vaccinations, aspiration risk.

Outcomes. ICU admission & LOS, hospital LOS, inpatient/30d/90d mortality, time to death, complications (pleural effusion, empyema, AKI, new AF, bacteremia), discharge disposition, 30/90-day readmission, time to clinical stability, total cost.


Files

  • hc_res_003_sample.csv — 500-patient sample (157 columns)
  • generate_sample_dataset_hc_res_003.py — reproducible generator + validation harness
  • validation_report.json / validation_report.md — full scorecard
  • sweep_summary.json — 6-seed determinism results

Loading

import pandas as pd
df = pd.read_csv("hc_res_003_sample.csv")
print(df[["patient_id","pneumonia_type","severity_final","curb65_score",
          "psi_risk_class","icu_admission_flag","mortality_30d_flag"]].head())
from datasets import load_dataset
ds = load_dataset("csv", data_files="hc_res_003_sample.csv")

Use cases

  • Pneumonia severity triage (CURB-65 / PSI / SMART-COP score replication & calibration)
  • Mortality and ICU-admission risk prediction
  • Antibiotic-stewardship and PCT-guided de-escalation modeling
  • Bacterial-vs-viral etiology classification from biomarkers
  • ARDS / respiratory-failure progression and ventilation-outcome modeling
  • Readmission-risk and cost modeling
  • ML training where real pneumonia EHR data is PHI-restricted

Honest limitations & disclosed generator behavior

This is a strongly calibrated single-table engine (passes its own ~15-check suite; correct severity and biomarker gradients). Standard caveats:

  1. Cross-sectional snapshot. Unlike the asthma (HC-RES-001) and COPD (HC-RES-002) SKUs, this is a single admission-level table — there is no longitudinal trajectory or per-event companion table. Each row is one pneumonia episode.
  2. Severity proxy drives correlated modules. Vitals, labs, and ABG are generated from a single 0–1 severity proxy (seeded by pneumonia type), so they co-move cleanly with severity but encode somewhat tighter within-patient coupling than messy real-world data.
  3. Some comorbidity/complication flags are marginal draws. Drawn at fixed (age-adjusted where relevant) prevalences rather than jointly conditioned on the full clinical picture.
  4. Mortality is a calibrated Bernoulli. inpatient_mortality_flag is drawn on a severity- and type-derived probability; time-to-death is an exponential rather than a fully integrated survival model. Small CURB-65=0 subsets can show noisy mortality at low n (converges to target at scale).

General caveat: cross-field correlations beyond those explicitly modeled may be weaker than in real cohorts. Not for clinical decision-making — research/development use only.


Commercial product comparison

Capability This sample Full HC-RES-003 product
Patients 500 20,000+ (configurable)
Seeds / cohorts 1 Multi-seed, reproducible
Formats CSV CSV + Parquet + JSON
Comorbidity model Marginal draws Jointly conditioned
Mortality Cross-sectional Bernoulli Integrated survival model
License CC-BY-NC-4.0 Commercial
Support & SLA Included

Full product, custom cohorts, or other respiratory SKUs (asthma, COPD, ILD, pulmonary hypertension, sleep apnea): pradeep@xpertsystems.ai


Citation

@dataset{xpertsystems_hc_res_003_2026,
  title        = {HC-RES-003: Pneumonia Synthetic Dataset},
  author       = {XpertSystems.ai},
  year         = {2026},
  publisher    = {XpertSystems.ai Synthetic Data Factory},
  url          = {https://xpertsystems.ai},
  note         = {Synthetic; CC-BY-NC-4.0 (sample). Calibrated to: ATS/IDSA 2019 CAP
                  guidelines; PSI/Fine score (Fine et al. 1997, NEJM); CURB-65 (Lim et al.
                  2003, Thorax); SMART-COP (Charles et al. 2008, CID); ARDSNET (NEJM 2000)
                  and Berlin ARDS definition; RECOVERY trial (Horby et al. 2021, NEJM); CDC
                  NHSN HAP/VAP surveillance; CMS HRRP readmission benchmarks; Surviving Sepsis
                  Campaign 2021. Third SKU in the XpertSystems Respiratory vertical.}
}

Synthetic data generated by XpertSystems.ai. Not derived from real patient records. Not for clinical use.

Downloads last month
27