1 | Patients without dementia | 36 541 | 139 460 | 18 | 12.9 | 1.00 | |
| Patients with dementia but without other mental disorders | 19 065 | 55 550 | 18 | 32.4 | 1.96 (1.02–3.77) | 0.044 |
| Patients with dementia and other mental disorders | 17 430 | 56 994 | 28 | 49.1 | 3.22 (1.78–5.83) | < 0.001 |
2 | Patients without dementia | 36 541 | 139 460 | 18 | 12.9 | 1.00 | |
| Patients with dementia but without other mental disorders | 19 065 | 55 550 | 18 | 32.4 | 1.96 (1.02–3.77) | 0.044 |
| Patients diagnosed with other mental disorders before dementia† | 13 389 | 40 421 | 25 | 61.8 | 3.77 (2.05–6.91) | < 0.001 |
| Patients diagnosed with other mental disorders after dementia | 4069 | 16 573 | 3 | 18.1 | 1.46 (0.43–4.97) | 0.54 |