public class QuestionnaireItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Coding> |
concept |
protected java.util.List<QuestionnaireEnableWhen> |
enableWhen |
protected Attachment |
initialAttachment |
protected Boolean |
initialBoolean |
protected Coding |
initialCoding |
protected Date |
initialDate |
protected DateTime |
initialDateTime |
protected Decimal |
initialDecimal |
protected Instant |
initialInstant |
protected Integer |
initialInteger |
protected Quantity |
initialQuantity |
protected Reference |
initialReference |
protected String |
initialString |
protected Time |
initialTime |
protected Uri |
initialUri |
protected java.util.List<QuestionnaireItem> |
item |
protected String |
linkId |
protected Integer |
maxLength |
protected java.util.List<QuestionnaireOption> |
option |
protected Reference |
options |
protected String |
prefix |
protected Boolean |
readOnly |
protected Boolean |
repeats |
protected Boolean |
required |
protected String |
text |
protected QuestionnaireItemType |
type |
modifierExtension| Constructor and Description |
|---|
QuestionnaireItem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.util.List<Coding> |
getConcept()
Gets the value of the concept property.
|
java.util.List<QuestionnaireEnableWhen> |
getEnableWhen()
Gets the value of the enableWhen property.
|
Attachment |
getInitialAttachment()
Gets the value of the initialAttachment property.
|
Boolean |
getInitialBoolean()
Gets the value of the initialBoolean property.
|
Coding |
getInitialCoding()
Gets the value of the initialCoding property.
|
Date |
getInitialDate()
Gets the value of the initialDate property.
|
DateTime |
getInitialDateTime()
Gets the value of the initialDateTime property.
|
Decimal |
getInitialDecimal()
Gets the value of the initialDecimal property.
|
Instant |
getInitialInstant()
Gets the value of the initialInstant property.
|
Integer |
getInitialInteger()
Gets the value of the initialInteger property.
|
Quantity |
getInitialQuantity()
Gets the value of the initialQuantity property.
|
Reference |
getInitialReference()
Gets the value of the initialReference property.
|
String |
getInitialString()
Gets the value of the initialString property.
|
Time |
getInitialTime()
Gets the value of the initialTime property.
|
Uri |
getInitialUri()
Gets the value of the initialUri property.
|
java.util.List<QuestionnaireItem> |
getItem()
Gets the value of the item property.
|
String |
getLinkId()
Gets the value of the linkId property.
|
Integer |
getMaxLength()
Gets the value of the maxLength property.
|
java.util.List<QuestionnaireOption> |
getOption()
Gets the value of the option property.
|
Reference |
getOptions()
Gets the value of the options property.
|
String |
getPrefix()
Gets the value of the prefix property.
|
Boolean |
getReadOnly()
Gets the value of the readOnly property.
|
Boolean |
getRepeats()
Gets the value of the repeats property.
|
Boolean |
getRequired()
Gets the value of the required property.
|
String |
getText()
Gets the value of the text property.
|
QuestionnaireItemType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setInitialAttachment(Attachment value)
Sets the value of the initialAttachment property.
|
void |
setInitialBoolean(Boolean value)
Sets the value of the initialBoolean property.
|
void |
setInitialCoding(Coding value)
Sets the value of the initialCoding property.
|
void |
setInitialDate(Date value)
Sets the value of the initialDate property.
|
void |
setInitialDateTime(DateTime value)
Sets the value of the initialDateTime property.
|
void |
setInitialDecimal(Decimal value)
Sets the value of the initialDecimal property.
|
void |
setInitialInstant(Instant value)
Sets the value of the initialInstant property.
|
void |
setInitialInteger(Integer value)
Sets the value of the initialInteger property.
|
void |
setInitialQuantity(Quantity value)
Sets the value of the initialQuantity property.
|
void |
setInitialReference(Reference value)
Sets the value of the initialReference property.
|
void |
setInitialString(String value)
Sets the value of the initialString property.
|
void |
setInitialTime(Time value)
Sets the value of the initialTime property.
|
void |
setInitialUri(Uri value)
Sets the value of the initialUri property.
|
void |
setLinkId(String value)
Sets the value of the linkId property.
|
void |
setMaxLength(Integer value)
Sets the value of the maxLength property.
|
void |
setOptions(Reference value)
Sets the value of the options property.
|
void |
setPrefix(String value)
Sets the value of the prefix property.
|
void |
setReadOnly(Boolean value)
Sets the value of the readOnly property.
|
void |
setRepeats(Boolean value)
Sets the value of the repeats property.
|
void |
setRequired(Boolean value)
Sets the value of the required property.
|
void |
setText(String value)
Sets the value of the text property.
|
void |
setType(QuestionnaireItemType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
QuestionnaireItem |
withConcept(Coding... values) |
QuestionnaireItem |
withConcept(java.util.Collection<Coding> values) |
QuestionnaireItem |
withEnableWhen(java.util.Collection<QuestionnaireEnableWhen> values) |
QuestionnaireItem |
withEnableWhen(QuestionnaireEnableWhen... values) |
QuestionnaireItem |
withExtension(java.util.Collection<Extension> values) |
QuestionnaireItem |
withExtension(Extension... values) |
QuestionnaireItem |
withId(java.lang.String value) |
QuestionnaireItem |
withInitialAttachment(Attachment value) |
QuestionnaireItem |
withInitialBoolean(Boolean value) |
QuestionnaireItem |
withInitialCoding(Coding value) |
QuestionnaireItem |
withInitialDate(Date value) |
QuestionnaireItem |
withInitialDateTime(DateTime value) |
QuestionnaireItem |
withInitialDecimal(Decimal value) |
QuestionnaireItem |
withInitialInstant(Instant value) |
QuestionnaireItem |
withInitialInteger(Integer value) |
QuestionnaireItem |
withInitialQuantity(Quantity value) |
QuestionnaireItem |
withInitialReference(Reference value) |
QuestionnaireItem |
withInitialString(String value) |
QuestionnaireItem |
withInitialTime(Time value) |
QuestionnaireItem |
withInitialUri(Uri value) |
QuestionnaireItem |
withItem(java.util.Collection<QuestionnaireItem> values) |
QuestionnaireItem |
withItem(QuestionnaireItem... values) |
QuestionnaireItem |
withLinkId(String value) |
QuestionnaireItem |
withMaxLength(Integer value) |
QuestionnaireItem |
withModifierExtension(java.util.Collection<Extension> values) |
QuestionnaireItem |
withModifierExtension(Extension... values) |
QuestionnaireItem |
withOption(java.util.Collection<QuestionnaireOption> values) |
QuestionnaireItem |
withOption(QuestionnaireOption... values) |
QuestionnaireItem |
withOptions(Reference value) |
QuestionnaireItem |
withPrefix(String value) |
QuestionnaireItem |
withReadOnly(Boolean value) |
QuestionnaireItem |
withRepeats(Boolean value) |
QuestionnaireItem |
withRequired(Boolean value) |
QuestionnaireItem |
withText(String value) |
QuestionnaireItem |
withType(QuestionnaireItemType value) |
getModifierExtensiongetExtension, getId, setIdprotected String linkId
protected java.util.List<Coding> concept
protected String prefix
protected String text
protected QuestionnaireItemType type
protected java.util.List<QuestionnaireEnableWhen> enableWhen
protected Boolean required
protected Boolean repeats
protected Boolean readOnly
protected Integer maxLength
protected Reference options
protected java.util.List<QuestionnaireOption> option
protected Boolean initialBoolean
protected Decimal initialDecimal
protected Integer initialInteger
protected Date initialDate
protected DateTime initialDateTime
protected Instant initialInstant
protected Time initialTime
protected String initialString
protected Uri initialUri
protected Attachment initialAttachment
protected Coding initialCoding
protected Quantity initialQuantity
protected Reference initialReference
protected java.util.List<QuestionnaireItem> item
public String getLinkId()
Stringpublic void setLinkId(String value)
value - allowed object is
Stringpublic java.util.List<Coding> getConcept()
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
public String getPrefix()
Stringpublic void setPrefix(String value)
value - allowed object is
Stringpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic QuestionnaireItemType getType()
QuestionnaireItemTypepublic void setType(QuestionnaireItemType value)
value - allowed object is
QuestionnaireItemTypepublic java.util.List<QuestionnaireEnableWhen> getEnableWhen()
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 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
public Boolean getRequired()
Booleanpublic void setRequired(Boolean value)
value - allowed object is
Booleanpublic Boolean getRepeats()
Booleanpublic void setRepeats(Boolean value)
value - allowed object is
Booleanpublic Boolean getReadOnly()
Booleanpublic void setReadOnly(Boolean value)
value - allowed object is
Booleanpublic Integer getMaxLength()
Integerpublic void setMaxLength(Integer value)
value - allowed object is
Integerpublic Reference getOptions()
Referencepublic void setOptions(Reference value)
value - allowed object is
Referencepublic java.util.List<QuestionnaireOption> getOption()
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 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
public Boolean getInitialBoolean()
Booleanpublic void setInitialBoolean(Boolean value)
value - allowed object is
Booleanpublic Decimal getInitialDecimal()
Decimalpublic void setInitialDecimal(Decimal value)
value - allowed object is
Decimalpublic Integer getInitialInteger()
Integerpublic void setInitialInteger(Integer value)
value - allowed object is
Integerpublic Date getInitialDate()
Datepublic void setInitialDate(Date value)
value - allowed object is
Datepublic DateTime getInitialDateTime()
DateTimepublic void setInitialDateTime(DateTime value)
value - allowed object is
DateTimepublic Instant getInitialInstant()
Instantpublic void setInitialInstant(Instant value)
value - allowed object is
Instantpublic Time getInitialTime()
Timepublic void setInitialTime(Time value)
value - allowed object is
Timepublic String getInitialString()
Stringpublic void setInitialString(String value)
value - allowed object is
Stringpublic Uri getInitialUri()
Uripublic void setInitialUri(Uri value)
value - allowed object is
Uripublic Attachment getInitialAttachment()
Attachmentpublic void setInitialAttachment(Attachment value)
value - allowed object is
Attachmentpublic Coding getInitialCoding()
Codingpublic void setInitialCoding(Coding value)
value - allowed object is
Codingpublic Quantity getInitialQuantity()
Quantitypublic void setInitialQuantity(Quantity value)
value - allowed object is
Quantitypublic Reference getInitialReference()
Referencepublic void setInitialReference(Reference value)
value - allowed object is
Referencepublic java.util.List<QuestionnaireItem> getItem()
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
public QuestionnaireItem withLinkId(String value)
public QuestionnaireItem withConcept(Coding... values)
public QuestionnaireItem withConcept(java.util.Collection<Coding> values)
public QuestionnaireItem withPrefix(String value)
public QuestionnaireItem withText(String value)
public QuestionnaireItem withType(QuestionnaireItemType value)
public QuestionnaireItem withEnableWhen(QuestionnaireEnableWhen... values)
public QuestionnaireItem withEnableWhen(java.util.Collection<QuestionnaireEnableWhen> values)
public QuestionnaireItem withRequired(Boolean value)
public QuestionnaireItem withRepeats(Boolean value)
public QuestionnaireItem withReadOnly(Boolean value)
public QuestionnaireItem withMaxLength(Integer value)
public QuestionnaireItem withOptions(Reference value)
public QuestionnaireItem withOption(QuestionnaireOption... values)
public QuestionnaireItem withOption(java.util.Collection<QuestionnaireOption> values)
public QuestionnaireItem withInitialBoolean(Boolean value)
public QuestionnaireItem withInitialDecimal(Decimal value)
public QuestionnaireItem withInitialInteger(Integer value)
public QuestionnaireItem withInitialDate(Date value)
public QuestionnaireItem withInitialDateTime(DateTime value)
public QuestionnaireItem withInitialInstant(Instant value)
public QuestionnaireItem withInitialTime(Time value)
public QuestionnaireItem withInitialString(String value)
public QuestionnaireItem withInitialUri(Uri value)
public QuestionnaireItem withInitialAttachment(Attachment value)
public QuestionnaireItem withInitialCoding(Coding value)
public QuestionnaireItem withInitialQuantity(Quantity value)
public QuestionnaireItem withInitialReference(Reference value)
public QuestionnaireItem withItem(QuestionnaireItem... values)
public QuestionnaireItem withItem(java.util.Collection<QuestionnaireItem> values)
public QuestionnaireItem withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic QuestionnaireItem withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic QuestionnaireItem withExtension(Extension... values)
withExtension in class BackboneElementpublic QuestionnaireItem withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic QuestionnaireItem withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement