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 List<QuestionnaireResponse.QuestionnaireResponseItemComponent> |
item
Questions or sub-groups nested beneath a question or group.
|
protected StringType |
linkId
Identifies the item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.
|
protected Reference |
subject
More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.)
|
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
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected StringType linkId
protected StringType text
protected Reference subject
protected Resource subjectTarget
protected List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> answer
protected List<QuestionnaireResponse.QuestionnaireResponseItemComponent> item
public QuestionnaireResponseItemComponent()
public StringType getLinkIdElement()
linkId (Identifies 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 (Identifies 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 - Identifies the item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.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 Reference getSubject()
subject (More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.)public boolean hasSubject()
public QuestionnaireResponse.QuestionnaireResponseItemComponent setSubject(Reference value)
value - subject (More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.)public Resource getSubjectTarget()
subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.)public QuestionnaireResponse.QuestionnaireResponseItemComponent setSubjectTarget(Resource value)
value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.)public List<QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent> getAnswer()
answer (The respondent's answer(s) to the question.)public boolean hasAnswer()
public QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent addAnswer()
answer (The respondent's answer(s) to the question.)public QuestionnaireResponse.QuestionnaireResponseItemComponent addAnswer(QuestionnaireResponse.QuestionnaireResponseItemAnswerComponent t)
public List<QuestionnaireResponse.QuestionnaireResponseItemComponent> getItem()
item (Questions or sub-groups nested beneath a question or group.)public boolean hasItem()
public QuestionnaireResponse.QuestionnaireResponseItemComponent addItem()
item (Questions or sub-groups nested beneath a question or group.)public QuestionnaireResponse.QuestionnaireResponseItemComponent addItem(QuestionnaireResponse.QuestionnaireResponseItemComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 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 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 class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.