Class Questionnaire
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.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 extensionsJava 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 Stringversion-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Questionnaire()
-
Method Summary
All Methods Instance Methods Concrete Methods 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, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
url
protected Uri url
-
identifier
protected java.util.List<Identifier> identifier
-
version
protected String version
-
status
protected QuestionnaireStatus status
-
date
protected DateTime date
-
publisher
protected String publisher
-
telecom
protected java.util.List<ContactPoint> telecom
-
useContext
protected java.util.List<CodeableConcept> useContext
-
title
protected String title
-
concept
protected java.util.List<Coding> concept
-
subjectType
protected java.util.List<Code> subjectType
-
item
protected java.util.List<QuestionnaireItem> item
-
-
Method Detail
-
setUrl
public void setUrl(Uri value)
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
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
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
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 isString
-
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 isQuestionnaireStatus
-
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 isDateTime
-
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 isString
-
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
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
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
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
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 isString
-
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
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
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
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
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
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
public Questionnaire withUrl(Uri value)
-
withIdentifier
public Questionnaire withIdentifier(Identifier... values)
-
withIdentifier
public Questionnaire withIdentifier(java.util.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(java.util.Collection<ContactPoint> values)
-
withUseContext
public Questionnaire withUseContext(CodeableConcept... values)
-
withUseContext
public Questionnaire withUseContext(java.util.Collection<CodeableConcept> values)
-
withTitle
public Questionnaire withTitle(String value)
-
withConcept
public Questionnaire withConcept(Coding... values)
-
withConcept
public Questionnaire withConcept(java.util.Collection<Coding> values)
-
withSubjectType
public Questionnaire withSubjectType(Code... values)
-
withSubjectType
public Questionnaire withSubjectType(java.util.Collection<Code> values)
-
withItem
public Questionnaire withItem(QuestionnaireItem... values)
-
withItem
public Questionnaire withItem(java.util.Collection<QuestionnaireItem> values)
-
withText
public Questionnaire withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Questionnaire withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Questionnaire withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Questionnaire withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Questionnaire withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Questionnaire withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Questionnaire withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Questionnaire withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Questionnaire withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Questionnaire withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Questionnaire withLanguage(Code value)
- 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
-
-