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 Detail

      • valueInteger

        protected Integer valueInteger
      • valueDate

        protected Date valueDate
      • valueTime

        protected Time valueTime
      • valueString

        protected String valueString
      • valueCoding

        protected Coding valueCoding
    • Constructor Detail

      • QuestionnaireOption

        public QuestionnaireOption()
    • Method Detail

      • 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
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BackboneElement
      • equals

        public boolean equals​(java.lang.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
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class BackboneElement
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class BackboneElement