public class SearchParameter extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchParameter.SearchParameterContactComponent |
static class |
SearchParameter.XPathUsageType |
static class |
SearchParameter.XPathUsageTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeType |
base
The base resource type that this search parameter refers to.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
BASE
Fluent Client search parameter constant for base
|
protected CodeType |
code
The code used in the URL or the parameter name in a parameters resource for this search parameter.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected List<SearchParameter.SearchParameterContactComponent> |
contact
Contacts to assist a user in finding and communicating with the publisher.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CONTEXT
Fluent Client search parameter constant for context
|
protected DateTimeType |
date
The date (and optionally time) when the search parameter definition was published.
|
protected StringType |
description
A description of the search parameters and how it used.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
DESCRIPTION
Fluent Client search parameter constant for description
|
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.
|
protected StringType |
expression
A FluentPath expression that returns a set of elements for the search parameter.
|
protected StringType |
name
A free text natural language name identifying the search parameter.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
NAME
Fluent Client search parameter constant for name
|
protected StringType |
publisher
The name of the individual or organization that published the search parameter.
|
protected StringType |
requirements
The Scope and Usage that this search parameter was created to meet.
|
static String |
SP_BASE
Search parameter: base
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_CONTEXT
Search parameter: context
|
static String |
SP_DESCRIPTION
Search parameter: description
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_TARGET
Search parameter: target
|
static String |
SP_TYPE
Search parameter: type
|
static String |
SP_URL
Search parameter: url
|
protected Enumeration<Enumerations.ConformanceResourceStatus> |
status
The status of this search parameter definition.
|
protected List<CodeType> |
target
Types of resource (if a resource is referenced).
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TARGET
Fluent Client search parameter constant for target
|
protected Enumeration<Enumerations.SearchParamType> |
type
The type of value a search parameter refers to, and how the content is interpreted.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
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.
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
URL
Fluent Client search parameter constant for url
|
protected List<CodeableConcept> |
useContext
The content was developed with a focus and intent of supporting the contexts that are listed.
|
protected StringType |
xpath
An XPath expression that returns a set of elements for the search parameter.
|
protected Enumeration<SearchParameter.XPathUsageType> |
xpathUsage
How the search parameter relates to the set of elements returned by evaluating the xpath query.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
SearchParameter()
Constructor
|
SearchParameter(UriType url,
StringType name,
CodeType code,
CodeType base,
Enumeration<Enumerations.SearchParamType> type,
StringType description)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected UriType url
protected StringType name
protected Enumeration<Enumerations.ConformanceResourceStatus> status
protected BooleanType experimental
protected DateTimeType date
protected StringType publisher
protected List<SearchParameter.SearchParameterContactComponent> contact
protected List<CodeableConcept> useContext
protected StringType requirements
protected CodeType code
protected Enumeration<Enumerations.SearchParamType> type
protected StringType description
protected StringType expression
protected StringType xpath
protected Enumeration<SearchParameter.XPathUsageType> xpathUsage
public static final String SP_DESCRIPTION
Description: Documentation for search parameter
Type: string
Path: SearchParameter.description
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION
Description: Documentation for search parameter
Type: string
Path: SearchParameter.description
public static final String SP_NAME
Description: Informal name for this search parameter
Type: string
Path: SearchParameter.name
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Description: Informal name for this search parameter
Type: string
Path: SearchParameter.name
public static final String SP_CONTEXT
Description: A use context assigned to the search parameter
Type: token
Path: SearchParameter.useContext
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT
Description: A use context assigned to the search parameter
Type: token
Path: SearchParameter.useContext
public static final String SP_TARGET
Description: Types of resource (if a resource reference)
Type: token
Path: SearchParameter.target
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET
Description: Types of resource (if a resource reference)
Type: token
Path: SearchParameter.target
public static final String SP_BASE
Description: The resource type this search parameter applies to
Type: token
Path: SearchParameter.base
public static final ca.uhn.fhir.rest.gclient.TokenClientParam BASE
Description: The resource type this search parameter applies to
Type: token
Path: SearchParameter.base
public static final String SP_CODE
Description: Code used in URL
Type: token
Path: SearchParameter.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Code used in URL
Type: token
Path: SearchParameter.code
public static final String SP_TYPE
Description: number | date | string | token | reference | composite | quantity | uri
Type: token
Path: SearchParameter.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: number | date | string | token | reference | composite | quantity | uri
Type: token
Path: SearchParameter.type
public static final String SP_URL
Description: Absolute URL used to reference this search parameter
Type: uri
Path: SearchParameter.url
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Description: Absolute URL used to reference this search parameter
Type: uri
Path: SearchParameter.url
public SearchParameter()
public SearchParameter(UriType url, StringType name, CodeType code, CodeType base, Enumeration<Enumerations.SearchParamType> type, StringType description)
public UriType getUrlElement()
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 valuepublic boolean hasUrlElement()
public boolean hasUrl()
public SearchParameter setUrlElement(UriType value)
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 valuepublic String getUrl()
public SearchParameter setUrl(String value)
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.public StringType getNameElement()
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 valuepublic boolean hasNameElement()
public boolean hasName()
public SearchParameter setNameElement(StringType value)
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 valuepublic String getName()
public SearchParameter setName(String value)
value - A free text natural language name identifying the search parameter.public Enumeration<Enumerations.ConformanceResourceStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public SearchParameter setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value)
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 valuepublic Enumerations.ConformanceResourceStatus getStatus()
public SearchParameter setStatus(Enumerations.ConformanceResourceStatus value)
value - The status of this search parameter definition.public BooleanType getExperimentalElement()
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 valuepublic boolean hasExperimentalElement()
public boolean hasExperimental()
public SearchParameter setExperimentalElement(BooleanType value)
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 valuepublic boolean getExperimental()
public SearchParameter setExperimental(boolean value)
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.public DateTimeType getDateElement()
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 valuepublic boolean hasDateElement()
public boolean hasDate()
public SearchParameter setDateElement(DateTimeType value)
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 valuepublic Date getDate()
public SearchParameter setDate(Date value)
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.public StringType getPublisherElement()
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 valuepublic boolean hasPublisherElement()
public boolean hasPublisher()
public SearchParameter setPublisherElement(StringType value)
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 valuepublic String getPublisher()
public SearchParameter setPublisher(String value)
value - The name of the individual or organization that published the search parameter.public List<SearchParameter.SearchParameterContactComponent> getContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public boolean hasContact()
public SearchParameter.SearchParameterContactComponent addContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public SearchParameter addContact(SearchParameter.SearchParameterContactComponent t)
public List<CodeableConcept> getUseContext()
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.)public boolean hasUseContext()
public CodeableConcept addUseContext()
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.)public SearchParameter addUseContext(CodeableConcept t)
public StringType getRequirementsElement()
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 valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public SearchParameter setRequirementsElement(StringType value)
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 valuepublic String getRequirements()
public SearchParameter setRequirements(String value)
value - The Scope and Usage that this search parameter was created to meet.public CodeType getCodeElement()
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 valuepublic boolean hasCodeElement()
public boolean hasCode()
public SearchParameter setCodeElement(CodeType value)
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 valuepublic String getCode()
public SearchParameter setCode(String value)
value - The code used in the URL or the parameter name in a parameters resource for this search parameter.public CodeType getBaseElement()
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 valuepublic boolean hasBaseElement()
public boolean hasBase()
public SearchParameter setBaseElement(CodeType value)
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 valuepublic String getBase()
public SearchParameter setBase(String value)
value - The base resource type that this search parameter refers to.public Enumeration<Enumerations.SearchParamType> getTypeElement()
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 valuepublic boolean hasTypeElement()
public boolean hasType()
public SearchParameter setTypeElement(Enumeration<Enumerations.SearchParamType> value)
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 valuepublic Enumerations.SearchParamType getType()
public SearchParameter setType(Enumerations.SearchParamType value)
value - The type of value a search parameter refers to, and how the content is interpreted.public StringType getDescriptionElement()
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 valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public SearchParameter setDescriptionElement(StringType value)
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 valuepublic String getDescription()
public SearchParameter setDescription(String value)
value - A description of the search parameters and how it used.public StringType getExpressionElement()
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 valuepublic boolean hasExpressionElement()
public boolean hasExpression()
public SearchParameter setExpressionElement(StringType value)
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 valuepublic String getExpression()
public SearchParameter setExpression(String value)
value - A FluentPath expression that returns a set of elements for the search parameter.public StringType getXpathElement()
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 valuepublic boolean hasXpathElement()
public boolean hasXpath()
public SearchParameter setXpathElement(StringType value)
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 valuepublic String getXpath()
public SearchParameter setXpath(String value)
value - An XPath expression that returns a set of elements for the search parameter.public Enumeration<SearchParameter.XPathUsageType> getXpathUsageElement()
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 valuepublic boolean hasXpathUsageElement()
public boolean hasXpathUsage()
public SearchParameter setXpathUsageElement(Enumeration<SearchParameter.XPathUsageType> value)
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 valuepublic SearchParameter.XPathUsageType getXpathUsage()
public SearchParameter setXpathUsage(SearchParameter.XPathUsageType value)
value - How the search parameter relates to the set of elements returned by evaluating the xpath query.public List<CodeType> getTarget()
target (Types of resource (if a resource is referenced).)public boolean hasTarget()
public CodeType addTargetElement()
target (Types of resource (if a resource is referenced).)public SearchParameter addTarget(String value)
value - target (Types of resource (if a resource is referenced).)public boolean hasTarget(String value)
value - target (Types of resource (if a resource is referenced).)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic SearchParameter copy()
copy in class DomainResourceprotected SearchParameter typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.