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

Data Dictionary V1.23 #434

Merged
merged 11 commits into from
Aug 19, 2024
Merged

Data Dictionary V1.23 #434

merged 11 commits into from
Aug 19, 2024

Conversation

lindaxiang
Copy link
Contributor

Update:

  1. Added two optional fields in radiation schema to denote radiation boost
  2. Allow negative interval in specimen to ingest the data from Monstar

Both dictionary changes have been tested successfully in QA.

Copy link
Member

@justincorrigible justincorrigible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left a couple suggestions and a question, that all can be ignored.

references/validationFunctions/radiation/radiationBoost.js Outdated Show resolved Hide resolved
tests/radiation/radiationBoost.test.js Outdated Show resolved Hide resolved
loadObjects(radiation,
{
"radiation_boost": "yes",
"reference_radiation_treatment_id": "tr2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will there ever be a case when treatment ID is "unknown" or other generic values? if so, is that valid?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justincorrigible you pointed out a valid use case. However based on the current validation rule, if indicating radiation_boost as yes while treatment ID is "Unknown", the program will need to apply exception on field reference_radiation_treatment_id.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like something to be addressed in a different PR.
This one is good to go 👍

@lindaxiang
Copy link
Contributor Author

If you are DCC admin, you can use the following test files to test the dictionary updates:
QA platform: https://platform-ui.argo-qa.cumulus.genomeinformatics.org/
program: MONSTAR-JP
clinical files:

  1. specimen has negative intervals - specimen_v1.23.txt
  2. treatment - treatment_v1.23.txt
  3. radiation has two optional fields to denote radiation boost for one donor - radiation_dictionary_v1.23.txt

Copy link
Member

@justincorrigible justincorrigible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it! :shipit:

@lindaxiang lindaxiang merged commit 33172b1 into master Aug 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants