Closed hknahal closed 1 year ago
If tumour_grading_system
has an exception value of Not applicable
but tumour_grade
is not Not applicable
also, the error message is not clear. It should say:
'G2' is not a permissible value. When 'tumour_grading_system' is set to 'Not applicable', 'tumour_grade' must be one of the following: Not applicable
Closing ticket. Released in Dictionary version 1.18
When an exception value is applied to a field that is conditional, the validation needs to take the new exception value into account.
Example: The field
lymph_nodes_examined_method
is dependent onlymph_nodes_examined_status
field. The current validation script does not take the valueUnknown
into account and needs to be updated to include it. The fieldlymph_nodes_examined_method
should not be submitted iflymph_nodes_examined_status
isUnknown
.