Class Conformance.RestResourceSearchParam
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Conformance
Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.StringDt
addChain()
Adds and returns a new value for chain ()addChain
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for chain ()Adds a new value for chain ()ca.uhn.fhir.model.primitive.BoundCodeDt
<SearchModifierCodeEnum> Add a value for modifier ()ca.uhn.fhir.model.primitive.BoundCodeDt
<SearchModifierCodeEnum> addModifier
(SearchModifierCodeEnum theValue) Add a value for modifier () using an enumerated type.ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> Add a value for target ()ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> addTarget
(ResourceTypeEnum theValue) Add a value for target () using an enumerated type.<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) List
<ca.uhn.fhir.model.primitive.StringDt> getChain()
Gets the value(s) for chain ().ca.uhn.fhir.model.primitive.StringDt
Gets the first repetition for chain (), creating it if it does not already exist.Gets the value(s) for definition ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for definition ().Gets the value(s) for documentation ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for documentation ().List
<ca.uhn.fhir.model.primitive.BoundCodeDt<SearchModifierCodeEnum>> Gets the value(s) for modifier ().ca.uhn.fhir.model.primitive.BoundCodeDt
<SearchModifierCodeEnum> Gets the first repetition for modifier (), creating it if it does not already exist.getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().List
<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> Gets the value(s) for target ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ResourceTypeEnum> Gets the first repetition for target (), creating it if it does not already exist.getType()
Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt
<SearchParamTypeEnum> Gets the value(s) for type ().boolean
isEmpty()
Sets the value(s) for chain ()setDefinition
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for definition ()setDefinition
(String theUri) Sets the value for definition ()setDocumentation
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for documentation ()setDocumentation
(String theString) Sets the value for documentation ()setModifier
(SearchModifierCodeEnum theValue) Sets the value(s), and clears any existing value(s) for modifier ()setModifier
(List<ca.uhn.fhir.model.primitive.BoundCodeDt<SearchModifierCodeEnum>> theValue) Sets the value(s) for modifier ()setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setTarget
(ResourceTypeEnum theValue) Sets the value(s), and clears any existing value(s) for target ()setTarget
(List<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> theValue) Sets the value(s) for target ()setType
(SearchParamTypeEnum theValue) Sets the value(s) for type ()setType
(ca.uhn.fhir.model.primitive.BoundCodeDt<SearchParamTypeEnum> theValue) Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
RestResourceSearchParam
public RestResourceSearchParam()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: The name of the search parameter used in the interface
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: The name of the search parameter used in the interface
-
setName
Sets the value(s) for name ()Definition: The name of the search parameter used in the interface
-
setName
Sets the value for name ()Definition: The name of the search parameter used in the interface
-
getDefinitionElement
Gets the value(s) for definition (). creating it if it does not exist. Will not returnnull
.Definition: An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]])
-
getDefinition
Gets the value(s) for definition (). creating it if it does not exist. This method may returnnull
.Definition: An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]])
-
setDefinition
public Conformance.RestResourceSearchParam setDefinition(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for definition ()Definition: An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]])
-
setDefinition
Sets the value for definition ()Definition: An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]])
-
getTypeElement
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: The type of value a search parameter refers to, and how the content is interpreted
-
getType
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull
.Definition: The type of value a search parameter refers to, and how the content is interpreted
-
setType
public Conformance.RestResourceSearchParam setType(ca.uhn.fhir.model.primitive.BoundCodeDt<SearchParamTypeEnum> theValue) Sets the value(s) for type ()Definition: The type of value a search parameter refers to, and how the content is interpreted
-
setType
Sets the value(s) for type ()Definition: The type of value a search parameter refers to, and how the content is interpreted
-
getDocumentationElement
Gets the value(s) for documentation (). creating it if it does not exist. Will not returnnull
.Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
-
getDocumentation
Gets the value(s) for documentation (). creating it if it does not exist. This method may returnnull
.Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
-
setDocumentation
public Conformance.RestResourceSearchParam setDocumentation(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for documentation ()Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
-
setDocumentation
Sets the value for documentation ()Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
-
getTarget
Gets the value(s) for target (). creating it if it does not exist. Will not returnnull
.Definition: Types of resource (if a resource is referenced)
-
setTarget
public Conformance.RestResourceSearchParam setTarget(List<ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>> theValue) Sets the value(s) for target ()Definition: Types of resource (if a resource is referenced)
-
addTarget
public ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> addTarget(ResourceTypeEnum theValue) Add a value for target () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddTarget()
method.Definition: Types of resource (if a resource is referenced)
-
getTargetFirstRep
Gets the first repetition for target (), creating it if it does not already exist.Definition: Types of resource (if a resource is referenced)
-
addTarget
Add a value for target ()Definition: Types of resource (if a resource is referenced)
-
setTarget
Sets the value(s), and clears any existing value(s) for target ()Definition: Types of resource (if a resource is referenced)
-
getModifier
Gets the value(s) for modifier (). creating it if it does not exist. Will not returnnull
.Definition: A modifier supported for the search parameter
-
setModifier
public Conformance.RestResourceSearchParam setModifier(List<ca.uhn.fhir.model.primitive.BoundCodeDt<SearchModifierCodeEnum>> theValue) Sets the value(s) for modifier ()Definition: A modifier supported for the search parameter
-
addModifier
public ca.uhn.fhir.model.primitive.BoundCodeDt<SearchModifierCodeEnum> addModifier(SearchModifierCodeEnum theValue) Add a value for modifier () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddModifier()
method.Definition: A modifier supported for the search parameter
-
getModifierFirstRep
Gets the first repetition for modifier (), creating it if it does not already exist.Definition: A modifier supported for the search parameter
-
addModifier
Add a value for modifier ()Definition: A modifier supported for the search parameter
-
setModifier
Sets the value(s), and clears any existing value(s) for modifier ()Definition: A modifier supported for the search parameter
-
getChain
Gets the value(s) for chain (). creating it if it does not exist. Will not returnnull
.Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
-
setChain
public Conformance.RestResourceSearchParam setChain(List<ca.uhn.fhir.model.primitive.StringDt> theValue) Sets the value(s) for chain ()Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
-
addChain
Adds and returns a new value for chain ()Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
-
addChain
Adds a given new value for chain ()Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
- Parameters:
theValue
- The chain to add (must not benull
)
-
getChainFirstRep
Gets the first repetition for chain (), creating it if it does not already exist.Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
-
addChain
Adds a new value for chain ()Definition: Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-