Package org.hl7.fhir.dstu2.model
Class SearchParameter
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.SearchParameter
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
A search parameter that defines a named search item that can be used to
search/filter on a resource.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeType
The base resource type that this search parameter refers to.protected CodeType
The code used in the URL or the parameter name in a parameters resource for this search parameter.Contacts to assist a user in finding and communicating with the publisher.protected DateTimeType
The date (and optionally time) when the search parameter definition was published.protected StringType
A description of the search parameters and how it used.protected BooleanType
A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.protected StringType
A free text natural language name identifying the search parameter.protected StringType
The name of the individual or organization that published the search parameter.protected StringType
The Scope and Usage that this search parameter was created to meet.static final String
static final String
static final String
static final String
static final String
static final String
static final String
The status of this search parameter definition.Types of resource (if a resource is referenced).protected Enumeration
<Enumerations.SearchParamType> The type of value a search parameter refers to, and how the content is interpreted.protected UriType
An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance.protected StringType
An XPath expression that returns a set of elements for the search parameter.protected Enumeration
<SearchParameter.XPathUsageType> How the search parameter relates to the set of elements returned by evaluating the xpath query.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionSearchParameter
(UriType url, StringType name, CodeType code, CodeType base, Enumeration<Enumerations.SearchParamType> type, StringType description) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getBase()
getCode()
getDate()
boolean
getName()
getType()
getUrl()
getXpath()
boolean
hasBase()
boolean
boolean
hasCode()
boolean
boolean
boolean
hasDate()
boolean
boolean
boolean
boolean
boolean
boolean
hasName()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
hasUrl()
boolean
boolean
hasXpath()
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setBaseElement
(CodeType value) setCodeElement
(CodeType value) setDateElement
(DateTimeType value) setDescription
(String value) setDescriptionElement
(StringType value) setExperimental
(boolean value) setNameElement
(StringType value) void
setProperty
(String name, Base value) setPublisher
(String value) setPublisherElement
(StringType value) setRequirements
(String value) setRequirementsElement
(StringType value) setUrlElement
(UriType value) setXpathElement
(StringType value) protected SearchParameter
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
url
An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published. -
name
A free text natural language name identifying the search parameter. -
status
The status of this search parameter definition. -
experimental
A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. -
publisher
The name of the individual or organization that published the search parameter. -
contact
Contacts to assist a user in finding and communicating with the publisher. -
date
The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes. -
requirements
The Scope and Usage that this search parameter was created to meet. -
code
The code used in the URL or the parameter name in a parameters resource for this search parameter. -
base
The base resource type that this search parameter refers to. -
type
The type of value a search parameter refers to, and how the content is interpreted. -
description
A description of the search parameters and how it used. -
xpath
An XPath expression that returns a set of elements for the search parameter. -
xpathUsage
How the search parameter relates to the set of elements returned by evaluating the xpath query. -
target
Types of resource (if a resource is referenced). -
SP_CODE
- See Also:
-
SP_NAME
- See Also:
-
SP_DESCRIPTION
- See Also:
-
SP_TYPE
- See Also:
-
SP_URL
- See Also:
-
SP_BASE
- See Also:
-
SP_TARGET
- See Also:
-
-
Constructor Details
-
SearchParameter
public SearchParameter() -
SearchParameter
public SearchParameter(UriType url, StringType name, CodeType code, CodeType base, Enumeration<Enumerations.SearchParamType> type, StringType description)
-
-
Method Details
-
getUrlElement
- Returns:
url
(An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
-
hasUrl
-
setUrlElement
- Parameters:
value
-url
(An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
- Returns:
- An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.
-
setUrl
- Parameters:
value
- An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.
-
getNameElement
- Returns:
name
(A free text natural language name identifying the search parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value
-name
(A free text natural language name identifying the search parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- A free text natural language name identifying the search parameter.
-
setName
- Parameters:
value
- A free text natural language name identifying the search parameter.
-
getStatusElement
- Returns:
status
(The status of this search parameter definition.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(The status of this search parameter definition.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of this search parameter definition.
-
setStatus
- Parameters:
value
- The status of this search parameter definition.
-
getExperimentalElement
- Returns:
experimental
(A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
hasExperimentalElement
-
hasExperimental
-
setExperimentalElement
- Parameters:
value
-experimental
(A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
getExperimental
- Returns:
- A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
- Parameters:
value
- A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getPublisherElement
- Returns:
publisher
(The name of the individual or organization that published the search parameter.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
hasPublisherElement
-
hasPublisher
-
setPublisherElement
- Parameters:
value
-publisher
(The name of the individual or organization that published the search parameter.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
getPublisher
- Returns:
- The name of the individual or organization that published the search parameter.
-
setPublisher
- Parameters:
value
- The name of the individual or organization that published the search parameter.
-
getContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
-
addContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
-
getDateElement
- Returns:
date
(The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.
-
setDate
- Parameters:
value
- The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.
-
getRequirementsElement
- Returns:
requirements
(The Scope and Usage that this search parameter was created to meet.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
hasRequirementsElement
-
hasRequirements
-
setRequirementsElement
- Parameters:
value
-requirements
(The Scope and Usage that this search parameter was created to meet.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
getRequirements
- Returns:
- The Scope and Usage that this search parameter was created to meet.
-
setRequirements
- Parameters:
value
- The Scope and Usage that this search parameter was created to meet.
-
getCodeElement
- Returns:
code
(The code used in the URL or the parameter name in a parameters resource for this search parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
hasCodeElement
-
hasCode
-
setCodeElement
- Parameters:
value
-code
(The code used in the URL or the parameter name in a parameters resource for this search parameter.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
getCode
- Returns:
- The code used in the URL or the parameter name in a parameters resource for this search parameter.
-
setCode
- Parameters:
value
- The code used in the URL or the parameter name in a parameters resource for this search parameter.
-
getBaseElement
- Returns:
base
(The base resource type that this search parameter refers to.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
hasBaseElement
-
hasBase
-
setBaseElement
- Parameters:
value
-base
(The base resource type that this search parameter refers to.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
getBase
- Returns:
- The base resource type that this search parameter refers to.
-
setBase
- Parameters:
value
- The base resource type that this search parameter refers to.
-
getTypeElement
- Returns:
type
(The type of value a search parameter refers to, and how the content is interpreted.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
- Parameters:
value
-type
(The type of value a search parameter refers to, and how the content is interpreted.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- The type of value a search parameter refers to, and how the content is interpreted.
-
setType
- Parameters:
value
- The type of value a search parameter refers to, and how the content is interpreted.
-
getDescriptionElement
- Returns:
description
(A description of the search parameters and how it used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value
-description
(A description of the search parameters and how it used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- A description of the search parameters and how it used.
-
setDescription
- Parameters:
value
- A description of the search parameters and how it used.
-
getXpathElement
- Returns:
xpath
(An XPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the value
-
hasXpathElement
-
hasXpath
-
setXpathElement
- Parameters:
value
-xpath
(An XPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the value
-
getXpath
- Returns:
- An XPath expression that returns a set of elements for the search parameter.
-
setXpath
- Parameters:
value
- An XPath expression that returns a set of elements for the search parameter.
-
getXpathUsageElement
- Returns:
xpathUsage
(How the search parameter relates to the set of elements returned by evaluating the xpath query.). This is the underlying object with id, value and extensions. The accessor "getXpathUsage" gives direct access to the value
-
hasXpathUsageElement
-
hasXpathUsage
-
setXpathUsageElement
- Parameters:
value
-xpathUsage
(How the search parameter relates to the set of elements returned by evaluating the xpath query.). This is the underlying object with id, value and extensions. The accessor "getXpathUsage" gives direct access to the value
-
getXpathUsage
- Returns:
- How the search parameter relates to the set of elements returned by evaluating the xpath query.
-
setXpathUsage
- Parameters:
value
- How the search parameter relates to the set of elements returned by evaluating the xpath query.
-
getTarget
- Returns:
target
(Types of resource (if a resource is referenced).)
-
hasTarget
-
addTargetElement
- Returns:
target
(Types of resource (if a resource is referenced).)
-
addTarget
- Parameters:
value
-target
(Types of resource (if a resource is referenced).)
-
hasTarget
- Parameters:
value
-target
(Types of resource (if a resource is referenced).)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-