public interface IQuery<T> extends IClientExecutable<IQuery<T>,T>, IBaseQuery<IQuery<T>>
| Modifier and Type | Method and Description |
|---|---|
IQuery<T> |
and(ICriterion<?> theCriterion) |
IQuery<T> |
count(int theCount)
Specifies the
_count parameter, which indicates to the server how many resources should be returned
on a single page. |
IQuery<T> |
include(Include theInclude)
Add an "_include" specification or an "_include:recurse" specification.
|
IQuery<T> |
lastUpdated(DateRangeParam theLastUpdated)
Add a "_lastUpdated" specification
|
IQuery<T> |
limitTo(int theLimitTo)
Deprecated.
This parameter is badly named, since FHIR calls this parameter "_count" and not "_limit". Use
count(int) instead (it also sets the _count parameter) |
<B extends IBaseBundle> |
returnBundle(Class<B> theClass)
Request that the client return the specified bundle type, e.g.
|
IQuery<T> |
revInclude(Include theIncludeTarget)
Add a "_revinclude" specification
|
ISort<T> |
sort() |
IQuery<T> |
usingStyle(SearchStyleEnum theStyle)
Forces the query to perform the search using the given method (allowable methods are described in the
FHIR Specification Section 2.1.11)
|
IQuery<T> |
where(ICriterion<?> theCriterion) |
IQuery<T> |
withIdAndCompartment(String theResourceId,
String theCompartmentName) |
IQuery<T> |
withProfile(String theProfileUri)
Match only resources where the resource has the given profile declaration.
|
IQuery<T> |
withSecurity(String theSystem,
String theCode)
Match only resources where the resource has the given security tag.
|
IQuery<T> |
withTag(String theSystem,
String theCode)
Match only resources where the resource has the given tag.
|
andLogRequestAndResponse, elementsSubset, encodedJson, encodedXml, execute, prettyPrint, summaryModeIQuery<T> include(Include theInclude)
.include(Patient.INCLUDE_ORGANIZATION.asRecursive())
.include(Patient.INCLUDE_ORGANIZATION.asNonRecursive())
@Deprecated IQuery<T> limitTo(int theLimitTo)
count(int) instead (it also sets the _count parameter)_count parameter, which indicates to the server how many resources should be returned
on a single page.IQuery<T> count(int theCount)
_count parameter, which indicates to the server how many resources should be returned
on a single page.IQuery<T> withTag(String theSystem, String theCode)
_tag URL parameter.theSystem - The tag code system, or null to match any code system (this may not be supported on all servers)theCode - The tag code. Must not be null or empty.IQuery<T> withSecurity(String theSystem, String theCode)
_security URL parameter.theSystem - The tag code system, or null to match any code system (this may not be supported on all servers)theCode - The tag code. Must not be null or empty.IQuery<T> withProfile(String theProfileUri)
_profile URL parameter.theSystem - The tag code system, or null to match any code system (this may not be supported on all servers)theCode - The tag code. Must not be null or empty.IQuery<T> usingStyle(SearchStyleEnum theStyle)
SearchStyleEnumIQuery<T> withIdAndCompartment(String theResourceId, String theCompartmentName)
IQuery<T> revInclude(Include theIncludeTarget)
IQuery<T> lastUpdated(DateRangeParam theLastUpdated)
<B extends IBaseBundle> IQuery<B> returnBundle(Class<B> theClass)
org.hl7.fhir.instance.model.Bundle.class
or ca.uhn.fhir.model.dstu2.resource.Bundle.classIQuery<T> where(ICriterion<?> theCriterion)
where in interface IBaseQuery<IQuery<T>>IQuery<T> and(ICriterion<?> theCriterion)
and in interface IBaseQuery<IQuery<T>>Copyright © 2014–2016 University Health Network. All rights reserved.