Package org.hl7.fhir

Class Questionnaire

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

    public class Questionnaire
    extends DomainResource
    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 either a @value, an @id, or extensions

    Java class for Questionnaire complex type.

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

     <complexType name="Questionnaire">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
             <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="status" type="{http://hl7.org/fhir}QuestionnaireStatus"/>
             <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
             <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
             <element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="concept" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
             <element name="subjectType" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/>
             <element name="item" type="{http://hl7.org/fhir}Questionnaire.Item" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Questionnaire

        public Questionnaire()
    • Method Detail

      • getUrl

        public Uri getUrl()
        Gets the value of the url property.
        Returns:
        possible object is Uri
      • setUrl

        public void setUrl​(Uri value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is Uri
      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        Gets the value of the identifier 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 JAXB object. This is why there is not a set method for the identifier property.

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

            getIdentifier().add(newItem);
         

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

      • 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
      • getDate

        public DateTime getDate()
        Gets the value of the date property.
        Returns:
        possible object is DateTime
      • setDate

        public void setDate​(DateTime value)
        Sets the value of the date property.
        Parameters:
        value - allowed object is DateTime
      • getPublisher

        public String getPublisher()
        Gets the value of the publisher property.
        Returns:
        possible object is String
      • setPublisher

        public void setPublisher​(String value)
        Sets the value of the publisher property.
        Parameters:
        value - allowed object is String
      • getTelecom

        public java.util.List<ContactPoint> getTelecom()
        Gets the value of the telecom 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 JAXB object. This is why there is not a set method for the telecom property.

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

            getTelecom().add(newItem);
         

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

      • getUseContext

        public java.util.List<CodeableConcept> getUseContext()
        Gets the value of the useContext 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 JAXB object. This is why there is not a set method for the useContext property.

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

            getUseContext().add(newItem);
         

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

      • getTitle

        public String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String
      • getConcept

        public java.util.List<Coding> 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 JAXB 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 Coding

      • getSubjectType

        public java.util.List<Code> getSubjectType()
        Gets the value of the subjectType 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 JAXB object. This is why there is not a set method for the subjectType property.

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

            getSubjectType().add(newItem);
         

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

      • getItem

        public java.util.List<QuestionnaireItem> getItem()
        Gets the value of the item 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 JAXB object. This is why there is not a set method for the item property.

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

            getItem().add(newItem);
         

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

      • withSubjectType

        public Questionnaire withSubjectType​(java.util.Collection<Code> values)
      • 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 DomainResource
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class DomainResource
      • 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 DomainResource
      • 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 DomainResource
      • 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 DomainResource