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>
 
  • Field Details

  • Constructor Details

    • Questionnaire

      public Questionnaire()
  • Method Details

    • 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 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 Jakarta XML Binding 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
    • getStatus

      public QuestionnaireStatus getStatus()
      Gets the value of the status property.
      Returns:
      possible object is QuestionnaireStatus
    • setStatus

      public void setStatus(QuestionnaireStatus value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is QuestionnaireStatus
    • 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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 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 Jakarta XML Binding 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

    • withUrl

      public Questionnaire withUrl(Uri value)
    • withIdentifier

      public Questionnaire withIdentifier(Identifier... values)
    • withIdentifier

      public Questionnaire withIdentifier(Collection<Identifier> values)
    • withVersion

      public Questionnaire withVersion(String value)
    • withStatus

      public Questionnaire withStatus(QuestionnaireStatus value)
    • withDate

      public Questionnaire withDate(DateTime value)
    • withPublisher

      public Questionnaire withPublisher(String value)
    • withTelecom

      public Questionnaire withTelecom(ContactPoint... values)
    • withTelecom

      public Questionnaire withTelecom(Collection<ContactPoint> values)
    • withUseContext

      public Questionnaire withUseContext(CodeableConcept... values)
    • withUseContext

      public Questionnaire withUseContext(Collection<CodeableConcept> values)
    • withTitle

      public Questionnaire withTitle(String value)
    • withConcept

      public Questionnaire withConcept(Coding... values)
    • withConcept

      public Questionnaire withConcept(Collection<Coding> values)
    • withSubjectType

      public Questionnaire withSubjectType(Code... values)
    • withSubjectType

      public Questionnaire withSubjectType(Collection<Code> values)
    • withItem

      public Questionnaire withItem(QuestionnaireItem... values)
    • withItem

      public Questionnaire withItem(Collection<QuestionnaireItem> values)
    • withText

      public Questionnaire withText(Narrative value)
      Overrides:
      withText in class DomainResource
    • withContained

      public Questionnaire withContained(ResourceContainer... values)
      Overrides:
      withContained in class DomainResource
    • withContained

      public Questionnaire withContained(Collection<ResourceContainer> values)
      Overrides:
      withContained in class DomainResource
    • withExtension

      public Questionnaire withExtension(Extension... values)
      Overrides:
      withExtension in class DomainResource
    • withExtension

      public Questionnaire withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class DomainResource
    • withModifierExtension

      public Questionnaire withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class DomainResource
    • withModifierExtension

      public Questionnaire withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class DomainResource
    • withId

      public Questionnaire withId(Id value)
      Overrides:
      withId in class DomainResource
    • withMeta

      public Questionnaire withMeta(Meta value)
      Overrides:
      withMeta in class DomainResource
    • withImplicitRules

      public Questionnaire withImplicitRules(Uri value)
      Overrides:
      withImplicitRules in class DomainResource
    • withLanguage

      public Questionnaire withLanguage(Code value)
      Overrides:
      withLanguage in class DomainResource
    • 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 DomainResource
    • equals

      public boolean equals(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
    • hashCode

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

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

      public void setIdentifier(List<Identifier> value)
    • setTelecom

      public void setTelecom(List<ContactPoint> value)
    • setUseContext

      public void setUseContext(List<CodeableConcept> value)
    • setConcept

      public void setConcept(List<Coding> value)
    • setSubjectType

      public void setSubjectType(List<Code> value)
    • setItem

      public void setItem(List<QuestionnaireItem> value)