public static class Questionnaire.QuestionnaireItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<Coding> |
concept
Identifies a how this group of questions is known in a particular terminology such as LOINC.
|
protected List<Questionnaire.QuestionnaireItemEnableWhenComponent> |
enableWhen
If present, indicates that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.
|
protected Type |
initial
The value that should be pre-populated when rendering the questionnaire for user input.
|
protected List<Questionnaire.QuestionnaireItemComponent> |
item
Allows text, questions and other groups to be nested beneath a question or group.
|
protected StringType |
linkId
An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.
|
protected IntegerType |
maxLength
The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.
|
protected List<Questionnaire.QuestionnaireItemOptionComponent> |
option
For a "choice" question, identifies one of the permitted answers for the question.
|
protected Reference |
options
Reference to a value set containing a list of codes representing permitted answers for the question.
|
protected ValueSet |
optionsTarget
The actual object that is the target of the reference (Reference to a value set containing a list of codes representing permitted answers for the question.)
|
protected StringType |
prefix
A short label for a particular group, question or set of display text within the questionnaire.
|
protected BooleanType |
readOnly
If true, the value cannot be changed by a human respondent to the Questionnaire.
|
protected BooleanType |
repeats
Whether the item may occur multiple times in the instance, containing multiple sets of answers.
|
protected BooleanType |
required
If true, indicates that the item must be present in a "completed" QuestionnaireResponse.
|
protected StringType |
text
The name of a section, the text of a question or text content for a text item.
|
protected Enumeration<Questionnaire.QuestionnaireItemType> |
type
Identifies the type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).
|
modifierExtension| Constructor and Description |
|---|
QuestionnaireItemComponent()
Constructor
|
QuestionnaireItemComponent(Enumeration<Questionnaire.QuestionnaireItemType> type)
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 List<Coding> concept
protected StringType prefix
protected StringType text
protected Enumeration<Questionnaire.QuestionnaireItemType> type
protected List<Questionnaire.QuestionnaireItemEnableWhenComponent> enableWhen
protected BooleanType required
protected BooleanType repeats
protected BooleanType readOnly
protected IntegerType maxLength
protected Reference options
protected ValueSet optionsTarget
protected List<Questionnaire.QuestionnaireItemOptionComponent> option
protected Type initial
protected List<Questionnaire.QuestionnaireItemComponent> item
public QuestionnaireItemComponent()
public QuestionnaireItemComponent(Enumeration<Questionnaire.QuestionnaireItemType> type)
public StringType getLinkIdElement()
linkId (An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a 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 Questionnaire.QuestionnaireItemComponent setLinkIdElement(StringType value)
value - linkId (An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the valuepublic String getLinkId()
public Questionnaire.QuestionnaireItemComponent setLinkId(String value)
value - An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.public List<Coding> getConcept()
concept (Identifies a how this group of questions is known in a particular terminology such as LOINC.)public boolean hasConcept()
public Coding addConcept()
concept (Identifies a how this group of questions is known in a particular terminology such as LOINC.)public Questionnaire.QuestionnaireItemComponent addConcept(Coding t)
public StringType getPrefixElement()
prefix (A short label for a particular group, question or set of display text within the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPrefix" gives direct access to the valuepublic boolean hasPrefixElement()
public boolean hasPrefix()
public Questionnaire.QuestionnaireItemComponent setPrefixElement(StringType value)
value - prefix (A short label for a particular group, question or set of display text within the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPrefix" gives direct access to the valuepublic String getPrefix()
public Questionnaire.QuestionnaireItemComponent setPrefix(String value)
value - A short label for a particular group, question or set of display text within the questionnaire.public StringType getTextElement()
text (The name of a section, the text of a question or text content for a text item.). 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 Questionnaire.QuestionnaireItemComponent setTextElement(StringType value)
value - text (The name of a section, the text of a question or text content for a text item.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic String getText()
public Questionnaire.QuestionnaireItemComponent setText(String value)
value - The name of a section, the text of a question or text content for a text item.public Enumeration<Questionnaire.QuestionnaireItemType> getTypeElement()
type (Identifies the type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Questionnaire.QuestionnaireItemComponent setTypeElement(Enumeration<Questionnaire.QuestionnaireItemType> value)
value - type (Identifies the type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Questionnaire.QuestionnaireItemType getType()
public Questionnaire.QuestionnaireItemComponent setType(Questionnaire.QuestionnaireItemType value)
value - Identifies the type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).public List<Questionnaire.QuestionnaireItemEnableWhenComponent> getEnableWhen()
enableWhen (If present, indicates that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.)public boolean hasEnableWhen()
public Questionnaire.QuestionnaireItemEnableWhenComponent addEnableWhen()
enableWhen (If present, indicates that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.)public Questionnaire.QuestionnaireItemComponent addEnableWhen(Questionnaire.QuestionnaireItemEnableWhenComponent t)
public BooleanType getRequiredElement()
required (If true, indicates that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getRequired" gives direct access to the valuepublic boolean hasRequiredElement()
public boolean hasRequired()
public Questionnaire.QuestionnaireItemComponent setRequiredElement(BooleanType value)
value - required (If true, indicates that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getRequired" gives direct access to the valuepublic boolean getRequired()
public Questionnaire.QuestionnaireItemComponent setRequired(boolean value)
value - If true, indicates that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.public BooleanType getRepeatsElement()
repeats (Whether the item may occur multiple times in the instance, containing multiple sets of answers.). This is the underlying object with id, value and extensions. The accessor "getRepeats" gives direct access to the valuepublic boolean hasRepeatsElement()
public boolean hasRepeats()
public Questionnaire.QuestionnaireItemComponent setRepeatsElement(BooleanType value)
value - repeats (Whether the item may occur multiple times in the instance, containing multiple sets of answers.). This is the underlying object with id, value and extensions. The accessor "getRepeats" gives direct access to the valuepublic boolean getRepeats()
public Questionnaire.QuestionnaireItemComponent setRepeats(boolean value)
value - Whether the item may occur multiple times in the instance, containing multiple sets of answers.public BooleanType getReadOnlyElement()
readOnly (If true, the value cannot be changed by a human respondent to the Questionnaire.). This is the underlying object with id, value and extensions. The accessor "getReadOnly" gives direct access to the valuepublic boolean hasReadOnlyElement()
public boolean hasReadOnly()
public Questionnaire.QuestionnaireItemComponent setReadOnlyElement(BooleanType value)
value - readOnly (If true, the value cannot be changed by a human respondent to the Questionnaire.). This is the underlying object with id, value and extensions. The accessor "getReadOnly" gives direct access to the valuepublic boolean getReadOnly()
public Questionnaire.QuestionnaireItemComponent setReadOnly(boolean value)
value - If true, the value cannot be changed by a human respondent to the Questionnaire.public IntegerType getMaxLengthElement()
maxLength (The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.). This is the underlying object with id, value and extensions. The accessor "getMaxLength" gives direct access to the valuepublic boolean hasMaxLengthElement()
public boolean hasMaxLength()
public Questionnaire.QuestionnaireItemComponent setMaxLengthElement(IntegerType value)
value - maxLength (The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.). This is the underlying object with id, value and extensions. The accessor "getMaxLength" gives direct access to the valuepublic int getMaxLength()
public Questionnaire.QuestionnaireItemComponent setMaxLength(int value)
value - The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.public Reference getOptions()
options (Reference to a value set containing a list of codes representing permitted answers for the question.)public boolean hasOptions()
public Questionnaire.QuestionnaireItemComponent setOptions(Reference value)
value - options (Reference to a value set containing a list of codes representing permitted answers for the question.)public ValueSet getOptionsTarget()
options 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. (Reference to a value set containing a list of codes representing permitted answers for the question.)public Questionnaire.QuestionnaireItemComponent setOptionsTarget(ValueSet value)
value - options 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. (Reference to a value set containing a list of codes representing permitted answers for the question.)public List<Questionnaire.QuestionnaireItemOptionComponent> getOption()
option (For a "choice" question, identifies one of the permitted answers for the question.)public boolean hasOption()
public Questionnaire.QuestionnaireItemOptionComponent addOption()
option (For a "choice" question, identifies one of the permitted answers for the question.)public Questionnaire.QuestionnaireItemComponent addOption(Questionnaire.QuestionnaireItemOptionComponent t)
public Type getInitial()
initial (The value that should be pre-populated when rendering the questionnaire for user input.)public BooleanType getInitialBooleanType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialBooleanType()
public DecimalType getInitialDecimalType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialDecimalType()
public IntegerType getInitialIntegerType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialIntegerType()
public DateType getInitialDateType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialDateType()
public DateTimeType getInitialDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialDateTimeType()
public InstantType getInitialInstantType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialInstantType()
public TimeType getInitialTimeType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialTimeType()
public StringType getInitialStringType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialStringType()
public UriType getInitialUriType() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialUriType()
public Attachment getInitialAttachment() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialAttachment()
public Coding getInitialCoding() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialCoding()
public Quantity getInitialQuantity() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialQuantity()
public Reference getInitialReference() throws org.hl7.fhir.exceptions.FHIRException
initial (The value that should be pre-populated when rendering the questionnaire for user input.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasInitialReference()
public boolean hasInitial()
public Questionnaire.QuestionnaireItemComponent setInitial(Type value)
value - initial (The value that should be pre-populated when rendering the questionnaire for user input.)public List<Questionnaire.QuestionnaireItemComponent> getItem()
item (Allows text, questions and other groups to be nested beneath a question or group.)public boolean hasItem()
public Questionnaire.QuestionnaireItemComponent addItem()
item (Allows text, questions and other groups to be nested beneath a question or group.)public Questionnaire.QuestionnaireItemComponent addItem(Questionnaire.QuestionnaireItemComponent 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 Questionnaire.QuestionnaireItemComponent 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.