-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pepper 1040 unable obtain tissue fix #2928
Conversation
…ue is checked/set to true
…ue is checked/set to true
…ue is checked/set to true
nameValues.add(setAdditionalValue("oD.request", | ||
new Patch(patch.getId(), PARTICIPANT_ID, patch.getParentId(), patch.getUser(), patch.getNameValue(), | ||
patch.getNameValues(), patch.getDdpParticipantId()), "sent")); | ||
patch.getNameValues(), patch.getDdpParticipantId()), OncHistoryDetail.UNABLE_OBTAIN_TISSUE)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set the request : status/value when the "unable to obtain tissue" checkbox is checked/true
@@ -11,7 +16,9 @@ public OncHistoryDetailUnableObtainTissueStrategy(GeneratorPayload generatorPayl | |||
@Override | |||
public Map<String, Object> generate() { | |||
if (isUnableToObtain()) { | |||
return Map.of(); | |||
Map<String, Object> resultMap = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to update in elastic
pepper-apis/dsm-core/src/main/java/org/broadinstitute/dsm/model/patch/BasePatch.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment.
PEPPER-1040
set the tissue request : status/value to "UnableToObtain" when the "unable to obtain tissue" checkbox is checked/true