public class ValueSet extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ValueSet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueSet">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/>
<element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}ValueSet.Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="lockedDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="immutable" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="copyright" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="extensible" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="compose" type="{http://hl7.org/fhir}ValueSet.Compose" minOccurs="0"/>
<element name="expansion" type="{http://hl7.org/fhir}ValueSet.Expansion" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ValueSetCompose |
compose |
protected java.util.List<ValueSetContact> |
contact |
protected String |
copyright |
protected DateTime |
date |
protected String |
description |
protected ValueSetExpansion |
expansion |
protected Boolean |
experimental |
protected Boolean |
extensible |
protected Identifier |
identifier |
protected Boolean |
immutable |
protected Date |
lockedDate |
protected String |
name |
protected String |
publisher |
protected String |
requirements |
protected ConformanceResourceStatus |
status |
protected Uri |
url |
protected java.util.List<CodeableConcept> |
useContext |
protected String |
version |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
ValueSet() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
ValueSetCompose |
getCompose()
Gets the value of the compose property.
|
java.util.List<ValueSetContact> |
getContact()
Gets the value of the contact property.
|
String |
getCopyright()
Gets the value of the copyright property.
|
DateTime |
getDate()
Gets the value of the date property.
|
String |
getDescription()
Gets the value of the description property.
|
ValueSetExpansion |
getExpansion()
Gets the value of the expansion property.
|
Boolean |
getExperimental()
Gets the value of the experimental property.
|
Boolean |
getExtensible()
Gets the value of the extensible property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
Boolean |
getImmutable()
Gets the value of the immutable property.
|
Date |
getLockedDate()
Gets the value of the lockedDate property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPublisher()
Gets the value of the publisher property.
|
String |
getRequirements()
Gets the value of the requirements property.
|
ConformanceResourceStatus |
getStatus()
Gets the value of the status property.
|
Uri |
getUrl()
Gets the value of the url property.
|
java.util.List<CodeableConcept> |
getUseContext()
Gets the value of the useContext property.
|
String |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCompose(ValueSetCompose value)
Sets the value of the compose property.
|
void |
setCopyright(String value)
Sets the value of the copyright property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setExpansion(ValueSetExpansion value)
Sets the value of the expansion property.
|
void |
setExperimental(Boolean value)
Sets the value of the experimental property.
|
void |
setExtensible(Boolean value)
Sets the value of the extensible property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setImmutable(Boolean value)
Sets the value of the immutable property.
|
void |
setLockedDate(Date value)
Sets the value of the lockedDate property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPublisher(String value)
Sets the value of the publisher property.
|
void |
setRequirements(String value)
Sets the value of the requirements property.
|
void |
setStatus(ConformanceResourceStatus value)
Sets the value of the status property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
ValueSet |
withCompose(ValueSetCompose value) |
ValueSet |
withContact(java.util.Collection<ValueSetContact> values) |
ValueSet |
withContact(ValueSetContact... values) |
ValueSet |
withContained(java.util.Collection<ResourceContainer> values) |
ValueSet |
withContained(ResourceContainer... values) |
ValueSet |
withCopyright(String value) |
ValueSet |
withDate(DateTime value) |
ValueSet |
withDescription(String value) |
ValueSet |
withExpansion(ValueSetExpansion value) |
ValueSet |
withExperimental(Boolean value) |
ValueSet |
withExtensible(Boolean value) |
ValueSet |
withExtension(java.util.Collection<Extension> values) |
ValueSet |
withExtension(Extension... values) |
ValueSet |
withId(Id value) |
ValueSet |
withIdentifier(Identifier value) |
ValueSet |
withImmutable(Boolean value) |
ValueSet |
withImplicitRules(Uri value) |
ValueSet |
withLanguage(Code value) |
ValueSet |
withLockedDate(Date value) |
ValueSet |
withMeta(Meta value) |
ValueSet |
withModifierExtension(java.util.Collection<Extension> values) |
ValueSet |
withModifierExtension(Extension... values) |
ValueSet |
withName(String value) |
ValueSet |
withPublisher(String value) |
ValueSet |
withRequirements(String value) |
ValueSet |
withStatus(ConformanceResourceStatus value) |
ValueSet |
withText(Narrative value) |
ValueSet |
withUrl(Uri value) |
ValueSet |
withUseContext(CodeableConcept... values) |
ValueSet |
withUseContext(java.util.Collection<CodeableConcept> values) |
ValueSet |
withVersion(String value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Uri url
protected Identifier identifier
protected String version
protected String name
protected ConformanceResourceStatus status
protected Boolean experimental
protected String publisher
protected java.util.List<ValueSetContact> contact
protected DateTime date
protected Date lockedDate
protected String description
protected java.util.List<CodeableConcept> useContext
protected Boolean immutable
protected String requirements
protected String copyright
protected Boolean extensible
protected ValueSetCompose compose
protected ValueSetExpansion expansion
public void setUrl(Uri value)
value - allowed object is
Uripublic Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ConformanceResourceStatus getStatus()
ConformanceResourceStatuspublic void setStatus(ConformanceResourceStatus value)
value - allowed object is
ConformanceResourceStatuspublic Boolean getExperimental()
Booleanpublic void setExperimental(Boolean value)
value - allowed object is
Booleanpublic String getPublisher()
Stringpublic void setPublisher(String value)
value - allowed object is
Stringpublic java.util.List<ValueSetContact> getContact()
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 set method 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
ValueSetContact
public DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic Date getLockedDate()
Datepublic void setLockedDate(Date value)
value - allowed object is
Datepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<CodeableConcept> getUseContext()
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 set method 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
public Boolean getImmutable()
Booleanpublic void setImmutable(Boolean value)
value - allowed object is
Booleanpublic String getRequirements()
Stringpublic void setRequirements(String value)
value - allowed object is
Stringpublic String getCopyright()
Stringpublic void setCopyright(String value)
value - allowed object is
Stringpublic Boolean getExtensible()
Booleanpublic void setExtensible(Boolean value)
value - allowed object is
Booleanpublic ValueSetCompose getCompose()
ValueSetComposepublic void setCompose(ValueSetCompose value)
value - allowed object is
ValueSetComposepublic ValueSetExpansion getExpansion()
ValueSetExpansionpublic void setExpansion(ValueSetExpansion value)
value - allowed object is
ValueSetExpansionpublic ValueSet withIdentifier(Identifier value)
public ValueSet withStatus(ConformanceResourceStatus value)
public ValueSet withContact(ValueSetContact... values)
public ValueSet withContact(java.util.Collection<ValueSetContact> values)
public ValueSet withUseContext(CodeableConcept... values)
public ValueSet withUseContext(java.util.Collection<CodeableConcept> values)
public ValueSet withCompose(ValueSetCompose value)
public ValueSet withExpansion(ValueSetExpansion value)
public ValueSet withText(Narrative value)
withText in class DomainResourcepublic ValueSet withContained(ResourceContainer... values)
withContained in class DomainResourcepublic ValueSet withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic ValueSet withExtension(Extension... values)
withExtension in class DomainResourcepublic ValueSet withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic ValueSet withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic ValueSet withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic ValueSet withId(Id value)
withId in class DomainResourcepublic ValueSet withMeta(Meta value)
withMeta in class DomainResourcepublic ValueSet withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic ValueSet withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource