Filtering results
An end user might use this method, for example, when looking for topics with a drug name in a custom field.
class TopicsServiceContext {
…
List<TopicsSortOrder> sortOrder;
List<TopicsFilter> filter;
…
}
After the end user selects one or more filters, set the
filter field in the TopicsServiceContext
when calling getTopicContexts, getFieldValues,
and getProjects. TopicsFilter is a list of
filter field names and the selected filter values. The fieldName
field must be one of the values in the fieldNames field returned
from getFilters and the value must be one of
the associated values returned from getFilters.
Parent topic: Get filters