Package org.hl7.fhir

Class QuestionnaireEnableWhen

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

    public class QuestionnaireEnableWhen
    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.EnableWhen complex type.

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

     <complexType name="Questionnaire.EnableWhen">
       <complexContent>
         <extension base="{http://hl7.org/fhir}BackboneElement">
           <sequence>
             <element name="question" type="{http://hl7.org/fhir}string"/>
             <element name="answered" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
             <choice minOccurs="0">
               <element name="answerBoolean" type="{http://hl7.org/fhir}boolean"/>
               <element name="answerDecimal" type="{http://hl7.org/fhir}decimal"/>
               <element name="answerInteger" type="{http://hl7.org/fhir}integer"/>
               <element name="answerDate" type="{http://hl7.org/fhir}date"/>
               <element name="answerDateTime" type="{http://hl7.org/fhir}dateTime"/>
               <element name="answerInstant" type="{http://hl7.org/fhir}instant"/>
               <element name="answerTime" type="{http://hl7.org/fhir}time"/>
               <element name="answerString" type="{http://hl7.org/fhir}string"/>
               <element name="answerUri" type="{http://hl7.org/fhir}uri"/>
               <element name="answerAttachment" type="{http://hl7.org/fhir}Attachment"/>
               <element name="answerCoding" type="{http://hl7.org/fhir}Coding"/>
               <element name="answerQuantity" type="{http://hl7.org/fhir}Quantity"/>
               <element name="answerReference" type="{http://hl7.org/fhir}Reference"/>
             </choice>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • question

        protected String question
      • answered

        protected Boolean answered
      • answerBoolean

        protected Boolean answerBoolean
      • answerDecimal

        protected Decimal answerDecimal
      • answerInteger

        protected Integer answerInteger
      • answerDate

        protected Date answerDate
      • answerDateTime

        protected DateTime answerDateTime
      • answerInstant

        protected Instant answerInstant
      • answerTime

        protected Time answerTime
      • answerString

        protected String answerString
      • answerUri

        protected Uri answerUri
      • answerAttachment

        protected Attachment answerAttachment
      • answerCoding

        protected Coding answerCoding
      • answerQuantity

        protected Quantity answerQuantity
      • answerReference

        protected Reference answerReference
    • Constructor Detail

      • QuestionnaireEnableWhen

        public QuestionnaireEnableWhen()
    • Method Detail

      • getQuestion

        public String getQuestion()
        Gets the value of the question property.
        Returns:
        possible object is String
      • setQuestion

        public void setQuestion​(String value)
        Sets the value of the question property.
        Parameters:
        value - allowed object is String
      • getAnswered

        public Boolean getAnswered()
        Gets the value of the answered property.
        Returns:
        possible object is Boolean
      • setAnswered

        public void setAnswered​(Boolean value)
        Sets the value of the answered property.
        Parameters:
        value - allowed object is Boolean
      • getAnswerBoolean

        public Boolean getAnswerBoolean()
        Gets the value of the answerBoolean property.
        Returns:
        possible object is Boolean
      • setAnswerBoolean

        public void setAnswerBoolean​(Boolean value)
        Sets the value of the answerBoolean property.
        Parameters:
        value - allowed object is Boolean
      • getAnswerDecimal

        public Decimal getAnswerDecimal()
        Gets the value of the answerDecimal property.
        Returns:
        possible object is Decimal
      • setAnswerDecimal

        public void setAnswerDecimal​(Decimal value)
        Sets the value of the answerDecimal property.
        Parameters:
        value - allowed object is Decimal
      • getAnswerInteger

        public Integer getAnswerInteger()
        Gets the value of the answerInteger property.
        Returns:
        possible object is Integer
      • setAnswerInteger

        public void setAnswerInteger​(Integer value)
        Sets the value of the answerInteger property.
        Parameters:
        value - allowed object is Integer
      • getAnswerDate

        public Date getAnswerDate()
        Gets the value of the answerDate property.
        Returns:
        possible object is Date
      • setAnswerDate

        public void setAnswerDate​(Date value)
        Sets the value of the answerDate property.
        Parameters:
        value - allowed object is Date
      • getAnswerDateTime

        public DateTime getAnswerDateTime()
        Gets the value of the answerDateTime property.
        Returns:
        possible object is DateTime
      • setAnswerDateTime

        public void setAnswerDateTime​(DateTime value)
        Sets the value of the answerDateTime property.
        Parameters:
        value - allowed object is DateTime
      • getAnswerInstant

        public Instant getAnswerInstant()
        Gets the value of the answerInstant property.
        Returns:
        possible object is Instant
      • setAnswerInstant

        public void setAnswerInstant​(Instant value)
        Sets the value of the answerInstant property.
        Parameters:
        value - allowed object is Instant
      • getAnswerTime

        public Time getAnswerTime()
        Gets the value of the answerTime property.
        Returns:
        possible object is Time
      • setAnswerTime

        public void setAnswerTime​(Time value)
        Sets the value of the answerTime property.
        Parameters:
        value - allowed object is Time
      • getAnswerString

        public String getAnswerString()
        Gets the value of the answerString property.
        Returns:
        possible object is String
      • setAnswerString

        public void setAnswerString​(String value)
        Sets the value of the answerString property.
        Parameters:
        value - allowed object is String
      • getAnswerUri

        public Uri getAnswerUri()
        Gets the value of the answerUri property.
        Returns:
        possible object is Uri
      • setAnswerUri

        public void setAnswerUri​(Uri value)
        Sets the value of the answerUri property.
        Parameters:
        value - allowed object is Uri
      • getAnswerAttachment

        public Attachment getAnswerAttachment()
        Gets the value of the answerAttachment property.
        Returns:
        possible object is Attachment
      • setAnswerAttachment

        public void setAnswerAttachment​(Attachment value)
        Sets the value of the answerAttachment property.
        Parameters:
        value - allowed object is Attachment
      • getAnswerCoding

        public Coding getAnswerCoding()
        Gets the value of the answerCoding property.
        Returns:
        possible object is Coding
      • setAnswerCoding

        public void setAnswerCoding​(Coding value)
        Sets the value of the answerCoding property.
        Parameters:
        value - allowed object is Coding
      • getAnswerQuantity

        public Quantity getAnswerQuantity()
        Gets the value of the answerQuantity property.
        Returns:
        possible object is Quantity
      • setAnswerQuantity

        public void setAnswerQuantity​(Quantity value)
        Sets the value of the answerQuantity property.
        Parameters:
        value - allowed object is Quantity
      • getAnswerReference

        public Reference getAnswerReference()
        Gets the value of the answerReference property.
        Returns:
        possible object is Reference
      • setAnswerReference

        public void setAnswerReference​(Reference value)
        Sets the value of the answerReference property.
        Parameters:
        value - allowed object is Reference
      • 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