Class QuestionnaireItem
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for Questionnaire.Item complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Questionnaire.Item">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="linkId" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="concept" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
<element name="prefix" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="text" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}QuestionnaireItemType"/>
<element name="enableWhen" type="{http://hl7.org/fhir}Questionnaire.EnableWhen" maxOccurs="unbounded" minOccurs="0"/>
<element name="required" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="repeats" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="readOnly" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="maxLength" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="options" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="option" type="{http://hl7.org/fhir}Questionnaire.Option" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="initialBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="initialDecimal" type="{http://hl7.org/fhir}decimal"/>
<element name="initialInteger" type="{http://hl7.org/fhir}integer"/>
<element name="initialDate" type="{http://hl7.org/fhir}date"/>
<element name="initialDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="initialInstant" type="{http://hl7.org/fhir}instant"/>
<element name="initialTime" type="{http://hl7.org/fhir}time"/>
<element name="initialString" type="{http://hl7.org/fhir}string"/>
<element name="initialUri" type="{http://hl7.org/fhir}uri"/>
<element name="initialAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="initialCoding" type="{http://hl7.org/fhir}Coding"/>
<element name="initialQuantity" type="{http://hl7.org/fhir}Quantity"/>
<element name="initialReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="item" type="{http://hl7.org/fhir}Questionnaire.Item" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<QuestionnaireEnableWhen> protected Attachmentprotected Booleanprotected Codingprotected Dateprotected DateTimeprotected Decimalprotected Instantprotected Integerprotected Quantityprotected Referenceprotected Stringprotected Timeprotected Uriprotected List<QuestionnaireItem> protected Stringprotected Integerprotected List<QuestionnaireOption> protected Referenceprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected QuestionnaireItemTypeFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the concept property.Gets the value of the enableWhen property.Gets the value of the initialAttachment property.Gets the value of the initialBoolean property.Gets the value of the initialCoding property.Gets the value of the initialDate property.Gets the value of the initialDateTime property.Gets the value of the initialDecimal property.Gets the value of the initialInstant property.Gets the value of the initialInteger property.Gets the value of the initialQuantity property.Gets the value of the initialReference property.Gets the value of the initialString property.Gets the value of the initialTime property.Gets the value of the initialUri property.getItem()Gets the value of the item property.Gets the value of the linkId property.Gets the value of the maxLength property.Gets the value of the option property.Gets the value of the options property.Gets the value of the prefix property.Gets the value of the readOnly property.Gets the value of the repeats property.Gets the value of the required property.getText()Gets the value of the text property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetConcept(List<Coding> value) voidsetEnableWhen(List<QuestionnaireEnableWhen> value) voidsetInitialAttachment(Attachment value) Sets the value of the initialAttachment property.voidsetInitialBoolean(Boolean value) Sets the value of the initialBoolean property.voidsetInitialCoding(Coding value) Sets the value of the initialCoding property.voidsetInitialDate(Date value) Sets the value of the initialDate property.voidsetInitialDateTime(DateTime value) Sets the value of the initialDateTime property.voidsetInitialDecimal(Decimal value) Sets the value of the initialDecimal property.voidsetInitialInstant(Instant value) Sets the value of the initialInstant property.voidsetInitialInteger(Integer value) Sets the value of the initialInteger property.voidsetInitialQuantity(Quantity value) Sets the value of the initialQuantity property.voidsetInitialReference(Reference value) Sets the value of the initialReference property.voidsetInitialString(String value) Sets the value of the initialString property.voidsetInitialTime(Time value) Sets the value of the initialTime property.voidsetInitialUri(Uri value) Sets the value of the initialUri property.voidsetItem(List<QuestionnaireItem> value) voidSets the value of the linkId property.voidsetMaxLength(Integer value) Sets the value of the maxLength property.voidsetOption(List<QuestionnaireOption> value) voidsetOptions(Reference value) Sets the value of the options property.voidSets the value of the prefix property.voidsetReadOnly(Boolean value) Sets the value of the readOnly property.voidsetRepeats(Boolean value) Sets the value of the repeats property.voidsetRequired(Boolean value) Sets the value of the required property.voidSets the value of the text property.voidsetType(QuestionnaireItemType value) Sets the value of the type property.toString()withConcept(Collection<Coding> values) withConcept(Coding... values) withEnableWhen(QuestionnaireEnableWhen... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withInitialAttachment(Attachment value) withInitialBoolean(Boolean value) withInitialCoding(Coding value) withInitialDate(Date value) withInitialDateTime(DateTime value) withInitialDecimal(Decimal value) withInitialInstant(Instant value) withInitialInteger(Integer value) withInitialQuantity(Quantity value) withInitialReference(Reference value) withInitialString(String value) withInitialTime(Time value) withInitialUri(Uri value) withItem(Collection<QuestionnaireItem> values) withItem(QuestionnaireItem... values) withLinkId(String value) withMaxLength(Integer value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOption(Collection<QuestionnaireOption> values) withOption(QuestionnaireOption... values) withOptions(Reference value) withPrefix(String value) withReadOnly(Boolean value) withRepeats(Boolean value) withRequired(Boolean value) withType(QuestionnaireItemType value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
linkId
-
concept
-
prefix
-
text
-
type
-
enableWhen
-
required
-
repeats
-
readOnly
-
maxLength
-
options
-
option
-
initialBoolean
-
initialDecimal
-
initialInteger
-
initialDate
-
initialDateTime
-
initialInstant
-
initialTime
-
initialString
-
initialUri
-
initialAttachment
-
initialCoding
-
initialQuantity
-
initialReference
-
item
-
-
Constructor Details
-
QuestionnaireItem
public QuestionnaireItem()
-
-
Method Details
-
getLinkId
Gets the value of the linkId property.- Returns:
- possible object is
String
-
setLinkId
Sets the value of the linkId 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 Jakarta XML Binding 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 -
getPrefix
Gets the value of the prefix property.- Returns:
- possible object is
String
-
setPrefix
Sets the value of the prefix property.- Parameters:
value- allowed object isString
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
QuestionnaireItemType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isQuestionnaireItemType
-
getEnableWhen
Gets the value of the enableWhen 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
setmethod for the enableWhen property.For example, to add a new item, do as follows:
getEnableWhen().add(newItem);Objects of the following type(s) are allowed in the list
QuestionnaireEnableWhen -
getRequired
Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
Sets the value of the required property.- Parameters:
value- allowed object isBoolean
-
getRepeats
Gets the value of the repeats property.- Returns:
- possible object is
Boolean
-
setRepeats
Sets the value of the repeats property.- Parameters:
value- allowed object isBoolean
-
getReadOnly
Gets the value of the readOnly property.- Returns:
- possible object is
Boolean
-
setReadOnly
Sets the value of the readOnly property.- Parameters:
value- allowed object isBoolean
-
getMaxLength
Gets the value of the maxLength property.- Returns:
- possible object is
Integer
-
setMaxLength
Sets the value of the maxLength property.- Parameters:
value- allowed object isInteger
-
getOptions
Gets the value of the options property.- Returns:
- possible object is
Reference
-
setOptions
Sets the value of the options property.- Parameters:
value- allowed object isReference
-
getOption
Gets the value of the option 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
setmethod for the option property.For example, to add a new item, do as follows:
getOption().add(newItem);Objects of the following type(s) are allowed in the list
QuestionnaireOption -
getInitialBoolean
Gets the value of the initialBoolean property.- Returns:
- possible object is
Boolean
-
setInitialBoolean
Sets the value of the initialBoolean property.- Parameters:
value- allowed object isBoolean
-
getInitialDecimal
Gets the value of the initialDecimal property.- Returns:
- possible object is
Decimal
-
setInitialDecimal
Sets the value of the initialDecimal property.- Parameters:
value- allowed object isDecimal
-
getInitialInteger
Gets the value of the initialInteger property.- Returns:
- possible object is
Integer
-
setInitialInteger
Sets the value of the initialInteger property.- Parameters:
value- allowed object isInteger
-
getInitialDate
Gets the value of the initialDate property.- Returns:
- possible object is
Date
-
setInitialDate
Sets the value of the initialDate property.- Parameters:
value- allowed object isDate
-
getInitialDateTime
Gets the value of the initialDateTime property.- Returns:
- possible object is
DateTime
-
setInitialDateTime
Sets the value of the initialDateTime property.- Parameters:
value- allowed object isDateTime
-
getInitialInstant
Gets the value of the initialInstant property.- Returns:
- possible object is
Instant
-
setInitialInstant
Sets the value of the initialInstant property.- Parameters:
value- allowed object isInstant
-
getInitialTime
Gets the value of the initialTime property.- Returns:
- possible object is
Time
-
setInitialTime
Sets the value of the initialTime property.- Parameters:
value- allowed object isTime
-
getInitialString
Gets the value of the initialString property.- Returns:
- possible object is
String
-
setInitialString
Sets the value of the initialString property.- Parameters:
value- allowed object isString
-
getInitialUri
Gets the value of the initialUri property.- Returns:
- possible object is
Uri
-
setInitialUri
Sets the value of the initialUri property.- Parameters:
value- allowed object isUri
-
getInitialAttachment
Gets the value of the initialAttachment property.- Returns:
- possible object is
Attachment
-
setInitialAttachment
Sets the value of the initialAttachment property.- Parameters:
value- allowed object isAttachment
-
getInitialCoding
Gets the value of the initialCoding property.- Returns:
- possible object is
Coding
-
setInitialCoding
Sets the value of the initialCoding property.- Parameters:
value- allowed object isCoding
-
getInitialQuantity
Gets the value of the initialQuantity property.- Returns:
- possible object is
Quantity
-
setInitialQuantity
Sets the value of the initialQuantity property.- Parameters:
value- allowed object isQuantity
-
getInitialReference
Gets the value of the initialReference property.- Returns:
- possible object is
Reference
-
setInitialReference
Sets the value of the initialReference property.- Parameters:
value- allowed object isReference
-
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
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 -
withLinkId
-
withConcept
-
withConcept
-
withPrefix
-
withText
-
withType
-
withEnableWhen
-
withEnableWhen
-
withRequired
-
withRepeats
-
withReadOnly
-
withMaxLength
-
withOptions
-
withOption
-
withOption
-
withInitialBoolean
-
withInitialDecimal
-
withInitialInteger
-
withInitialDate
-
withInitialDateTime
-
withInitialInstant
-
withInitialTime
-
withInitialString
-
withInitialUri
-
withInitialAttachment
-
withInitialCoding
-
withInitialQuantity
-
withInitialReference
-
withItem
-
withItem
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
setConcept
-
setEnableWhen
-
setOption
-
setItem
-