public static class QuestionnaireResponse.QuestionnaireResponseItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> |
answer
The respondent's answer(s) to the question.
|
protected UriType |
definition
A reference to an [[[ElementDefinition]]] that provides the details for the item.
|
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> |
item
Questions or sub-groups nested beneath a question or group.
|
protected StringType |
linkId
The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.
|
protected StringType |
text
Text that is displayed above the contents of the group or as the text of the question being answered.
|
modifierExtension| Constructor and Description |
|---|
QuestionnaireResponseItemComponent()
Constructor
|
QuestionnaireResponseItemComponent(StringType linkId)
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 StringType linkId
protected UriType definition
protected StringType text
protected List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> answer
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> item
public QuestionnaireResponseItemComponent()
public QuestionnaireResponseItemComponent(StringType linkId)
public StringType getLinkIdElement()
linkId (The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the valuepublic boolean hasLinkIdElement()
public boolean hasLinkId()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setLinkIdElement(StringType value)
value - linkId (The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the valuepublic String getLinkId()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setLinkId(String value)
value - The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.public UriType getDefinitionElement()
definition (A reference to an [[[ElementDefinition]]] that provides the details for the item.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the valuepublic boolean hasDefinitionElement()
public boolean hasDefinition()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setDefinitionElement(UriType value)
value - definition (A reference to an [[[ElementDefinition]]] that provides the details for the item.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the valuepublic String getDefinition()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setDefinition(String value)
value - A reference to an [[[ElementDefinition]]] that provides the details for the item.public StringType getTextElement()
text (Text that is displayed above the contents of the group or as the text of the question being answered.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setTextElement(StringType value)
value - text (Text that is displayed above the contents of the group or as the text of the question being answered.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic String getText()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setText(String value)
value - Text that is displayed above the contents of the group or as the text of the question being answered.public List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> getAnswer()
answer (The respondent's answer(s) to the question.)public QuestionnaireResponse.QuestionnaireResponseItemComponent setAnswer(List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> theAnswer)
this for easy method chainingpublic boolean hasAnswer()
public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent addAnswer()
public QuestionnaireResponse.QuestionnaireResponseItemComponent addAnswer(QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent t)
public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent getAnswerFirstRep()
answer, creating it if it does not already existpublic List<QuestionnaireResponse.QuestionnaireResponseItemComponent> getItem()
item (Questions or sub-groups nested beneath a question or group.)public QuestionnaireResponse.QuestionnaireResponseItemComponent setItem(List<QuestionnaireResponse.QuestionnaireResponseItemComponent> theItem)
this for easy method chainingpublic boolean hasItem()
public QuestionnaireResponse.QuestionnaireResponseItemComponent addItem()
public QuestionnaireResponse.QuestionnaireResponseItemComponent 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.QuestionnaireResponseItemComponent copy()
copy in class BackboneElementpublic void copyValues(QuestionnaireResponse.QuestionnaireResponseItemComponent 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.