Track ethics approval
I didn't want to include the URLs to a bunch of internal tools to the code itself, so the next steps can be configured. I also made it so that different next steps can be included for different departments, e.g. CHM can get other next steps than ARC. This resulted in quite a bit of complexity. Here are a few examples:
If there are no next steps:
Thank you for storing the ethics application and approval for your study 1-asd. The RDM team has confirmed that the documents match the registered study. You are now eligible proceed with our study.
More information on various aspects of the study organization can be found in MAX: https://max.mpg.de/sites/bild/Campus/Seiten/Study-Organization.aspx
If there is a single next step:
Thank you for storing the ethics application and approval for your study 1-asd. The RDM team has confirmed that the documents match the registered study. You are now eligible proceed with our study, e.g. Recruit participants via Castellum (https://example.com/studies/create/?name=asd&contact_person=admin&email=admin%40example.com&url=https%3A%2F%2Fexample.com%2Fstudies%2F1-asd%2F)
More information on various aspects of the study organization can be found in MAX: https://max.mpg.de/sites/bild/Campus/Seiten/Study-Organization.aspx
If there are multiple next steps:
Thank you for storing the ethics application and approval for your study 1-asd. The RDM team has confirmed that the documents match the registered study. You are now eligible proceed with our study, e.g.:
Recruit participants via Castellum (https://example.com/studies/create/?name=asd&contact_person=admin&email=admin%40example.com&url=https%3A%2F%2Fexample.com%2Fstudies%2F1-asd%2F)
Apply for reimbursement of expenses for participants (https://example.com/studies/1-asd/budgets/new/)
Request a deployment (https://example.com/studies/1-asd/deployments/new/)
More information on various aspects of the study organization can be found in MAX: https://max.mpg.de/sites/bild/Campus/Seiten/Study-Organization.aspx