🐛 Disable the cross interval fields validation when there's exception on survival_time
.
#1186
Labels
bug
Something isn't working
survival_time
.
#1186
Describe the bug
There're programs (MONSTAR and P1000) requesting program level exceptions on field:
Donor/survival_time
.Since this field is the clinical endpoint in ARGO. It is used to validate all time interval related fields for other clinical events (ie. Follow up, Treatment, Specimen acquisition etc) if a patient is deceased.
However, if the program has requested exception on
Donor/survival_time
, we currently still enable the cross fields validations between the following interval fields andsurvival_time
and will issue validation errors.Steps To Reproduce
Context:
Steps to reproduce the behaviour:
specimen:
specimen.txt
treatment:
treatment.txt
follow_up:
follow_up.txt
[specimen_acquisition_interval] requires [donor.survival_time] in order to complete validation. Please upload data for all fields in this clinical data submission.
[treatment_start_interval] requires [donor.survival_time] in order to complete validation. Please upload data for all fields in this clinical data submission.
[interval_of_followup] requires [donor.survival_time] in order to complete validation. Please upload data for all fields in this clinical data submission.
Expected behaviour
If the program has requested exceptions on
Donor/survival_time
, we need to disable the cross validation between interval fields andsurvival_time
.The text was updated successfully, but these errors were encountered: