Closed hknahal closed 1 year ago
Tested on DEV using HNAHAL-CA
Test case 1: Missing dose when dose units have been submitted
If chemotherapy_drug_dose_units
has an enum submitted from the dictionary (ex. chemotherapy_drug_dose_units = mg/m2
) and prescribed_cumulative_drug_dose
and actual_cumulative_drug_dose
fields are left empty, the validation should fail.
Result: Validation fails as expected
Test case 2: Dose field(s) are submitted when chemotherapy_drug_dose_units
has a clinical exception value of Not applicable
If chemotherapy_drug_dose_units
has a clinical exception so that chemotherapy_drug_dose_units
= Not applicable
, but both/either prescribed_cumulative_drug_dose
and actual_cumulative_drug_dose
fields are submitted, the validation should fail.
Result: Validation fails as expected
Tested in Dev HNAHAL-CA
, working as expected!
Related to https://github.com/icgc-argo/argo-dictionary/issues/409
To test: