Package org.hl7.fhir

Class QuestionnaireOption

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

public class QuestionnaireOption extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions.

Java class for Questionnaire.Option complex type.

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

 <complexType name="Questionnaire.Option">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <choice>
           <element name="valueInteger" type="{http://hl7.org/fhir}integer"/>
           <element name="valueDate" type="{http://hl7.org/fhir}date"/>
           <element name="valueTime" type="{http://hl7.org/fhir}time"/>
           <element name="valueString" type="{http://hl7.org/fhir}string"/>
           <element name="valueCoding" type="{http://hl7.org/fhir}Coding"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • valueInteger

      protected Integer valueInteger
    • valueDate

      protected Date valueDate
    • valueTime

      protected Time valueTime
    • valueString

      protected String valueString
    • valueCoding

      protected Coding valueCoding
  • Constructor Details

    • QuestionnaireOption

      public QuestionnaireOption()
  • Method Details

    • getValueInteger

      public Integer getValueInteger()
      Gets the value of the valueInteger property.
      Returns:
      possible object is Integer
    • setValueInteger

      public void setValueInteger(Integer value)
      Sets the value of the valueInteger property.
      Parameters:
      value - allowed object is Integer
    • getValueDate

      public Date getValueDate()
      Gets the value of the valueDate property.
      Returns:
      possible object is Date
    • setValueDate

      public void setValueDate(Date value)
      Sets the value of the valueDate property.
      Parameters:
      value - allowed object is Date
    • getValueTime

      public Time getValueTime()
      Gets the value of the valueTime property.
      Returns:
      possible object is Time
    • setValueTime

      public void setValueTime(Time value)
      Sets the value of the valueTime property.
      Parameters:
      value - allowed object is Time
    • getValueString

      public String getValueString()
      Gets the value of the valueString property.
      Returns:
      possible object is String
    • setValueString

      public void setValueString(String value)
      Sets the value of the valueString property.
      Parameters:
      value - allowed object is String
    • getValueCoding

      public Coding getValueCoding()
      Gets the value of the valueCoding property.
      Returns:
      possible object is Coding
    • setValueCoding

      public void setValueCoding(Coding value)
      Sets the value of the valueCoding property.
      Parameters:
      value - allowed object is Coding
    • withValueInteger

      public QuestionnaireOption withValueInteger(Integer value)
    • withValueDate

      public QuestionnaireOption withValueDate(Date value)
    • withValueTime

      public QuestionnaireOption withValueTime(Time value)
    • withValueString

      public QuestionnaireOption withValueString(String value)
    • withValueCoding

      public QuestionnaireOption withValueCoding(Coding value)
    • withModifierExtension

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

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

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

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

      public QuestionnaireOption 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