-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sampath K. Settipalli
committed
Nov 7, 2024
1 parent
4b57641
commit d543fb3
Showing
5 changed files
with
74 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...m-core/src/main/java/org/broadinstitute/dsm/service/onchistory/ParticipantIdProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
package org.broadinstitute.dsm.service.onchistory; | ||
|
||
import org.broadinstitute.dsm.model.elastic.search.ElasticSearchParticipantDto; | ||
|
||
import java.util.Optional; | ||
|
||
public interface ParticipantIdProvider { | ||
|
||
/** | ||
* Given a participant short ID return a participant ID | ||
*/ | ||
int getParticipantIdForShortId(String shortId); | ||
|
||
Optional<ElasticSearchParticipantDto> getParticipantDataForShortId(String shortId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
pepper-apis/dsm-core/src/test/resources/onchistory/lmsOncHistoryExited.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
RECORD_ID FACILITY_PATH_REVIEW FACILITY_PX ACCESSION DATE_PX TYPE_PX LOCATION_PX HISTOLOGY TUMOR_SIZE VIABLE_TUMOR NECROSIS TX_EFFECT BLOCKS_TO_REQUEST SLIDES_TO_REQUEST SLIDES_TOTAL REQUEST_STATUS | ||
xyz-exit my place 4 3/15/2005 Office 5cm x 6cm x 1cm 100 50 abc "a,b" review | ||
lmn Office 5 2/12/2019 Unknown None 94 None abc a 3 sent | ||
lmn Clinic your place 12/12/2022 Hospital 5cm x 6cm x 1cm 50 abc "c,d" 1 |