Class SearchParameter
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.SearchParameter
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SearchParameter extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for SearchParameter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchParameter"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="url" type="{http://hl7.org/fhir}uri"/> <element name="name" type="{http://hl7.org/fhir}string"/> <element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus" minOccurs="0"/> <element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="contact" type="{http://hl7.org/fhir}SearchParameter.Contact" maxOccurs="unbounded" minOccurs="0"/> <element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="code" type="{http://hl7.org/fhir}code"/> <element name="base" type="{http://hl7.org/fhir}code"/> <element name="type" type="{http://hl7.org/fhir}SearchParamType"/> <element name="description" type="{http://hl7.org/fhir}string"/> <element name="expression" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="xpath" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="xpathUsage" type="{http://hl7.org/fhir}XPathUsageType" minOccurs="0"/> <element name="target" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Codebaseprotected Codecodeprotected java.util.List<SearchParameterContact>contactprotected DateTimedateprotected Stringdescriptionprotected Booleanexperimentalprotected Stringexpressionprotected Stringnameprotected Stringpublisherprotected Stringrequirementsprotected ConformanceResourceStatusstatusprotected java.util.List<Code>targetprotected SearchParamTypetypeprotected Uriurlprotected java.util.List<CodeableConcept>useContextprotected Stringxpathprotected XPathUsageTypexpathUsage-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SearchParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodegetBase()Gets the value of the base property.CodegetCode()Gets the value of the code property.java.util.List<SearchParameterContact>getContact()Gets the value of the contact property.DateTimegetDate()Gets the value of the date property.StringgetDescription()Gets the value of the description property.BooleangetExperimental()Gets the value of the experimental property.StringgetExpression()Gets the value of the expression property.StringgetName()Gets the value of the name property.StringgetPublisher()Gets the value of the publisher property.StringgetRequirements()Gets the value of the requirements property.ConformanceResourceStatusgetStatus()Gets the value of the status property.java.util.List<Code>getTarget()Gets the value of the target property.SearchParamTypegetType()Gets the value of the type property.UrigetUrl()Gets the value of the url property.java.util.List<CodeableConcept>getUseContext()Gets the value of the useContext property.StringgetXpath()Gets the value of the xpath property.XPathUsageTypegetXpathUsage()Gets the value of the xpathUsage property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBase(Code value)Sets the value of the base property.voidsetCode(Code value)Sets the value of the code property.voidsetDate(DateTime value)Sets the value of the date property.voidsetDescription(String value)Sets the value of the description property.voidsetExperimental(Boolean value)Sets the value of the experimental property.voidsetExpression(String value)Sets the value of the expression property.voidsetName(String value)Sets the value of the name property.voidsetPublisher(String value)Sets the value of the publisher property.voidsetRequirements(String value)Sets the value of the requirements property.voidsetStatus(ConformanceResourceStatus value)Sets the value of the status property.voidsetType(SearchParamType value)Sets the value of the type property.voidsetUrl(Uri value)Sets the value of the url property.voidsetXpath(String value)Sets the value of the xpath property.voidsetXpathUsage(XPathUsageType value)Sets the value of the xpathUsage property.java.lang.StringtoString()SearchParameterwithBase(Code value)SearchParameterwithCode(Code value)SearchParameterwithContact(java.util.Collection<SearchParameterContact> values)SearchParameterwithContact(SearchParameterContact... values)SearchParameterwithContained(java.util.Collection<ResourceContainer> values)SearchParameterwithContained(ResourceContainer... values)SearchParameterwithDate(DateTime value)SearchParameterwithDescription(String value)SearchParameterwithExperimental(Boolean value)SearchParameterwithExpression(String value)SearchParameterwithExtension(java.util.Collection<Extension> values)SearchParameterwithExtension(Extension... values)SearchParameterwithId(Id value)SearchParameterwithImplicitRules(Uri value)SearchParameterwithLanguage(Code value)SearchParameterwithMeta(Meta value)SearchParameterwithModifierExtension(java.util.Collection<Extension> values)SearchParameterwithModifierExtension(Extension... values)SearchParameterwithName(String value)SearchParameterwithPublisher(String value)SearchParameterwithRequirements(String value)SearchParameterwithStatus(ConformanceResourceStatus value)SearchParameterwithTarget(java.util.Collection<Code> values)SearchParameterwithTarget(Code... values)SearchParameterwithText(Narrative value)SearchParameterwithType(SearchParamType value)SearchParameterwithUrl(Uri value)SearchParameterwithUseContext(java.util.Collection<CodeableConcept> values)SearchParameterwithUseContext(CodeableConcept... values)SearchParameterwithXpath(String value)SearchParameterwithXpathUsage(XPathUsageType value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
url
protected Uri url
-
name
protected String name
-
status
protected ConformanceResourceStatus status
-
experimental
protected Boolean experimental
-
date
protected DateTime date
-
publisher
protected String publisher
-
contact
protected java.util.List<SearchParameterContact> contact
-
useContext
protected java.util.List<CodeableConcept> useContext
-
requirements
protected String requirements
-
code
protected Code code
-
base
protected Code base
-
type
protected SearchParamType type
-
description
protected String description
-
expression
protected String expression
-
xpath
protected String xpath
-
xpathUsage
protected XPathUsageType xpathUsage
-
target
protected java.util.List<Code> target
-
-
Method Detail
-
setUrl
public void setUrl(Uri value)
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStatus
public ConformanceResourceStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ConformanceResourceStatus
-
setStatus
public void setStatus(ConformanceResourceStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isConformanceResourceStatus
-
getExperimental
public Boolean getExperimental()
Gets the value of the experimental property.- Returns:
- possible object is
Boolean
-
setExperimental
public void setExperimental(Boolean value)
Sets the value of the experimental property.- Parameters:
value- allowed object isBoolean
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getPublisher
public String getPublisher()
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
public void setPublisher(String value)
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
public java.util.List<SearchParameterContact> getContact()
Gets the value of the contact property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the contact property.For example, to add a new item, do as follows:
getContact().add(newItem);Objects of the following type(s) are allowed in the list
SearchParameterContact
-
getUseContext
public java.util.List<CodeableConcept> getUseContext()
Gets the value of the useContext property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the useContext property.For example, to add a new item, do as follows:
getUseContext().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getRequirements
public String getRequirements()
Gets the value of the requirements property.- Returns:
- possible object is
String
-
setRequirements
public void setRequirements(String value)
Sets the value of the requirements property.- Parameters:
value- allowed object isString
-
setCode
public void setCode(Code value)
Sets the value of the code property.- Parameters:
value- allowed object isCode
-
setBase
public void setBase(Code value)
Sets the value of the base property.- Parameters:
value- allowed object isCode
-
getType
public SearchParamType getType()
Gets the value of the type property.- Returns:
- possible object is
SearchParamType
-
setType
public void setType(SearchParamType value)
Sets the value of the type property.- Parameters:
value- allowed object isSearchParamType
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getExpression
public String getExpression()
Gets the value of the expression property.- Returns:
- possible object is
String
-
setExpression
public void setExpression(String value)
Sets the value of the expression property.- Parameters:
value- allowed object isString
-
getXpath
public String getXpath()
Gets the value of the xpath property.- Returns:
- possible object is
String
-
setXpath
public void setXpath(String value)
Sets the value of the xpath property.- Parameters:
value- allowed object isString
-
getXpathUsage
public XPathUsageType getXpathUsage()
Gets the value of the xpathUsage property.- Returns:
- possible object is
XPathUsageType
-
setXpathUsage
public void setXpathUsage(XPathUsageType value)
Sets the value of the xpathUsage property.- Parameters:
value- allowed object isXPathUsageType
-
getTarget
public java.util.List<Code> getTarget()
Gets the value of the target property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the target property.For example, to add a new item, do as follows:
getTarget().add(newItem);Objects of the following type(s) are allowed in the list
Code
-
withUrl
public SearchParameter withUrl(Uri value)
-
withName
public SearchParameter withName(String value)
-
withStatus
public SearchParameter withStatus(ConformanceResourceStatus value)
-
withExperimental
public SearchParameter withExperimental(Boolean value)
-
withDate
public SearchParameter withDate(DateTime value)
-
withPublisher
public SearchParameter withPublisher(String value)
-
withContact
public SearchParameter withContact(SearchParameterContact... values)
-
withContact
public SearchParameter withContact(java.util.Collection<SearchParameterContact> values)
-
withUseContext
public SearchParameter withUseContext(CodeableConcept... values)
-
withUseContext
public SearchParameter withUseContext(java.util.Collection<CodeableConcept> values)
-
withRequirements
public SearchParameter withRequirements(String value)
-
withCode
public SearchParameter withCode(Code value)
-
withBase
public SearchParameter withBase(Code value)
-
withType
public SearchParameter withType(SearchParamType value)
-
withDescription
public SearchParameter withDescription(String value)
-
withExpression
public SearchParameter withExpression(String value)
-
withXpath
public SearchParameter withXpath(String value)
-
withXpathUsage
public SearchParameter withXpathUsage(XPathUsageType value)
-
withTarget
public SearchParameter withTarget(Code... values)
-
withTarget
public SearchParameter withTarget(java.util.Collection<Code> values)
-
withText
public SearchParameter withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public SearchParameter withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public SearchParameter withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public SearchParameter withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public SearchParameter withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public SearchParameter withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public SearchParameter withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public SearchParameter withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public SearchParameter withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public SearchParameter withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public SearchParameter withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-