Package ca.uhn.fhir.context
Class RuntimeSearchParam
java.lang.Object
ca.uhn.fhir.context.RuntimeSearchParam
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Constructor Summary
ConstructorDescriptionCopy constructorRuntimeSearchParam
(IIdType theId, String theUri, String theName, String theDescription, String thePath, RestSearchParameterTypeEnum theParamType, Set<String> theProvidesMembershipInCompartments, Set<String> theTargets, RuntimeSearchParam.RuntimeSearchParamStatusEnum theStatus, ComboSearchParamType theComboSearchParamType, List<RuntimeSearchParam.Component> theComponents, Collection<String> theBase) ConstructorRuntimeSearchParam
(IIdType theId, String theUri, String theName, String theDescription, String thePath, RestSearchParameterTypeEnum theParamType, Set<String> theProvidesMembershipInCompartments, Set<String> theTargets, RuntimeSearchParam.RuntimeSearchParamStatusEnum theStatus, Collection<String> theBase) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddExtension
(String theKey, IBaseExtension<?, ?> theValue) Sets user data - This can be used to store any application-specific datavoid
addUpliftRefchain
(String theCode, String theElementName) boolean
getBase()
Returnsnull
if this is not a combo search param typeList
<IBaseExtension<?, ?>> getExtensions
(String theKey) Retrieve user data - This can be used to store any application-specific datagetId()
getName()
getPath()
getPathsSplitForResourceType
(String theResourceName) Can return nullReturns a set of all codes associated with uplift refchains for this search parameter.getUri()
int
hashCode()
boolean
boolean
hasUpliftRefchain
(String theCode) Does this search parameter have an uplift refchain definition for the given code? See the HAPI FHIR documentation for a description of how uplift refchains work.boolean
Does this search parameter have any uplift refchain definitions? See the HAPI FHIR documentation for a description of how uplift refchains work.boolean
Is this search parameter actually enabled for being used in searches (as opposed to only being used for generating indexes, which might be desired while the search parameter is still being indexed).void
setEnabledForSearching
(boolean theEnabledForSearching) Is this search parameter actually enabled for being used in searches (as opposed to only being used for generating indexes, which might be desired while the search parameter is still being indexed).setPhoneticEncoder
(IPhoneticEncoder thePhoneticEncoder) toString()
-
Constructor Details
-
RuntimeSearchParam
public RuntimeSearchParam(IIdType theId, String theUri, String theName, String theDescription, String thePath, RestSearchParameterTypeEnum theParamType, Set<String> theProvidesMembershipInCompartments, Set<String> theTargets, RuntimeSearchParam.RuntimeSearchParamStatusEnum theStatus, Collection<String> theBase) Constructor -
RuntimeSearchParam
Copy constructor -
RuntimeSearchParam
public RuntimeSearchParam(IIdType theId, String theUri, String theName, String theDescription, String thePath, RestSearchParameterTypeEnum theParamType, Set<String> theProvidesMembershipInCompartments, Set<String> theTargets, RuntimeSearchParam.RuntimeSearchParamStatusEnum theStatus, ComboSearchParamType theComboSearchParamType, List<RuntimeSearchParam.Component> theComponents, Collection<String> theBase) Constructor
-
-
Method Details
-
isEnabledForSearching
Is this search parameter actually enabled for being used in searches (as opposed to only being used for generating indexes, which might be desired while the search parameter is still being indexed). This setting defaults to true if it isn't set otherwise. -
setEnabledForSearching
Is this search parameter actually enabled for being used in searches (as opposed to only being used for generating indexes, which might be desired while the search parameter is still being indexed). This setting defaults to true if it isn't set otherwise. -
getComponents
-
getComboSearchParamType
Returnsnull
if this is not a combo search param type -
getExtensions
Retrieve user data - This can be used to store any application-specific data -
addExtension
Sets user data - This can be used to store any application-specific data -
toString
-
getId
-
getIdUnqualifiedVersionless
-
getUri
-
equals
-
hashCode
-
getBase
-
getTargets
-
hasTargets
-
getStatus
-
getDescription
-
getName
-
getParamType
-
getPath
-
getPathsSplit
-
getProvidesMembershipInCompartments
Can return null -
setPhoneticEncoder
-
encode
-
getPathsSplitForResourceType
-
addUpliftRefchain
-
hasUpliftRefchain
Does this search parameter have an uplift refchain definition for the given code? See the HAPI FHIR documentation for a description of how uplift refchains work.- Since:
- 6.6.0
-
getUpliftRefchainCodes
Returns a set of all codes associated with uplift refchains for this search parameter. See the HAPI FHIR documentation for a description of how uplift refchains work.- Since:
- 6.6.0
-
hasUpliftRefchains
Does this search parameter have any uplift refchain definitions? See the HAPI FHIR documentation for a description of how uplift refchains work.- Since:
- 6.6.0
-