Class SearchParameter
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.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
public class SearchParameter extends DomainResource
A search parameter that defines a named search item that can be used to search/filter on a resource.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchParameter.SearchParameterContactComponentstatic classSearchParameter.XPathUsageTypestatic classSearchParameter.XPathUsageTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected CodeTypebaseThe base resource type that this search parameter refers to.static ca.uhn.fhir.rest.gclient.TokenClientParamBASEFluent Client search parameter constant for baseprotected CodeTypecodeThe code used in the URL or the parameter name in a parameters resource for this search parameter.static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected List<SearchParameter.SearchParameterContactComponent>contactContacts to assist a user in finding and communicating with the publisher.static ca.uhn.fhir.rest.gclient.TokenClientParamCONTEXTFluent Client search parameter constant for contextprotected DateTimeTypedateThe date (and optionally time) when the search parameter definition was published.protected StringTypedescriptionA description of the search parameters and how it used.static ca.uhn.fhir.rest.gclient.StringClientParamDESCRIPTIONFluent Client search parameter constant for descriptionprotected BooleanTypeexperimentalA 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 StringTypeexpressionA FluentPath expression that returns a set of elements for the search parameter.protected StringTypenameA free text natural language name identifying the search parameter.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for nameprotected StringTypepublisherThe name of the individual or organization that published the search parameter.protected StringTyperequirementsThe Scope and Usage that this search parameter was created to meet.static StringSP_BASESearch parameter: basestatic StringSP_CODESearch parameter: codestatic StringSP_CONTEXTSearch parameter: contextstatic StringSP_DESCRIPTIONSearch parameter: descriptionstatic StringSP_NAMESearch parameter: namestatic StringSP_TARGETSearch parameter: targetstatic StringSP_TYPESearch parameter: typestatic StringSP_URLSearch parameter: urlprotected Enumeration<Enumerations.ConformanceResourceStatus>statusThe status of this search parameter definition.protected List<CodeType>targetTypes of resource (if a resource is referenced).static ca.uhn.fhir.rest.gclient.TokenClientParamTARGETFluent Client search parameter constant for targetprotected Enumeration<Enumerations.SearchParamType>typeThe type of value a search parameter refers to, and how the content is interpreted.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for typeprotected UriTypeurlAn absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance.static ca.uhn.fhir.rest.gclient.UriClientParamURLFluent Client search parameter constant for urlprotected List<CodeableConcept>useContextThe content was developed with a focus and intent of supporting the contexts that are listed.protected StringTypexpathAn XPath expression that returns a set of elements for the search parameter.protected Enumeration<SearchParameter.XPathUsageType>xpathUsageHow the search parameter relates to the set of elements returned by evaluating the xpath query.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SearchParameter()ConstructorSearchParameter(UriType url, StringType name, CodeType code, CodeType base, Enumeration<Enumerations.SearchParamType> type, StringType description)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.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.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, 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
-
-
-
-
Field Detail
-
url
protected UriType 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
protected StringType name
A free text natural language name identifying the search parameter.
-
status
protected Enumeration<Enumerations.ConformanceResourceStatus> status
The status of this search parameter definition.
-
experimental
protected BooleanType 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.
-
date
protected DateTimeType 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.
-
publisher
protected StringType publisher
The name of the individual or organization that published the search parameter.
-
contact
protected List<SearchParameter.SearchParameterContactComponent> contact
Contacts to assist a user in finding and communicating with the publisher.
-
useContext
protected List<CodeableConcept> useContext
The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of search parameters.
-
requirements
protected StringType requirements
The Scope and Usage that this search parameter was created to meet.
-
code
protected CodeType code
The code used in the URL or the parameter name in a parameters resource for this search parameter.
-
type
protected Enumeration<Enumerations.SearchParamType> type
The type of value a search parameter refers to, and how the content is interpreted.
-
description
protected StringType description
A description of the search parameters and how it used.
-
expression
protected StringType expression
A FluentPath expression that returns a set of elements for the search parameter.
-
xpath
protected StringType xpath
An XPath expression that returns a set of elements for the search parameter.
-
xpathUsage
protected Enumeration<SearchParameter.XPathUsageType> xpathUsage
How the search parameter relates to the set of elements returned by evaluating the xpath query.
-
SP_DESCRIPTION
public static final String SP_DESCRIPTION
Search parameter: descriptionDescription: Documentation for search parameter
Type: string
Path: SearchParameter.description
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION
Fluent Client search parameter constant for descriptionDescription: Documentation for search parameter
Type: string
Path: SearchParameter.description
-
SP_NAME
public static final String SP_NAME
Search parameter: nameDescription: Informal name for this search parameter
Type: string
Path: SearchParameter.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription: Informal name for this search parameter
Type: string
Path: SearchParameter.name
-
SP_CONTEXT
public static final String SP_CONTEXT
Search parameter: contextDescription: A use context assigned to the search parameter
Type: token
Path: SearchParameter.useContext
- See Also:
- Constant Field Values
-
CONTEXT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT
Fluent Client search parameter constant for contextDescription: A use context assigned to the search parameter
Type: token
Path: SearchParameter.useContext
-
SP_TARGET
public static final String SP_TARGET
Search parameter: targetDescription: Types of resource (if a resource reference)
Type: token
Path: SearchParameter.target
- See Also:
- Constant Field Values
-
TARGET
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET
Fluent Client search parameter constant for targetDescription: Types of resource (if a resource reference)
Type: token
Path: SearchParameter.target
-
SP_BASE
public static final String SP_BASE
Search parameter: baseDescription: The resource type this search parameter applies to
Type: token
Path: SearchParameter.base
- See Also:
- Constant Field Values
-
BASE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam BASE
Fluent Client search parameter constant for baseDescription: The resource type this search parameter applies to
Type: token
Path: SearchParameter.base
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: Code used in URL
Type: token
Path: SearchParameter.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Code used in URL
Type: token
Path: SearchParameter.code
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: number | date | string | token | reference | composite | quantity | uri
Type: token
Path: SearchParameter.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: number | date | string | token | reference | composite | quantity | uri
Type: token
Path: SearchParameter.type
-
SP_URL
public static final String SP_URL
Search parameter: urlDescription: Absolute URL used to reference this search parameter
Type: uri
Path: SearchParameter.url
- See Also:
- Constant Field Values
-
URL
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Fluent Client search parameter constant for urlDescription: Absolute URL used to reference this search parameter
Type: uri
Path: SearchParameter.url
-
-
Constructor Detail
-
SearchParameter
public SearchParameter()
Constructor
-
SearchParameter
public SearchParameter(UriType url, StringType name, CodeType code, CodeType base, Enumeration<Enumerations.SearchParamType> type, StringType description)
Constructor
-
-
Method Detail
-
getUrlElement
public UriType 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
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public SearchParameter setUrlElement(UriType value)
- 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
public String 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
public SearchParameter setUrl(String value)
- 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
public StringType 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
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public SearchParameter setNameElement(StringType value)
- 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
public String getName()
- Returns:
- A free text natural language name identifying the search parameter.
-
setName
public SearchParameter setName(String value)
- Parameters:
value- A free text natural language name identifying the search parameter.
-
getStatusElement
public Enumeration<Enumerations.ConformanceResourceStatus> 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
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public SearchParameter setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value)
- 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
public Enumerations.ConformanceResourceStatus getStatus()
- Returns:
- The status of this search parameter definition.
-
setStatus
public SearchParameter setStatus(Enumerations.ConformanceResourceStatus value)
- Parameters:
value- The status of this search parameter definition.
-
getExperimentalElement
public BooleanType 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
public boolean hasExperimentalElement()
-
hasExperimental
public boolean hasExperimental()
-
setExperimentalElement
public SearchParameter setExperimentalElement(BooleanType value)
- 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
public boolean 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
public SearchParameter setExperimental(boolean value)
- 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.
-
getDateElement
public DateTimeType 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
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public SearchParameter setDateElement(DateTimeType value)
- 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
public Date 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
public SearchParameter setDate(Date value)
- 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.
-
getPublisherElement
public StringType 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
public boolean hasPublisherElement()
-
hasPublisher
public boolean hasPublisher()
-
setPublisherElement
public SearchParameter setPublisherElement(StringType value)
- 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
public String getPublisher()
- Returns:
- The name of the individual or organization that published the search parameter.
-
setPublisher
public SearchParameter setPublisher(String value)
- Parameters:
value- The name of the individual or organization that published the search parameter.
-
getContact
public List<SearchParameter.SearchParameterContactComponent> getContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
public boolean hasContact()
-
addContact
public SearchParameter.SearchParameterContactComponent addContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
public SearchParameter addContact(SearchParameter.SearchParameterContactComponent t)
-
getUseContext
public List<CodeableConcept> getUseContext()
- Returns:
useContext(The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of search parameters.)
-
hasUseContext
public boolean hasUseContext()
-
addUseContext
public CodeableConcept addUseContext()
- Returns:
useContext(The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of search parameters.)
-
addUseContext
public SearchParameter addUseContext(CodeableConcept t)
-
getRequirementsElement
public StringType 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
public boolean hasRequirementsElement()
-
hasRequirements
public boolean hasRequirements()
-
setRequirementsElement
public SearchParameter setRequirementsElement(StringType value)
- 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
public String getRequirements()
- Returns:
- The Scope and Usage that this search parameter was created to meet.
-
setRequirements
public SearchParameter setRequirements(String value)
- Parameters:
value- The Scope and Usage that this search parameter was created to meet.
-
getCodeElement
public CodeType 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
public boolean hasCodeElement()
-
hasCode
public boolean hasCode()
-
setCodeElement
public SearchParameter setCodeElement(CodeType value)
- 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
public String getCode()
- Returns:
- The code used in the URL or the parameter name in a parameters resource for this search parameter.
-
setCode
public SearchParameter setCode(String value)
- Parameters:
value- The code used in the URL or the parameter name in a parameters resource for this search parameter.
-
getBaseElement
public CodeType 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
public boolean hasBaseElement()
-
hasBase
public boolean hasBase()
-
setBaseElement
public SearchParameter setBaseElement(CodeType value)
- 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
public String getBase()
- Returns:
- The base resource type that this search parameter refers to.
-
setBase
public SearchParameter setBase(String value)
- Parameters:
value- The base resource type that this search parameter refers to.
-
getTypeElement
public Enumeration<Enumerations.SearchParamType> 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
public boolean hasTypeElement()
-
hasType
public boolean hasType()
-
setTypeElement
public SearchParameter setTypeElement(Enumeration<Enumerations.SearchParamType> value)
- 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
public Enumerations.SearchParamType getType()
- Returns:
- The type of value a search parameter refers to, and how the content is interpreted.
-
setType
public SearchParameter setType(Enumerations.SearchParamType value)
- Parameters:
value- The type of value a search parameter refers to, and how the content is interpreted.
-
getDescriptionElement
public StringType 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
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public SearchParameter setDescriptionElement(StringType value)
- 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
public String getDescription()
- Returns:
- A description of the search parameters and how it used.
-
setDescription
public SearchParameter setDescription(String value)
- Parameters:
value- A description of the search parameters and how it used.
-
getExpressionElement
public StringType getExpressionElement()
- Returns:
expression(A FluentPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
-
hasExpressionElement
public boolean hasExpressionElement()
-
hasExpression
public boolean hasExpression()
-
setExpressionElement
public SearchParameter setExpressionElement(StringType value)
- Parameters:
value-expression(A FluentPath expression that returns a set of elements for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the value
-
getExpression
public String getExpression()
- Returns:
- A FluentPath expression that returns a set of elements for the search parameter.
-
setExpression
public SearchParameter setExpression(String value)
- Parameters:
value- A FluentPath expression that returns a set of elements for the search parameter.
-
getXpathElement
public StringType 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
public boolean hasXpathElement()
-
hasXpath
public boolean hasXpath()
-
setXpathElement
public SearchParameter setXpathElement(StringType value)
- 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
public String getXpath()
- Returns:
- An XPath expression that returns a set of elements for the search parameter.
-
setXpath
public SearchParameter setXpath(String value)
- Parameters:
value- An XPath expression that returns a set of elements for the search parameter.
-
getXpathUsageElement
public Enumeration<SearchParameter.XPathUsageType> 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
public boolean hasXpathUsageElement()
-
hasXpathUsage
public boolean hasXpathUsage()
-
setXpathUsageElement
public SearchParameter setXpathUsageElement(Enumeration<SearchParameter.XPathUsageType> value)
- 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
public SearchParameter.XPathUsageType getXpathUsage()
- Returns:
- How the search parameter relates to the set of elements returned by evaluating the xpath query.
-
setXpathUsage
public SearchParameter setXpathUsage(SearchParameter.XPathUsageType value)
- Parameters:
value- How the search parameter relates to the set of elements returned by evaluating the xpath query.
-
getTarget
public List<CodeType> getTarget()
- Returns:
target(Types of resource (if a resource is referenced).)
-
hasTarget
public boolean hasTarget()
-
addTargetElement
public CodeType addTargetElement()
- Returns:
target(Types of resource (if a resource is referenced).)
-
addTarget
public SearchParameter addTarget(String value)
- Parameters:
value-target(Types of resource (if a resource is referenced).)
-
hasTarget
public boolean hasTarget(String value)
- Parameters:
value-target(Types of resource (if a resource is referenced).)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public SearchParameter copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected SearchParameter typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-