public static class QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.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, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected 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 org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueBooleanType()
public DecimalType getValueDecimalType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueDecimalType()
public IntegerType getValueIntegerType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueIntegerType()
public DateType getValueDateType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueDateType()
public DateTimeType getValueDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueDateTimeType()
public TimeType getValueTimeType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueTimeType()
public StringType getValueStringType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueStringType()
public UriType getValueUriType() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueUriType()
public Attachment getValueAttachment() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueAttachment()
public Coding getValueCoding() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueCoding()
public Quantity getValueQuantity() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueQuantity()
public Reference getValueReference() throws org.hl7.fhir.exceptions.FHIRException
value (The answer (or one of the answers) provided by the respondent to the question.)org.hl7.fhir.exceptions.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> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent copy()
copy in class BackboneElementpublic void copyValues(QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.