patient_id
string
onset_date
string
complication_type
string
icd10_code
string
severity_stage
string
referral_generated_flag
int64
referral_specialty
string
treatment_initiated_flag
int64
progression_event_flag
int64
hospitalization_linked_flag
int64
ed_linked_flag
int64
years_since_diagnosis
float64
complication_id
string
encounter_id_trigger
float64
PAT0000002
2022-03-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
3.93
COMP000000001
null
PAT0000002
2022-06-28
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
4.18
COMP000000001
null
PAT0000003
2019-01-01
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
0
0
0
0
1.48
COMP000000003
null
PAT0000003
2020-06-30
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
0
1
0
0
2.98
COMP000000003
null
PAT0000004
2021-03-30
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
1
3.74
COMP000000005
null
PAT0000005
2022-12-27
peripheral_artery_disease
E11.51
moderate
1
cardiologist
0
0
0
0
4.56
COMP000000006
null
PAT0000006
2019-07-02
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
2.09
COMP000000007
null
PAT0000007
2020-12-29
diabetic_retinopathy
E11.319
moderate_npdr
1
ophthalmologist
1
0
0
0
3.28
COMP000000008
null
PAT0000008
2023-03-28
cardiovascular_event
I21.9
unstable_angina
1
cardiologist
1
0
0
0
5.52
COMP000000009
null
PAT0000009
2020-09-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
3.44
COMP000000010
null
PAT0000011
2021-09-28
cardiovascular_event
I21.9
nstemi
1
cardiologist
1
1
0
0
3.39
COMP000000011
null
PAT0000012
2023-03-28
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
0
0
1
4.51
COMP000000012
null
PAT0000012
2022-03-29
diabetic_retinopathy
E11.319
pdr
1
ophthalmologist
1
0
0
0
3.52
COMP000000012
null
PAT0000012
2020-06-30
dka_event
E11.10
mild
1
endocrinologist
1
0
0
0
1.77
COMP000000012
null
PAT0000014
2019-12-31
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
2.65
COMP000000015
null
PAT0000015
2022-09-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
1
0
5.18
COMP000000016
null
PAT0000015
2019-12-31
diabetic_retinopathy
E11.319
mild_npdr
0
ophthalmologist
1
1
0
0
2.44
COMP000000016
null
PAT0000015
2020-12-29
dka_event
E11.10
severe
0
endocrinologist
1
1
0
0
3.43
COMP000000016
null
PAT0000016
2020-06-30
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
2.79
COMP000000019
null
PAT0000017
2022-09-27
hypoglycemic_episode
E11.641
moderate
0
null
1
0
0
0
3.85
COMP000000020
null
PAT0000018
2020-12-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
0
0
0
0
3.52
COMP000000021
null
PAT0000018
2020-06-30
hypoglycemic_episode
E11.641
mild
0
null
1
0
0
0
3.02
COMP000000021
null
PAT0000020
2019-01-01
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
1
1.75
COMP000000023
null
PAT0000020
2022-06-28
peripheral_artery_disease
E11.51
severe
1
cardiologist
1
0
0
0
5.24
COMP000000023
null
PAT0000021
2022-12-27
diabetic_retinopathy
E11.319
pdr
1
ophthalmologist
1
1
0
0
4.08
COMP000000025
null
PAT0000022
2023-03-28
diabetic_neuropathy
E11.40
severe
1
podiatrist
1
0
0
0
4.94
COMP000000026
null
PAT0000023
2019-07-02
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
1
1
0
0
1.64
COMP000000027
null
PAT0000024
2023-09-26
diabetic_neuropathy
E11.40
mild
1
podiatrist
1
1
0
0
6.04
COMP000000028
null
PAT0000027
2019-01-01
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
0.8
COMP000000029
null
PAT0000027
2023-03-28
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
5.04
COMP000000029
null
PAT0000030
2022-12-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
4.49
COMP000000031
null
PAT0000031
2023-06-27
cardiovascular_event
I21.9
unstable_angina
1
cardiologist
1
0
0
0
5.35
COMP000000032
null
PAT0000031
2023-06-27
dka_event
E11.10
moderate
1
endocrinologist
1
1
1
0
5.35
COMP000000032
null
PAT0000033
2021-06-29
peripheral_artery_disease
E11.51
mild
0
cardiologist
1
0
0
0
2.95
COMP000000034
null
PAT0000036
2019-04-02
diabetic_retinopathy
E11.319
dme
1
ophthalmologist
1
0
0
0
0.42
COMP000000035
null
PAT0000038
2021-03-30
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
0
0
0
3.09
COMP000000036
null
PAT0000039
2023-09-26
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
5.23
COMP000000037
null
PAT0000039
2020-09-29
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
2.24
COMP000000037
null
PAT0000039
2021-03-30
cardiovascular_event
I21.9
stemi
0
cardiologist
1
0
0
0
2.74
COMP000000037
null
PAT0000039
2022-12-27
hypoglycemic_episode
E11.641
mild
0
null
1
0
0
0
4.48
COMP000000037
null
PAT0000039
2021-06-29
dka_event
E11.10
severe
1
endocrinologist
1
1
0
0
2.99
COMP000000037
null
PAT0000041
2021-12-28
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
1
0
0
0
4.98
COMP000000042
null
PAT0000042
2019-01-01
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
0
0
0
1.98
COMP000000043
null
PAT0000046
2020-03-31
diabetic_retinopathy
E11.319
mild_npdr
0
ophthalmologist
1
0
0
0
2.16
COMP000000044
null
PAT0000047
2022-12-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
4.12
COMP000000045
null
PAT0000048
2019-01-01
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
0.35
COMP000000046
null
PAT0000051
2023-06-27
diabetic_foot_ulcer
E11.621
mild
1
podiatrist
1
0
0
1
4.56
COMP000000047
null
PAT0000055
2022-09-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
5.08
COMP000000048
null
PAT0000055
2022-09-27
diabetic_retinopathy
E11.319
moderate_npdr
1
ophthalmologist
0
1
0
0
5.08
COMP000000048
null
PAT0000056
2021-03-30
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
1
0
0
0
2.4
COMP000000050
null
PAT0000057
2022-12-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
0
5.8
COMP000000051
null
PAT0000058
2021-12-28
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
1
1
0
0
4.54
COMP000000052
null
PAT0000059
2021-03-30
diabetic_retinopathy
E11.319
severe_npdr
1
ophthalmologist
1
0
0
1
3.55
COMP000000053
null
PAT0000059
2020-12-29
dka_event
E11.10
moderate
0
endocrinologist
1
0
0
0
3.3
COMP000000053
null
PAT0000060
2019-12-31
diabetic_retinopathy
E11.319
moderate_npdr
1
ophthalmologist
1
0
0
0
2.59
COMP000000055
null
PAT0000062
2021-03-30
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
2.82
COMP000000056
null
PAT0000062
2021-09-28
diabetic_retinopathy
E11.319
mild_npdr
0
ophthalmologist
1
0
0
0
3.32
COMP000000056
null
PAT0000063
2021-09-28
diabetic_neuropathy
E11.40
mild
1
podiatrist
1
0
0
0
2.96
COMP000000058
null
PAT0000063
2021-12-28
dka_event
E11.10
moderate
1
endocrinologist
1
0
0
0
3.21
COMP000000058
null
PAT0000064
2020-09-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
2.74
COMP000000060
null
PAT0000065
2020-06-30
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
0
2.25
COMP000000061
null
PAT0000065
2020-09-29
hypoglycemic_episode
E11.641
moderate
0
null
1
0
0
0
2.5
COMP000000061
null
PAT0000066
2022-06-28
cardiovascular_event
I21.9
unstable_angina
1
cardiologist
1
0
0
0
4.29
COMP000000063
null
PAT0000068
2022-06-28
diabetic_retinopathy
E11.319
moderate_npdr
0
ophthalmologist
1
0
0
0
4.07
COMP000000064
null
PAT0000068
2020-12-29
cardiovascular_event
I21.9
nstemi
0
cardiologist
1
0
0
0
2.58
COMP000000064
null
PAT0000070
2022-12-27
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
1
0
0
4.89
COMP000000066
null
PAT0000072
2020-06-30
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
0
1.92
COMP000000067
null
PAT0000074
2023-03-28
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
1
0
0
5.6
COMP000000068
null
PAT0000074
2020-12-29
diabetic_retinopathy
E11.319
dme
1
ophthalmologist
1
0
0
0
3.36
COMP000000068
null
PAT0000075
2021-06-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
2.82
COMP000000070
null
PAT0000075
2019-07-02
diabetic_retinopathy
E11.319
dme
1
ophthalmologist
1
0
0
0
0.82
COMP000000070
null
PAT0000077
2021-06-29
diabetic_retinopathy
E11.319
moderate_npdr
1
ophthalmologist
0
0
0
0
3.76
COMP000000072
null
PAT0000078
2021-06-29
diabetic_retinopathy
E11.319
dme
0
ophthalmologist
1
0
1
0
4.28
COMP000000073
null
PAT0000079
2020-03-31
diabetic_retinopathy
E11.319
mild_npdr
0
ophthalmologist
1
0
0
0
2.08
COMP000000074
null
PAT0000080
2021-06-29
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
3.23
COMP000000075
null
PAT0000080
2022-06-28
diabetic_neuropathy
E11.40
mild
0
podiatrist
1
0
0
0
4.22
COMP000000075
null
PAT0000080
2023-03-28
cardiovascular_event
I21.9
unstable_angina
1
cardiologist
1
0
0
0
4.97
COMP000000075
null
PAT0000081
2022-12-27
diabetic_nephropathy
E11.65
G1_G2
0
nephrologist
1
1
0
1
4.12
COMP000000078
null
PAT0000082
2022-09-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
1
3.96
COMP000000079
null
PAT0000084
2019-10-01
diabetic_neuropathy
E11.40
moderate
1
podiatrist
1
0
0
0
2.24
COMP000000080
null
PAT0000085
2019-07-02
cardiovascular_event
I21.9
nstemi
1
cardiologist
1
0
0
0
0.51
COMP000000081
null
PAT0000086
2020-09-29
dka_event
E11.10
moderate
1
endocrinologist
1
0
0
0
3.09
COMP000000082
null
PAT0000087
2020-12-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
3.08
COMP000000083
null
PAT0000090
2020-12-29
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
0
0
0
0
2.87
COMP000000084
null
PAT0000090
2019-12-31
cardiovascular_event
I21.9
nstemi
1
cardiologist
1
1
0
0
1.87
COMP000000084
null
PAT0000091
2022-09-27
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
0
5.15
COMP000000086
null
PAT0000091
2023-09-26
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
6.15
COMP000000086
null
PAT0000092
2019-04-02
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
0
0
0
0
1.42
COMP000000088
null
PAT0000092
2019-12-31
dka_event
E11.10
mild
0
endocrinologist
1
1
0
0
2.17
COMP000000088
null
PAT0000095
2021-03-30
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
0
1
0
0
2.67
COMP000000090
null
PAT0000097
2020-12-29
diabetic_retinopathy
E11.319
mild_npdr
0
ophthalmologist
1
0
0
0
3.01
COMP000000091
null
PAT0000099
2023-06-27
diabetic_neuropathy
E11.40
moderate
1
podiatrist
1
0
1
0
5.2
COMP000000092
null
PAT0000101
2022-03-29
diabetic_retinopathy
E11.319
mild_npdr
1
ophthalmologist
1
0
0
0
4.14
COMP000000093
null
PAT0000102
2021-06-29
cardiovascular_event
I21.9
unstable_angina
1
cardiologist
1
0
0
0
3.3
COMP000000094
null
PAT0000104
2022-06-28
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
0
0
0
5.41
COMP000000095
null
PAT0000104
2020-09-29
diabetic_retinopathy
E11.319
pdr
1
ophthalmologist
1
0
0
0
3.66
COMP000000095
null
PAT0000104
2021-06-29
diabetic_neuropathy
E11.40
moderate
1
podiatrist
1
1
0
0
4.41
COMP000000095
null
PAT0000104
2019-12-31
peripheral_artery_disease
E11.51
mild
0
cardiologist
0
1
0
0
2.92
COMP000000095
null
PAT0000107
2022-03-29
diabetic_neuropathy
E11.40
mild
1
podiatrist
1
0
0
0
4.93
COMP000000099
null
PAT0000108
2019-07-02
diabetic_nephropathy
E11.65
G1_G2
1
nephrologist
1
1
0
0
0.56
COMP000000100
null