Data Availability
According to Danish legislation, the collection of electronic health register data is mandatory, and data were collected for research purposes in accordance with the approved protocol (see Supplemental Appendix). The Danish National Ethics Committee granted an exemption for patients to provide informed consent in order to share electronic health data. The exemption was based on the potential high impact for the patient group in question, thus considered to outweigh the issues raised by an exemption. This exemption was also extended to allow analyses of biobank samples including extensive molecular analyses for the retrospective part of the cohort, while for such prospective sampling, written informed consent was provided by patients to collect and analyze biobank samples and electronic health data. Due to pseudonymized but not fully anonymized nature of data, access to the data resource will be based on a Data Usage Agreement (named Data Processor Agreement [DPA], see Supplemental Appendix 1 for template). The DPA will specify the analyses performed on a collaborative basis, these analyses should be within the approved DALY-CARE protocol (Supplemental Appendix 2). All analyses must be performed on the DALY-CARE data resource at NGC. Except for pathology notes and medical notes, dummy tables are presented in Supplemental Appendix 3. The underlying code for this study is available on the DALY-CARE data resource and can be accessed on a collaborative basis on reasonable request to the corresponding author. Essential parts of the codebase are publicly available on Github and regularly updated.