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
Fields Modifier and Type Field Description protected AttachmentanswerAttachmentprotected BooleananswerBooleanprotected CodinganswerCodingprotected DateanswerDateprotected DateTimeanswerDateTimeprotected DecimalanswerDecimalprotected Booleanansweredprotected InstantanswerInstantprotected IntegeranswerIntegerprotected QuantityanswerQuantityprotected ReferenceanswerReferenceprotected StringanswerStringprotected TimeanswerTimeprotected UrianswerUriprotected Stringquestion-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description QuestionnaireEnableWhen()
-
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)AttachmentgetAnswerAttachment()Gets the value of the answerAttachment property.BooleangetAnswerBoolean()Gets the value of the answerBoolean property.CodinggetAnswerCoding()Gets the value of the answerCoding property.DategetAnswerDate()Gets the value of the answerDate property.DateTimegetAnswerDateTime()Gets the value of the answerDateTime property.DecimalgetAnswerDecimal()Gets the value of the answerDecimal property.BooleangetAnswered()Gets the value of the answered property.InstantgetAnswerInstant()Gets the value of the answerInstant property.IntegergetAnswerInteger()Gets the value of the answerInteger property.QuantitygetAnswerQuantity()Gets the value of the answerQuantity property.ReferencegetAnswerReference()Gets the value of the answerReference property.StringgetAnswerString()Gets the value of the answerString property.TimegetAnswerTime()Gets the value of the answerTime property.UrigetAnswerUri()Gets the value of the answerUri property.StringgetQuestion()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.java.lang.StringtoString()QuestionnaireEnableWhenwithAnswerAttachment(Attachment value)QuestionnaireEnableWhenwithAnswerBoolean(Boolean value)QuestionnaireEnableWhenwithAnswerCoding(Coding value)QuestionnaireEnableWhenwithAnswerDate(Date value)QuestionnaireEnableWhenwithAnswerDateTime(DateTime value)QuestionnaireEnableWhenwithAnswerDecimal(Decimal value)QuestionnaireEnableWhenwithAnswered(Boolean value)QuestionnaireEnableWhenwithAnswerInstant(Instant value)QuestionnaireEnableWhenwithAnswerInteger(Integer value)QuestionnaireEnableWhenwithAnswerQuantity(Quantity value)QuestionnaireEnableWhenwithAnswerReference(Reference value)QuestionnaireEnableWhenwithAnswerString(String value)QuestionnaireEnableWhenwithAnswerTime(Time value)QuestionnaireEnableWhenwithAnswerUri(Uri value)QuestionnaireEnableWhenwithExtension(java.util.Collection<Extension> values)QuestionnaireEnableWhenwithExtension(Extension... values)QuestionnaireEnableWhenwithId(java.lang.String value)QuestionnaireEnableWhenwithModifierExtension(java.util.Collection<Extension> values)QuestionnaireEnableWhenwithModifierExtension(Extension... values)QuestionnaireEnableWhenwithQuestion(String value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
question
protected String question
-
answered
protected Boolean answered
-
answerBoolean
protected Boolean answerBoolean
-
answerDecimal
protected Decimal answerDecimal
-
answerInteger
protected Integer answerInteger
-
answerDate
protected Date answerDate
-
answerDateTime
protected DateTime answerDateTime
-
answerInstant
protected Instant answerInstant
-
answerTime
protected Time answerTime
-
answerString
protected String answerString
-
answerUri
protected Uri answerUri
-
answerAttachment
protected Attachment answerAttachment
-
answerCoding
protected Coding answerCoding
-
answerQuantity
protected Quantity answerQuantity
-
answerReference
protected Reference answerReference
-
-
Method Detail
-
getQuestion
public String getQuestion()
Gets the value of the question property.- Returns:
- possible object is
String
-
setQuestion
public void setQuestion(String value)
Sets the value of the question property.- Parameters:
value- allowed object isString
-
getAnswered
public Boolean getAnswered()
Gets the value of the answered property.- Returns:
- possible object is
Boolean
-
setAnswered
public void setAnswered(Boolean value)
Sets the value of the answered property.- Parameters:
value- allowed object isBoolean
-
getAnswerBoolean
public Boolean getAnswerBoolean()
Gets the value of the answerBoolean property.- Returns:
- possible object is
Boolean
-
setAnswerBoolean
public void setAnswerBoolean(Boolean value)
Sets the value of the answerBoolean property.- Parameters:
value- allowed object isBoolean
-
getAnswerDecimal
public Decimal getAnswerDecimal()
Gets the value of the answerDecimal property.- Returns:
- possible object is
Decimal
-
setAnswerDecimal
public void setAnswerDecimal(Decimal value)
Sets the value of the answerDecimal property.- Parameters:
value- allowed object isDecimal
-
getAnswerInteger
public Integer getAnswerInteger()
Gets the value of the answerInteger property.- Returns:
- possible object is
Integer
-
setAnswerInteger
public void setAnswerInteger(Integer value)
Sets the value of the answerInteger property.- Parameters:
value- allowed object isInteger
-
getAnswerDate
public Date getAnswerDate()
Gets the value of the answerDate property.- Returns:
- possible object is
Date
-
setAnswerDate
public void setAnswerDate(Date value)
Sets the value of the answerDate property.- Parameters:
value- allowed object isDate
-
getAnswerDateTime
public DateTime getAnswerDateTime()
Gets the value of the answerDateTime property.- Returns:
- possible object is
DateTime
-
setAnswerDateTime
public void setAnswerDateTime(DateTime value)
Sets the value of the answerDateTime property.- Parameters:
value- allowed object isDateTime
-
getAnswerInstant
public Instant getAnswerInstant()
Gets the value of the answerInstant property.- Returns:
- possible object is
Instant
-
setAnswerInstant
public void setAnswerInstant(Instant value)
Sets the value of the answerInstant property.- Parameters:
value- allowed object isInstant
-
getAnswerTime
public Time getAnswerTime()
Gets the value of the answerTime property.- Returns:
- possible object is
Time
-
setAnswerTime
public void setAnswerTime(Time value)
Sets the value of the answerTime property.- Parameters:
value- allowed object isTime
-
getAnswerString
public String getAnswerString()
Gets the value of the answerString property.- Returns:
- possible object is
String
-
setAnswerString
public void setAnswerString(String value)
Sets the value of the answerString property.- Parameters:
value- allowed object isString
-
getAnswerUri
public Uri getAnswerUri()
Gets the value of the answerUri property.- Returns:
- possible object is
Uri
-
setAnswerUri
public void setAnswerUri(Uri value)
Sets the value of the answerUri property.- Parameters:
value- allowed object isUri
-
getAnswerAttachment
public Attachment getAnswerAttachment()
Gets the value of the answerAttachment property.- Returns:
- possible object is
Attachment
-
setAnswerAttachment
public void setAnswerAttachment(Attachment value)
Sets the value of the answerAttachment property.- Parameters:
value- allowed object isAttachment
-
getAnswerCoding
public Coding getAnswerCoding()
Gets the value of the answerCoding property.- Returns:
- possible object is
Coding
-
setAnswerCoding
public void setAnswerCoding(Coding value)
Sets the value of the answerCoding property.- Parameters:
value- allowed object isCoding
-
getAnswerQuantity
public Quantity getAnswerQuantity()
Gets the value of the answerQuantity property.- Returns:
- possible object is
Quantity
-
setAnswerQuantity
public void setAnswerQuantity(Quantity value)
Sets the value of the answerQuantity property.- Parameters:
value- allowed object isQuantity
-
getAnswerReference
public Reference getAnswerReference()
Gets the value of the answerReference property.- Returns:
- possible object is
Reference
-
setAnswerReference
public void setAnswerReference(Reference value)
Sets the value of the answerReference property.- Parameters:
value- allowed object isReference
-
withQuestion
public QuestionnaireEnableWhen withQuestion(String value)
-
withAnswered
public QuestionnaireEnableWhen withAnswered(Boolean value)
-
withAnswerBoolean
public QuestionnaireEnableWhen withAnswerBoolean(Boolean value)
-
withAnswerDecimal
public QuestionnaireEnableWhen withAnswerDecimal(Decimal value)
-
withAnswerInteger
public QuestionnaireEnableWhen withAnswerInteger(Integer value)
-
withAnswerDate
public QuestionnaireEnableWhen withAnswerDate(Date value)
-
withAnswerDateTime
public QuestionnaireEnableWhen withAnswerDateTime(DateTime value)
-
withAnswerInstant
public QuestionnaireEnableWhen withAnswerInstant(Instant value)
-
withAnswerTime
public QuestionnaireEnableWhen withAnswerTime(Time value)
-
withAnswerString
public QuestionnaireEnableWhen withAnswerString(String value)
-
withAnswerUri
public QuestionnaireEnableWhen withAnswerUri(Uri value)
-
withAnswerAttachment
public QuestionnaireEnableWhen withAnswerAttachment(Attachment value)
-
withAnswerCoding
public QuestionnaireEnableWhen withAnswerCoding(Coding value)
-
withAnswerQuantity
public QuestionnaireEnableWhen withAnswerQuantity(Quantity value)
-
withAnswerReference
public QuestionnaireEnableWhen withAnswerReference(Reference value)
-
withModifierExtension
public QuestionnaireEnableWhen withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public QuestionnaireEnableWhen withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public QuestionnaireEnableWhen withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public QuestionnaireEnableWhen withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public QuestionnaireEnableWhen withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
-