Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add study related to collections #419

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

svituz
Copy link
Contributor

@svituz svituz commented Feb 28, 2024

This PR adds the possibility to link a clinical study to one or more collections. The clinical study is the context in which the collections of samples were generated.
This PR is needed to link BBMRI ERIC collections with ECRIN MDR clinical studies

The PR implements the following changes:

  • Model:
    • adds the eu_bbmri_eric_studies entity with some attributes for the studies
    • adds to eu_bbmri_eric_collections entity the nillable attribute study that references a study
    • changes the attribute national_node of the eu_bbmri_eric_also_know_in entity to be nillable. Indeed, in case the also_known entity is used to store information for a study, the national node is null, since the concept is not related to a study
  • UI
    • adds to the Collection page, in the info card on the right, a link to the details of the Study, if present
    • adds a Study page with the information of the Study. The page contains study attributes, the list of collections with the samples of the study, and an info card that just contains the link to the external catalog if present

A working demo can be found at http://rd-demo.directory.bbmri-eric.eu/ . An example of a collection is http://rd-demo.directory.bbmri-eric.eu/#/collection/bbmri-eric:ID:AT_MUG:collection:TheCoVVacBoostStudy-COVID-19boostervaccination From here it is possible to navigate to the Study page using the link in the info card on the right

Checklist

  • [] Functionality works & meets specifications
  • [] Code reviewed
  • Code unit/integration/system tested
  • User documentation updated
  • Clean commits
  • No warnings during install
  • Added to release notes

@konradlang
Copy link

Is there a possibility to use the study to link generated data to collections, e.g. use this to link back generated data?

@svituz svituz force-pushed the feat/add_studies_related_to_collections branch from 61a799d to 566f4f3 Compare March 12, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants