public interface IQuery<Y> extends IBaseQuery<IQuery<Y>>, IClientExecutable<IQuery<Y>,Y>
| Modifier and Type | Method and Description |
|---|---|
IQuery<Y> |
and(ICriterion<?> theCriterion) |
IQuery<Y> |
count(int theCount)
Specifies the
_count parameter, which indicates to the server how many resources should be returned
on a single page. |
IQuery<Y> |
include(Include theInclude)
Add an "_include" specification or an "_include:recurse" specification.
|
IQuery<Y> |
lastUpdated(DateRangeParam theLastUpdated)
Add a "_lastUpdated" specification
|
IQuery<Y> |
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<Y> |
revInclude(Include theIncludeTarget)
Add a "_revinclude" specification
|
ISort<Y> |
sort() |
IQuery<Y> |
usingStyle(SearchStyleEnum theStyle)
Forces the query to perform the search using the given method (allowable methods are described in the
FHIR Search Specification)
|
IQuery<Y> |
where(ICriterion<?> theCriterion) |
IQuery<Y> |
withAnyProfile(Collection<String> theProfileUris)
Matches any of the profiles given as argument.
|
IQuery<Y> |
withIdAndCompartment(String theResourceId,
String theCompartmentName) |
IQuery<Y> |
withProfile(String theProfileUri)
Match only resources where the resource has the given profile declaration.
|
IQuery<Y> |
withSecurity(String theSystem,
String theCode)
Match only resources where the resource has the given security tag.
|
IQuery<Y> |
withTag(String theSystem,
String theCode)
Match only resources where the resource has the given tag.
|
whereandLogRequestAndResponse, elementsSubset, encoded, encodedJson, encodedXml, execute, preferResponseType, preferResponseTypes, prettyPrint, summaryModeIQuery<Y> include(Include theInclude)
.include(Patient.INCLUDE_ORGANIZATION.asRecursive())
.include(Patient.INCLUDE_ORGANIZATION.asNonRecursive())
@Deprecated IQuery<Y> 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<Y> count(int theCount)
_count parameter, which indicates to the server how many resources should be returned
on a single page.IQuery<Y> 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<Y> 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<Y> withProfile(String theProfileUri)
_profile URL parameter.theProfileUri - The URI of a given profile to search for resources which matchIQuery<Y> withAnyProfile(Collection<String> theProfileUris)
withProfile(String).theProfileUris - The URIs of a given profile to search for resources which match.IQuery<Y> usingStyle(SearchStyleEnum theStyle)
This can be used to force the use of an HTTP POST instead of an HTTP GET
SearchStyleEnumIQuery<Y> withIdAndCompartment(String theResourceId, String theCompartmentName)
IQuery<Y> revInclude(Include theIncludeTarget)
IQuery<Y> 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<Y> where(ICriterion<?> theCriterion)
where in interface IBaseQuery<IQuery<Y>>IQuery<Y> and(ICriterion<?> theCriterion)
and in interface IBaseQuery<IQuery<Y>>Copyright © 2014–2017 University Health Network. All rights reserved.