Package org.hl7.fhir
Class QuestionnaireEnableWhen
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.BackboneElement
org.hl7.fhir.QuestionnaireEnableWhen
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class QuestionnaireEnableWhen
extends BackboneElement
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions.
Java class for Questionnaire.EnableWhen complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Questionnaire.EnableWhen">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="question" type="{http://hl7.org/fhir}string"/>
<element name="answered" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<choice minOccurs="0">
<element name="answerBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="answerDecimal" type="{http://hl7.org/fhir}decimal"/>
<element name="answerInteger" type="{http://hl7.org/fhir}integer"/>
<element name="answerDate" type="{http://hl7.org/fhir}date"/>
<element name="answerDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="answerInstant" type="{http://hl7.org/fhir}instant"/>
<element name="answerTime" type="{http://hl7.org/fhir}time"/>
<element name="answerString" type="{http://hl7.org/fhir}string"/>
<element name="answerUri" type="{http://hl7.org/fhir}uri"/>
<element name="answerAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="answerCoding" type="{http://hl7.org/fhir}Coding"/>
<element name="answerQuantity" type="{http://hl7.org/fhir}Quantity"/>
<element name="answerReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Attachmentprotected Booleanprotected Codingprotected Dateprotected DateTimeprotected Decimalprotected Booleanprotected Instantprotected Integerprotected Quantityprotected Referenceprotected Stringprotected Timeprotected Uriprotected StringFields 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 answerAttachment property.Gets the value of the answerBoolean property.Gets the value of the answerCoding property.Gets the value of the answerDate property.Gets the value of the answerDateTime property.Gets the value of the answerDecimal property.Gets the value of the answered property.Gets the value of the answerInstant property.Gets the value of the answerInteger property.Gets the value of the answerQuantity property.Gets the value of the answerReference property.Gets the value of the answerString property.Gets the value of the answerTime property.Gets the value of the answerUri property.Gets the value of the question property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAnswerAttachment(Attachment value) Sets the value of the answerAttachment property.voidsetAnswerBoolean(Boolean value) Sets the value of the answerBoolean property.voidsetAnswerCoding(Coding value) Sets the value of the answerCoding property.voidsetAnswerDate(Date value) Sets the value of the answerDate property.voidsetAnswerDateTime(DateTime value) Sets the value of the answerDateTime property.voidsetAnswerDecimal(Decimal value) Sets the value of the answerDecimal property.voidsetAnswered(Boolean value) Sets the value of the answered property.voidsetAnswerInstant(Instant value) Sets the value of the answerInstant property.voidsetAnswerInteger(Integer value) Sets the value of the answerInteger property.voidsetAnswerQuantity(Quantity value) Sets the value of the answerQuantity property.voidsetAnswerReference(Reference value) Sets the value of the answerReference property.voidsetAnswerString(String value) Sets the value of the answerString property.voidsetAnswerTime(Time value) Sets the value of the answerTime property.voidsetAnswerUri(Uri value) Sets the value of the answerUri property.voidsetQuestion(String value) Sets the value of the question property.toString()withAnswerAttachment(Attachment value) withAnswerBoolean(Boolean value) withAnswerCoding(Coding value) withAnswerDate(Date value) withAnswerDateTime(DateTime value) withAnswerDecimal(Decimal value) withAnswered(Boolean value) withAnswerInstant(Instant value) withAnswerInteger(Integer value) withAnswerQuantity(Quantity value) withAnswerReference(Reference value) withAnswerString(String value) withAnswerTime(Time value) withAnswerUri(Uri value) withExtension(Collection<Extension> values) withExtension(Extension... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withQuestion(String value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
question
-
answered
-
answerBoolean
-
answerDecimal
-
answerInteger
-
answerDate
-
answerDateTime
-
answerInstant
-
answerTime
-
answerString
-
answerUri
-
answerAttachment
-
answerCoding
-
answerQuantity
-
answerReference
-
-
Constructor Details
-
QuestionnaireEnableWhen
public QuestionnaireEnableWhen()
-
-
Method Details
-
getQuestion
Gets the value of the question property.- Returns:
- possible object is
String
-
setQuestion
Sets the value of the question property.- Parameters:
value- allowed object isString
-
getAnswered
Gets the value of the answered property.- Returns:
- possible object is
Boolean
-
setAnswered
Sets the value of the answered property.- Parameters:
value- allowed object isBoolean
-
getAnswerBoolean
Gets the value of the answerBoolean property.- Returns:
- possible object is
Boolean
-
setAnswerBoolean
Sets the value of the answerBoolean property.- Parameters:
value- allowed object isBoolean
-
getAnswerDecimal
Gets the value of the answerDecimal property.- Returns:
- possible object is
Decimal
-
setAnswerDecimal
Sets the value of the answerDecimal property.- Parameters:
value- allowed object isDecimal
-
getAnswerInteger
Gets the value of the answerInteger property.- Returns:
- possible object is
Integer
-
setAnswerInteger
Sets the value of the answerInteger property.- Parameters:
value- allowed object isInteger
-
getAnswerDate
Gets the value of the answerDate property.- Returns:
- possible object is
Date
-
setAnswerDate
Sets the value of the answerDate property.- Parameters:
value- allowed object isDate
-
getAnswerDateTime
Gets the value of the answerDateTime property.- Returns:
- possible object is
DateTime
-
setAnswerDateTime
Sets the value of the answerDateTime property.- Parameters:
value- allowed object isDateTime
-
getAnswerInstant
Gets the value of the answerInstant property.- Returns:
- possible object is
Instant
-
setAnswerInstant
Sets the value of the answerInstant property.- Parameters:
value- allowed object isInstant
-
getAnswerTime
Gets the value of the answerTime property.- Returns:
- possible object is
Time
-
setAnswerTime
Sets the value of the answerTime property.- Parameters:
value- allowed object isTime
-
getAnswerString
Gets the value of the answerString property.- Returns:
- possible object is
String
-
setAnswerString
Sets the value of the answerString property.- Parameters:
value- allowed object isString
-
getAnswerUri
Gets the value of the answerUri property.- Returns:
- possible object is
Uri
-
setAnswerUri
Sets the value of the answerUri property.- Parameters:
value- allowed object isUri
-
getAnswerAttachment
Gets the value of the answerAttachment property.- Returns:
- possible object is
Attachment
-
setAnswerAttachment
Sets the value of the answerAttachment property.- Parameters:
value- allowed object isAttachment
-
getAnswerCoding
Gets the value of the answerCoding property.- Returns:
- possible object is
Coding
-
setAnswerCoding
Sets the value of the answerCoding property.- Parameters:
value- allowed object isCoding
-
getAnswerQuantity
Gets the value of the answerQuantity property.- Returns:
- possible object is
Quantity
-
setAnswerQuantity
Sets the value of the answerQuantity property.- Parameters:
value- allowed object isQuantity
-
getAnswerReference
Gets the value of the answerReference property.- Returns:
- possible object is
Reference
-
setAnswerReference
Sets the value of the answerReference property.- Parameters:
value- allowed object isReference
-
withQuestion
-
withAnswered
-
withAnswerBoolean
-
withAnswerDecimal
-
withAnswerInteger
-
withAnswerDate
-
withAnswerDateTime
-
withAnswerInstant
-
withAnswerTime
-
withAnswerString
-
withAnswerUri
-
withAnswerAttachment
-
withAnswerCoding
-
withAnswerQuantity
-
withAnswerReference
-
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
-