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 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
|
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, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, 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, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected StringType linkId
protected UriType definition
protected StringType text
protected Reference subject
protected Resource subjectTarget
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 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 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 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.