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.
|
protected CodeType |
code
The code used in the URL or the parameter name in a parameters resource for this search parameter.
|
protected List<SearchParameter.SearchParameterContactComponent> |
contact
Contacts to assist a user in finding and communicating with the publisher.
|
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.
|
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 |
name
A free text natural language name identifying the search parameter.
|
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 |
static String |
SP_CODE |
static String |
SP_DESCRIPTION |
static String |
SP_NAME |
static String |
SP_TARGET |
static String |
SP_TYPE |
static String |
SP_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).
|
protected Enumeration<Enumerations.SearchParamType> |
type
The type of value a search parameter refers to, and how the content is interpreted.
|
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.
|
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() |
SearchParameter(UriType url,
StringType name,
CodeType code,
CodeType base,
Enumeration<Enumerations.SearchParamType> type,
StringType description) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, 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 StringType publisher
protected List<SearchParameter.SearchParameterContactComponent> contact
protected DateTimeType date
protected StringType requirements
protected CodeType code
protected Enumeration<Enumerations.SearchParamType> type
protected StringType description
protected StringType xpath
protected Enumeration<SearchParameter.XPathUsageType> xpathUsage
public static final String SP_CODE
public static final String SP_NAME
public static final String SP_DESCRIPTION
public static final String SP_TYPE
public static final String SP_URL
public static final String SP_BASE
public static final String SP_TARGET
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 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 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 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 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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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.