public class OutcomeToClinicalTrials
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getClinicalTrialIds()
Get the list of all clinical trials
|
java.util.Collection<java.lang.String> |
getClinicalTrialsForOutcome(java.lang.String outcomeId)
Get the list of all clinical trials for the specific outcome id
|
static OutcomeToClinicalTrials |
getInstance()
Public static getInstance method
|
java.util.List<java.lang.String> |
getOutcomeIds()
Get the list of all outcome ids
|
java.lang.String |
getOutcomeName(java.lang.String id)
Get the name for a particular outcome
|
java.util.Collection<java.lang.String> |
getOutcomeTermsForClinicalTrial(java.lang.String clinicalTrial)
Get the list of outcomes for a specific clinical trial
|
static void |
main(java.lang.String[] args)
Sample code
|
public static OutcomeToClinicalTrials getInstance()
public java.util.List<java.lang.String> getOutcomeIds()
public java.lang.String getOutcomeName(java.lang.String id)
id
- outcome idpublic java.util.List<java.lang.String> getClinicalTrialIds()
public java.util.Collection<java.lang.String> getClinicalTrialsForOutcome(java.lang.String outcomeId)
outcomeId
- outcome idpublic java.util.Collection<java.lang.String> getOutcomeTermsForClinicalTrial(java.lang.String clinicalTrial)
clinicalTrial
- clinical trial idpublic static void main(java.lang.String[] args)
args
- arguments