Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Clinical exception values reported as errors in Submitted Data view #1042

Open
hknahal opened this issue Aug 21, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working submitted data view

Comments

@hknahal
Copy link

hknahal commented Aug 21, 2023

Describe the bug

Fields which have clinical exception values (ie. treatment_setting = Not applicable) are reported as errors in the downloaded error report TSV file

Steps To Reproduce

Link to view Treatment data in "Submitted Data" view in TEST-CA program on Staging: https://platform.staging.icgc-argo.org/submission/program/TEST-CA/clinical-data?donorId=&tab=treatment

Steps to reproduce the behaviour:

  1. Change pagination to 100 rows
  2. Click on 'Error Report' to download TSV file of errors: ERROR_report.csv
  3. TSV error report reports 4 rows that have errors because treatment_setting has a value that is not permissible.
    error_report_trt_setting

It appears the clinical exception value of Not applicable for the treatment_setting field is being reported as an error incorrectly, even though the treatment_setting field has a clinical exception (NOTE: The pink error box at the top does not report this error).
treatment_setting
Clinical API confirms treatment_setting has a clinical exception value of Not applicable:
treatment_setting_exception

Expected behaviour

Fields which have clinical exception values should not be reported as an error in the downloaded TSV error report file.

@hknahal hknahal added the bug Something isn't working label Aug 21, 2023
@hknahal hknahal changed the title 🐛 Clinical exception values reported as errors in 'Submitted Data' view 🐛 Clinical exception values reported as errors in Submitted Data view Aug 21, 2023
@hknahal
Copy link
Author

hknahal commented Sep 6, 2023

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:

apgi-au_sd_error

Unclear why these are being reported as errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working submitted data view
Projects
None yet
Development

No branches or pull requests

2 participants