Skip to content

Release v69.10.0

Choose a tag to compare

@clingen-sthlm clingen-sthlm released this 07 May 08:05

Add support for raredisease orders (#4363)(minor)

Description

Adds validation and storing support to Raredisease orders. Uses all existing validation from MIP-DNA plus an additional validation that checks that all samples in a case have app tags belonging to the same prep category.

Added

  • New case validation rule validate_samples_in_case_have_same_prep_category for Raredisease and MIP-DNA
  • Utils function to get prep categories for samples of a case
  • Error model for multiple samples in a case having same prep category
  • Models for the validation of raredisease orders inheriting from MIP:
    • Order (fixing type hints for cases)
    • Case (fixing type hints for sample and for methods
    • Sample
  • Allowed Raredisease delivery types
  • Validation rules
  • Entry for Raredisease to Storing registry