public class ReferenceClientParam extends Object implements IParam
| Constructor and Description |
|---|
ReferenceClientParam(String theName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParamName()
Returns the name of this parameter
|
ICriterion<ReferenceClientParam> |
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).
|
ICriterion<ReferenceClientParam> |
hasAnyOfIds(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).
|
ICriterion<ReferenceClientParam> |
hasChainedProperty(ICriterion<?> theCriterion)
Include a chained search.
|
ICriterion<ReferenceClientParam> |
hasChainedProperty(String theResourceType,
ICriterion<?> theCriterion)
Include a chained search with a resource type.
|
ICriterion<ReferenceClientParam> |
hasId(IIdType theId)
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<ReferenceClientParam> |
hasId(String theId)
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
:missing qualifier for this parameter. |
public ReferenceClientParam(String theName)
public String getParamName()
IParamgetParamName in interface IParampublic ICriterion<ReferenceClientParam> hasChainedProperty(ICriterion<?> theCriterion)
Bundle resp = ourClient
.search()
.forResource(QuestionnaireResponse.class)
.where(QuestionnaireResponse.SUBJECT.hasChainedProperty(Patient.FAMILY.matches().value("SMITH")))
.returnBundle(Bundle.class)
.execute();
public ICriterion<ReferenceClientParam> hasChainedProperty(String theResourceType, ICriterion<?> theCriterion)
Bundle resp = ourClient
.search()
.forResource(QuestionnaireResponse.class)
.where(QuestionnaireResponse.SUBJECT.hasChainedProperty("Patient", Patient.FAMILY.matches().value("SMITH")))
.returnBundle(Bundle.class)
.execute();
public ICriterion<ReferenceClientParam> hasId(IIdType theId)
public ICriterion<ReferenceClientParam> hasId(String theId)
public ICriterion<ReferenceClientParam> hasAnyOfIds(Collection<String> theIds)
where criteria
with the same parameter.public ICriterion<ReferenceClientParam> hasAnyOfIds(String... theIds)
where criteria
with the same parameter.public ICriterion<?> isMissing(boolean theMissing)
IParam:missing qualifier for this parameter. Set this to true
to indicate that the server should return resources with this value populated
. Set this tofalse to indicate that the server should return resources with this value missing.Copyright © 2014–2019 University Health Network. All rights reserved.