| Variable | Definition | Summary of 6173 patients |
| Female | Dummy variable: 1, female; 0, male | 1: 2450 |
| Age 60 - 64 | Dummy variable: 1, age 60 - 64; 0: otherwise | 1: 1056 |
| Age 65 - 69 | Dummy variable: 1, age 65 - 69; 0, otherwise | 1: 905 |
| Age 70 - 74 | Dummy variable: 1, age 70 - 74; 0, otherwise | 1: 764 |
| Age 75 | Dummy variable: 1, age 75 or over; 0, otherwise | 1: 910 |
| Comorbidities | Number of comorbidities | 0: 827; 1: 910; 2: 1003; 3: 923; 4: 2511 |
| Complications | Number of complications | 0: 3838; 1: 1085; 2: 564; 3: 339; 4: 348 |
| Acute hospitalization | Dummy variable: 1, acute hospitalization; 0, otherwise | 1: 183 |
| Another hospital | Dummy variable: 1, introduced by other hospitals; 0, otherwise | 1: 2915 |
| Own outpatient | Dummy variable: 1, own outpatient; 0, otherwise | 1: 5282 |
| Discharged place | Dummy variable: 1, discharged to another hospital or facility; 0, otherwise | 1: 1445 |
| Day 8 dummy | Dummy variable: 1, LOS is 8 days; 0, otherwise | 1: 547 |
| Day 30 dummy | Dummy variable: 1, LOS is over 29 days; 0, otherwise | 1: 198 |
| Second period | Dummy variable: 1, after April 2010; 0, otherwise | 1: 3198 |
| ICD10 dummies | ||
| E11.2 | 1: E11.2 (with kidney complications); 0: otherwise | 1: 266 |
| E11.3 | 1: E11.3 (with ophthalmic complications); 0: otherwise | 1: 420 |
| E11.4 | 1: E11.4 (with neurological complications); 0: otherwise | 1: 505 |
| E11.5 | 1: E11.5 (with circulatory complications); 0: otherwise | 1: 50 |
| E11.6 | 1: E11.6 (with other specified complications); 0: otherwise | 1: 1019 |
| E11.7 | 1: E11.7 (with multiple complications); 0: otherwise | 1: 1801 |
| Hospital dummies | ||
| Hp i | 1:Hospital i; 0: otherwise |