Uses of Interface
ca.uhn.fhir.rest.gclient.IQuery
-
Uses of IQuery in ca.uhn.fhir.rest.gclient
Modifier and TypeMethodDescriptionIQuery.and
(ICriterion<?> theCriterion) Add a search parameter to the query.Sort ascendingSort ascendingPerform a search directly by URL.IQuery.count
(int theCount) Specifies the_count
parameter, which indicates to the server how many resources should be returned on a single page.ISort.defaultOrder
(IParam theParam) Sort by the default order.ISort.defaultOrder
(String theParam) Sort by the default order.ISort.descending
(IParam theParam) Sort descendingISort.descending
(String theParam) Sort ascendingIUntypedQuery.forAllResources()
IUntypedQuery.forResource
(Class<? extends IBaseResource> theClass) IUntypedQuery.forResource
(String theResourceName) Add an "_include" specification or an "_include:recurse" specification.IQuery.lastUpdated
(DateRangeParam theLastUpdated) Add a "_lastUpdated" specificationIQuery.limitTo
(int theLimitTo) Deprecated.This parameter is badly named, since FHIR calls this parameter "_count" and not "_limit".IQuery.offset
(int theOffset) Specifies the_offset
parameter, which indicates to the server the offset of the query.<B extends IBaseBundle>
IQuery<B> IQuery.returnBundle
(Class<B> theClass) Request that the client return the specified bundle type, e.g.IQuery.revInclude
(Include theIncludeTarget) Add a "_revinclude" specificationAdds a sort using aSortSpec
objectIQuery.totalMode
(SearchTotalModeEnum theTotalMode) Request that the server modify the response using the_total
param THIS IS AN EXPERIMENTAL FEATURE - Use with caution, as it may be removed or modified in a future version.IQuery.usingStyle
(SearchStyleEnum theStyle) Forces the query to perform the search using the given method (allowable methods are described in the FHIR Search Specification)IQuery.where
(ICriterion<?> theCriterion) Add a search parameter to the query.IQuery.withAnyProfile
(Collection<String> theProfileUris) Matches any of the profiles given as argument.IQuery.withIdAndCompartment
(String theResourceId, String theCompartmentName) IQuery.withProfile
(String theProfileUri) Match only resources where the resource has the given profile declaration.IQuery.withSecurity
(String theSystem, String theCode) Match only resources where the resource has the given security tag.Match only resources where the resource has the given tag.