public static class QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> |
item
Nested groups and/or questions found within this particular answer.
|
protected Type |
value
The answer (or one of the answers) provided by the respondent to the question.
|
modifierExtension| Constructor and Description |
|---|
QuestionnaireResponseItemAnswerComponent()
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected Type value
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> item
public QuestionnaireResponseItemAnswerComponent()
public Type getValue()
value (The answer (or one of the answers) provided by the respondent to the question.)public BooleanType getValueBooleanType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueBooleanType()
public DecimalType getValueDecimalType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueDecimalType()
public IntegerType getValueIntegerType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueIntegerType()
public DateType getValueDateType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueDateType()
public DateTimeType getValueDateTimeType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueDateTimeType()
public TimeType getValueTimeType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueTimeType()
public StringType getValueStringType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueStringType()
public UriType getValueUriType() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueUriType()
public Attachment getValueAttachment() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueAttachment()
public Coding getValueCoding() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueCoding()
public Quantity getValueQuantity() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueQuantity()
public Reference getValueReference() throws FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)FHIRExceptionpublic boolean hasValueReference()
public boolean hasValue()
public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent setValue(Type value)
value - value (The answer (or one of the answers) provided by the respondent to the question.)public List<QuestionnaireResponse.QuestionnaireResponseItemComponent> getItem()
item (Nested groups and/or questions found within this particular answer.)public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent setItem(List<QuestionnaireResponse.QuestionnaireResponseItemComponent> theItem)
this for easy method chainingpublic boolean hasItem()
public QuestionnaireResponse.QuestionnaireResponseItemComponent addItem()
public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent addItem(QuestionnaireResponse.QuestionnaireResponseItemComponent t)
public QuestionnaireResponse.QuestionnaireResponseItemComponent getItemFirstRep()
item, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.