Package org.hl7.fhir

Class ValueSetInclude

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ValueSetInclude extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A value set specifies a set of codes drawn from one or more code systems.

Java class for ValueSet.Include complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ValueSet.Include">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="system" type="{http://hl7.org/fhir}uri"/>
         <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="concept" type="{http://hl7.org/fhir}ValueSet.Concept" maxOccurs="unbounded" minOccurs="0"/>
         <element name="filter" type="{http://hl7.org/fhir}ValueSet.Filter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ValueSetInclude

      public ValueSetInclude()
  • Method Details

    • getSystem

      public Uri getSystem()
      Gets the value of the system property.
      Returns:
      possible object is Uri
    • setSystem

      public void setSystem(Uri value)
      Sets the value of the system property.
      Parameters:
      value - allowed object is Uri
    • getVersion

      public String getVersion()
      Gets the value of the version property.
      Returns:
      possible object is String
    • setVersion

      public void setVersion(String value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is String
    • getConcept

      public List<ValueSetConcept> getConcept()
      Gets the value of the concept 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 Jakarta XML Binding object. This is why there is not a set method for the concept property.

      For example, to add a new item, do as follows:

          getConcept().add(newItem);
       

      Objects of the following type(s) are allowed in the list ValueSetConcept

    • getFilter

      public List<ValueSetFilter> getFilter()
      Gets the value of the filter 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 Jakarta XML Binding object. This is why there is not a set method for the filter property.

      For example, to add a new item, do as follows:

          getFilter().add(newItem);
       

      Objects of the following type(s) are allowed in the list ValueSetFilter

    • withSystem

      public ValueSetInclude withSystem(Uri value)
    • withVersion

      public ValueSetInclude withVersion(String value)
    • withConcept

      public ValueSetInclude withConcept(ValueSetConcept... values)
    • withConcept

      public ValueSetInclude withConcept(Collection<ValueSetConcept> values)
    • withFilter

      public ValueSetInclude withFilter(ValueSetFilter... values)
    • withFilter

      public ValueSetInclude withFilter(Collection<ValueSetFilter> values)
    • withModifierExtension

      public ValueSetInclude withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public ValueSetInclude withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public ValueSetInclude withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public ValueSetInclude withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public ValueSetInclude withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement
    • setConcept

      public void setConcept(List<ValueSetConcept> value)
    • setFilter

      public void setFilter(List<ValueSetFilter> value)