| Modifier and Type | Method and Description |
|---|---|
PatientMatch |
MatchingNotificationManager.addNote(Long matchId,
String note)
Saves note for a match that has the given
matchId internal ID. |
PatientMatch |
MatchingNotificationManager.getMatch(Long matchId)
Returns a match that has the given
matchId internal ID. |
PatientMatch |
MatchingNotificationManager.saveComment(Long matchId,
String comment)
Saves comment for a match that has the given
matchId internal ID. |
PatientMatch |
MatchingNotificationManager.setStatus(Long matchId,
String status)
Sets status for a match that has the given
matchId internal ID. |
PatientMatch |
MatchingNotificationManager.setUserContacted(Long matchId,
boolean isUserContacted)
Marks all matches with ids in
matchesIds as user-contacted or not. |
| Modifier and Type | Method and Description |
|---|---|
List<PatientMatch> |
MatchingNotificationManager.saveIncomingMatches(List<? extends PatientSimilarityView> similarityViews,
String patientId,
String remoteId)
Saves a list of matches that were found by a remote incoming request.
|
List<PatientMatch> |
MatchingNotificationManager.saveOutgoingMatches(List<? extends PatientSimilarityView> similarityViews,
String patientId,
String remoteId)
Saves a list of matches that were found by a remote outgoing request.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
PatientMatchExport.toJSON(List<PatientMatch> matches) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PatientMatch.hasSameMatchData(PatientMatch other)
Checks that matches are equivalent (see
isEquivalent()) and that the match data is the same,
meaning that scores are the same, phenotype/genotype is the same, etc. |
boolean |
PatientMatch.isEquivalent(PatientMatch other)
Checks if
other is equivalent to this. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PatientMatch> |
PatientMatchEmail.getMatches() |
Collection<PatientMatch> |
PatientMatchNotificationResponse.getPatientMatches() |
| Modifier and Type | Method and Description |
|---|---|
PatientMatchEmail |
PatientMatchNotifier.createUserEmail(PatientMatch match,
String subjectPatientId,
String subjectServerId,
String customEmailText,
String customEmailSubject)
Generates a email to be sent from the current user to the owner of the subjectPatientId on subjectServerId
describing the given match.
|
| Modifier and Type | Method and Description |
|---|---|
List<PatientMatchEmail> |
PatientMatchNotifier.createAdminEmailsToLocalUsers(List<PatientMatch> matches,
Map<Long,List<String>> matchesIds)
Build a list of emails based on the given matches.
|
void |
PatientMatchNotificationResponse.setPatientMatches(Collection<PatientMatch> matches) |
| Modifier and Type | Method and Description |
|---|---|
List<PatientMatch> |
MatchStorageManager.loadMatches(String patientId,
double score,
double phenScore,
double genScore,
boolean onlyCurrentUserAccessible,
Timestamp fromDate,
Timestamp toDate)
Loads matches filtered by the parameters.
|
List<PatientMatch> |
MatchStorageManager.loadMatchesByIds(Set<Long> matchesIds)
Load all matches with ids in
matchesIds. |
List<PatientMatch> |
MatchStorageManager.saveLocalMatches(Collection<? extends PatientSimilarityView> similarityViews,
String patientId)
Saves a list of local matches.
|
List<PatientMatch> |
MatchStorageManager.saveRemoteMatches(Collection<? extends PatientSimilarityView> similarityViews,
String patientId,
String serverId,
boolean isIncoming)
Saves a list of matches that were found by a remote outgoing/incoming request.
|
Collection<PatientMatch> |
MatchStorageManager.updateNotificationHistory(PatientMatch match,
org.json.JSONObject notificationRecord)
Updates a notification history JSON log string with new notification record.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MatchStorageManager.addNote(PatientMatch match,
String note)
Saves a
note to a match. |
boolean |
MatchStorageManager.saveComment(PatientMatch match,
String comment)
Saves
comment to a match. |
boolean |
MatchStorageManager.setStatus(PatientMatch match,
String status)
Sets
status to a match. |
boolean |
MatchStorageManager.setUserContacted(PatientMatch match,
boolean isUserContacted)
Marks a
match as user-contacted or not. |
boolean |
MatchStorageManager.updateNotes(PatientMatch match,
String note)
Updates match notes string property with new note record.
|
Collection<PatientMatch> |
MatchStorageManager.updateNotificationHistory(PatientMatch match,
org.json.JSONObject notificationRecord)
Updates a notification history JSON log string with new notification record.
|
Copyright © 2011–2019 University of Toronto, Computational Biology Lab. All rights reserved.