@Role
public interface MatchFinder
| Modifier and Type | Method and Description |
|---|---|
int |
findMatches(List<String> patientIds,
Set<String> serverIds,
boolean onlyUpdatedAfterLastRun)
Finds matches for all patients.
|
javax.ws.rs.core.Response |
findMatches(org.phenotips.data.Patient patient,
String serverId)
Finds matches for a given patient.
|
org.json.JSONObject |
getLastUpdatedDateForServerForPatient(String patientId,
String serverId)
Finds last matches update status for a provided
patientId patient for the selected server. |
int |
getPriority() |
Set<String> |
getSupportedServerIdList() |
int getPriority()
Set<String> getSupportedServerIdList()
int findMatches(List<String> patientIds, Set<String> serverIds, boolean onlyUpdatedAfterLastRun)
patientIds - List of local patients IDsserverIds - a list of servers to be used for matches search indicated by their ids. Servers which
are not supported by the given matcher will be silently ignored.onlyUpdatedAfterLastRun - if true, only considers patients updated after the last time matcher was runjavax.ws.rs.core.Response findMatches(org.phenotips.data.Patient patient,
String serverId)
patient - local reference patientserverId - the remote or local server to be queried for matching patientsorg.json.JSONObject getLastUpdatedDateForServerForPatient(String patientId, String serverId)
patientId patient for the selected server.patientId - local patient IDserverId - the remote or local serverCopyright © 2011–2019 University of Toronto, Computational Biology Lab. All rights reserved.