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
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 Summary
Fields Modifier and Type Field Description protected java.util.List<Coding>conceptprotected DateTimedateprotected java.util.List<Identifier>identifierprotected java.util.List<QuestionnaireItem>itemprotected Stringpublisherprotected QuestionnaireStatusstatusprotected java.util.List<Code>subjectTypeprotected java.util.List<ContactPoint>telecomprotected Stringtitleprotected Uriurlprotected java.util.List<CodeableConcept>useContextprotected StringversionFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description Questionnaire() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)java.util.List<Coding>getConcept()Gets the value of the concept property.DateTimegetDate()Gets the value of the date property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<QuestionnaireItem>getItem()Gets the value of the item property.StringgetPublisher()Gets the value of the publisher property.QuestionnaireStatusgetStatus()Gets the value of the status property.java.util.List<Code>getSubjectType()Gets the value of the subjectType property.java.util.List<ContactPoint>getTelecom()Gets the value of the telecom property.StringgetTitle()Gets the value of the title property.UrigetUrl()Gets the value of the url property.java.util.List<CodeableConcept>getUseContext()Gets the value of the useContext property.StringgetVersion()Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDate(DateTime value)Sets the value of the date property.voidsetPublisher(String value)Sets the value of the publisher property.voidsetStatus(QuestionnaireStatus value)Sets the value of the status property.voidsetTitle(String value)Sets the value of the title property.voidsetUrl(Uri value)Sets the value of the url property.voidsetVersion(String value)Sets the value of the version property.java.lang.StringtoString()QuestionnairewithConcept(java.util.Collection<Coding> values)QuestionnairewithConcept(Coding... values)QuestionnairewithContained(java.util.Collection<ResourceContainer> values)QuestionnairewithContained(ResourceContainer... values)QuestionnairewithDate(DateTime value)QuestionnairewithExtension(java.util.Collection<Extension> values)QuestionnairewithExtension(Extension... values)QuestionnairewithId(Id value)QuestionnairewithIdentifier(java.util.Collection<Identifier> values)QuestionnairewithIdentifier(Identifier... values)QuestionnairewithImplicitRules(Uri value)QuestionnairewithItem(java.util.Collection<QuestionnaireItem> values)QuestionnairewithItem(QuestionnaireItem... values)QuestionnairewithLanguage(Code value)QuestionnairewithMeta(Meta value)QuestionnairewithModifierExtension(java.util.Collection<Extension> values)QuestionnairewithModifierExtension(Extension... values)QuestionnairewithPublisher(String value)QuestionnairewithStatus(QuestionnaireStatus value)QuestionnairewithSubjectType(java.util.Collection<Code> values)QuestionnairewithSubjectType(Code... values)QuestionnairewithTelecom(java.util.Collection<ContactPoint> values)QuestionnairewithTelecom(ContactPoint... values)QuestionnairewithText(Narrative value)QuestionnairewithTitle(String value)QuestionnairewithUrl(Uri value)QuestionnairewithUseContext(java.util.Collection<CodeableConcept> values)QuestionnairewithUseContext(CodeableConcept... values)QuestionnairewithVersion(String value)Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
Constructor Details
-
Questionnaire
public Questionnaire()
-
-
Method Details
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
Uri
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
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
setmethod 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
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
QuestionnaireStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isQuestionnaireStatus
-
getDate
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getPublisher
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
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
setmethod 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
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
setmethod 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
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value- allowed object isString
-
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
setmethod 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
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
setmethod 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
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
setmethod 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
-
withIdentifier
-
withIdentifier
-
withVersion
-
withStatus
-
withDate
-
withPublisher
-
withTelecom
-
withTelecom
-
withUseContext
-
withUseContext
-
withTitle
-
withConcept
-
withConcept
-
withSubjectType
-
withSubjectType
-
withItem
-
withItem
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()- Overrides:
toStringin classDomainResource
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-