
Package ca.uhn.fhir.rest.gclient
Class ReferenceClientParam
java.lang.Object
ca.uhn.fhir.rest.gclient.ReferenceClientParam
- All Implemented Interfaces:
IParam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this parameterhasAnyOfIds(String... theIds) Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource).hasAnyOfIds(Collection<String> theIds) Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource).hasChainedProperty(ICriterion<?> theCriterion) Include a chained search.hasChainedProperty(String theResourceType, ICriterion<?> theCriterion) Include a chained search with a resource type.Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource)Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource)ICriterion<?> isMissing(boolean theMissing) Sets the:missingqualifier for this parameter.
-
Constructor Details
-
ReferenceClientParam
-
-
Method Details
-
getParamName
Description copied from interface:IParamReturns the name of this parameter- Specified by:
getParamNamein interfaceIParam
-
hasChainedProperty
Include a chained search. For example:Bundle resp = ourClient .search() .forResource(QuestionnaireResponse.class) .where(QuestionnaireResponse.SUBJECT.hasChainedProperty(Patient.FAMILY.matches().value("SMITH"))) .returnBundle(Bundle.class) .execute(); -
hasChainedProperty
public ICriterion<ReferenceClientParam> hasChainedProperty(String theResourceType, ICriterion<?> theCriterion) Include a chained search with a resource type. For example:Bundle resp = ourClient .search() .forResource(QuestionnaireResponse.class) .where(QuestionnaireResponse.SUBJECT.hasChainedProperty("Patient", Patient.FAMILY.matches().value("SMITH"))) .returnBundle(Bundle.class) .execute(); -
hasId
Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource) -
hasId
Match the referenced resource if the resource has the given ID (this can be the logical ID or the absolute URL of the resource) -
hasAnyOfIds
Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource). Note that to specify an AND search, simply add a subsequentwherecriteria with the same parameter. -
hasAnyOfIds
Match the referenced resource if the resource has ANY of the given IDs (this is an OR search, not an AND search), (this can be the logical ID or the absolute URL of the resource). Note that to specify an AND search, simply add a subsequentwherecriteria with the same parameter. -
isMissing
Description copied from interface:IParamSets the:missingqualifier for this parameter. Set this totrueto indicate that the server should return resources with this valuemissing
. Set this tofalseto indicate that the server should return resources with this value populated.
-