Package org.hl7.fhir

Class DataRequirementCodeFilter

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.DataRequirementCodeFilter
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class DataRequirementCodeFilter extends Element 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 a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Java class for DataRequirement.CodeFilter complex type.

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

 <complexType name="DataRequirement.CodeFilter">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="path" type="{http://hl7.org/fhir}string"/>
         <choice minOccurs="0">
           <element name="valueSetString" type="{http://hl7.org/fhir}string"/>
           <element name="valueSetReference" type="{http://hl7.org/fhir}Reference"/>
         </choice>
         <element name="valueCode" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/>
         <element name="valueCoding" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • path

      protected String path
    • valueSetString

      protected String valueSetString
    • valueSetReference

      protected Reference valueSetReference
    • valueCode

      protected List<Code> valueCode
    • valueCoding

      protected List<Coding> valueCoding
    • valueCodeableConcept

      protected List<CodeableConcept> valueCodeableConcept
  • Constructor Details

    • DataRequirementCodeFilter

      public DataRequirementCodeFilter()
  • Method Details

    • getPath

      public String getPath()
      Gets the value of the path property.
      Returns:
      possible object is String
    • setPath

      public void setPath(String value)
      Sets the value of the path property.
      Parameters:
      value - allowed object is String
    • getValueSetString

      public String getValueSetString()
      Gets the value of the valueSetString property.
      Returns:
      possible object is String
    • setValueSetString

      public void setValueSetString(String value)
      Sets the value of the valueSetString property.
      Parameters:
      value - allowed object is String
    • getValueSetReference

      public Reference getValueSetReference()
      Gets the value of the valueSetReference property.
      Returns:
      possible object is Reference
    • setValueSetReference

      public void setValueSetReference(Reference value)
      Sets the value of the valueSetReference property.
      Parameters:
      value - allowed object is Reference
    • getValueCode

      public List<Code> getValueCode()
      Gets the value of the valueCode 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 valueCode property.

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

          getValueCode().add(newItem);
       

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

    • getValueCoding

      public List<Coding> getValueCoding()
      Gets the value of the valueCoding 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 valueCoding property.

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

          getValueCoding().add(newItem);
       

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

    • getValueCodeableConcept

      public List<CodeableConcept> getValueCodeableConcept()
      Gets the value of the valueCodeableConcept 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 valueCodeableConcept property.

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

          getValueCodeableConcept().add(newItem);
       

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

    • withPath

      public DataRequirementCodeFilter withPath(String value)
    • withValueSetString

      public DataRequirementCodeFilter withValueSetString(String value)
    • withValueSetReference

      public DataRequirementCodeFilter withValueSetReference(Reference value)
    • withValueCode

      public DataRequirementCodeFilter withValueCode(Code... values)
    • withValueCode

      public DataRequirementCodeFilter withValueCode(Collection<Code> values)
    • withValueCoding

      public DataRequirementCodeFilter withValueCoding(Coding... values)
    • withValueCoding

      public DataRequirementCodeFilter withValueCoding(Collection<Coding> values)
    • withValueCodeableConcept

      public DataRequirementCodeFilter withValueCodeableConcept(CodeableConcept... values)
    • withValueCodeableConcept

      public DataRequirementCodeFilter withValueCodeableConcept(Collection<CodeableConcept> values)
    • withExtension

      public DataRequirementCodeFilter withExtension(Extension... values)
      Overrides:
      withExtension in class Element
    • withExtension

      public DataRequirementCodeFilter withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public DataRequirementCodeFilter withId(String value)
      Overrides:
      withId in class Element
    • 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 Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • 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 Element
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Element
    • 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 Element
    • 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 Element
    • setValueCode

      public void setValueCode(List<Code> value)
    • setValueCoding

      public void setValueCoding(List<Coding> value)
    • setValueCodeableConcept

      public void setValueCodeableConcept(List<CodeableConcept> value)