Open hknahal opened 1 year ago
This issue is seen in Prod as well in the APGI-AU
program. The Submitted Data
view for Treatment
data is reporting 2 errors for the treatment_setting
field but the submitted values are valid. It's unclear which rows exactly are being reported as errors because the cells with the error are not highlighted in the table. The submitted value Not applicable
is valid because a program-level exception has been applied to the treatment_setting
field. The submitted value Advanced/Metastatic
is also valid because it is an enum value from the dictionary for the treatment_setting
field:
Unclear why these are being reported as errors.
Describe the bug
Fields which have clinical exception values (ie.
treatment_setting
=Not applicable
) are reported as errors in the downloaded error report TSV fileSteps To Reproduce
Link to view
Treatment
data in "Submitted Data" view inTEST-CA
program on Staging: https://platform.staging.icgc-argo.org/submission/program/TEST-CA/clinical-data?donorId=&tab=treatmentSteps to reproduce the behaviour:
100 rows
treatment_setting
has a value that is not permissible.It appears the clinical exception value of
Not applicable
for thetreatment_setting
field is being reported as an error incorrectly, even though thetreatment_setting
field has a clinical exception (NOTE: The pink error box at the top does not report this error). Clinical API confirmstreatment_setting
has a clinical exception value ofNot applicable
:Expected behaviour
Fields which have clinical exception values should not be reported as an error in the downloaded TSV error report file.