Ticket #138 (assigned task)

Opened 3 years ago

Last modified 2 years ago

Implement study quality criteria for publication

Reported by: business@… Owned by: business@…
Priority: major Milestone: Should have
Component: General Version:
Keywords: Cc:
Product: Operating system:
URL: Hardware:

Description (last modified by business@…) (diff)

A study should only be published if it meets certain criteria:

  • It should have no orphan samples (all samples should have a parent subject and parent sampling event)
  • It should have at least 1 event?
  • Further requirements, TODO now for Jildau to define these

Implement tests for this functionality (such as SampleTests?.testStudyPublish for the first criterium), and then implement this functionality in Study.constraints as a custom validator for the 'published' field. If validation fails, a clear error message should be returned stating which criteria were not met and for how many entities that was the case.

Change History

Changed 3 years ago by business@…

  • description modified (diff)

Changed 3 years ago by work@…

would it be an idea to ask for some pubmed id, or search pubmed to see if the study was published?

Changed 3 years ago by business@…

'Published' in GSCF doesn't necessarily mean that there is also a published scientific paper, I meant a property that indicates whether the study is actually visible to the study readers and writers you specify (or everyone if the study is public too), and that's also how 'published' is now implemented. If a study is not 'published' it's only viewable by yourself.

Changed 2 years ago by work@…

  • status changed from new to assigned
  • owner changed from jildau.bouwman@… to business@…
Note: See TracTickets for help on using tickets.