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

For sample pre/post treatment use Sample acq or Specimen track #9984

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

dippindots
Copy link
Member

@dippindots dippindots commented Jan 26, 2023

Fix #9966

Describe changes proposed in this pull request:

  • samples to be added to the treatments table only if they have a sample acquisition date or specimen date (clinical_event.EVENT_TYPE is Sample Acquisition or SPECIMEN, case insensitive)
  • Update unit tests for treatment count

Luke-Sikina and others added 2 commits January 27, 2023 10:11
- People want samples to be added to the treatments table only if
they have a sample aquisition date
- You should figure out if this should be configurable or not.
As is, you're probably removing the sample treatment chart from
many public studies
@dippindots dippindots force-pushed the demo-genie-treatments-fix branch from 00fc349 to 86e7402 Compare January 27, 2023 15:11
@dippindots dippindots force-pushed the demo-genie-treatments-fix branch from 86e7402 to ccf129e Compare January 27, 2023 15:22
@dippindots dippindots requested a review from inodb January 30, 2023 15:25
Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@inodb inodb changed the title GENIE treatments fix For sample pre/post treatment use Sampl acq or Specimen track Jan 30, 2023
@@ -33,6 +33,7 @@
INNER JOIN cancer_study ON patient.CANCER_STUDY_ID = cancer_study.CANCER_STUDY_ID
<include refid="where"/>
AND clinical_event_data.KEY = 'SAMPLE_ID'
AND (clinical_event.EVENT_TYPE = 'Sample Acquisition' OR clinical_event.EVENT_TYPE = 'SPECIMEN')
Copy link
Member

Choose a reason for hiding this comment

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

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

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

LGTM - thanks so much!

@dippindots dippindots self-assigned this Jan 30, 2023
@dippindots dippindots changed the title For sample pre/post treatment use Sampl acq or Specimen track For sample pre/post treatment use Sample acq or Specimen track Jan 30, 2023
@dippindots dippindots added the bug label Jan 30, 2023
@dippindots dippindots merged commit 2669c98 into master Jan 30, 2023
@dippindots dippindots deleted the demo-genie-treatments-fix branch January 31, 2023 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

for pre/post treatment determination on study view do not use sequencing track
3 participants