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

add clinicalCompletedDate to detailed cases #62

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

grapigeau
Copy link
Contributor

Jira ticket: https://jira.oicr.on.ca/browse/GP-4519

  • Includes a change file
  • Updates developer documentation

for (CaseRelease release : deliverable.getReleases()) {
ReleaseQcStatus status = release.getQcStatus();
if (status == null || status.isPending()) {
if (!clinicalOnly || (clinicalOnly && deliverable.getDeliverableType() == DeliverableType.CLINICAL_REPORT)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be simplified to

if (!clinicalOnly || deliverable.getDeliverableType() == DeliverableType.CLINICAL_REPORT)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd prefer to keep the clinicalOnly && . I think it makes the intent clearer

@grapigeau grapigeau merged commit 6ef5bb1 into main Jan 22, 2025
3 checks 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