Package org.hl7.fhir.dstu3.model
Class Questionnaire.QuestionnaireItemComponent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.BackboneElement
-
- org.hl7.fhir.dstu3.model.Questionnaire.QuestionnaireItemComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Questionnaire
public static class Questionnaire.QuestionnaireItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Coding>codeA terminology code that corresponds to this group or question (e.g.protected UriTypedefinitionA reference to an [[[ElementDefinition]]] that provides the details for the item.protected List<Questionnaire.QuestionnaireItemEnableWhenComponent>enableWhenA constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.protected TypeinitialThe value that should be defaulted when initially rendering the questionnaire for user input.protected List<Questionnaire.QuestionnaireItemComponent>itemText, questions and other groups to be nested beneath a question or group.protected StringTypelinkIdAn identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.protected IntegerTypemaxLengthThe maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.protected List<Questionnaire.QuestionnaireItemOptionComponent>optionOne of the permitted answers for a "choice" or "open-choice" question.protected ReferenceoptionsA reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.protected ValueSetoptionsTargetThe actual object that is the target of the reference (A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)protected StringTypeprefixA short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.protected BooleanTypereadOnlyAn indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.protected BooleanTyperepeatsAn indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.protected BooleanTyperequiredAn indication, if true, that the item must be present in a "completed" QuestionnaireResponse.protected StringTypetextThe name of a section, the text of a question or text content for a display item.protected Enumeration<Questionnaire.QuestionnaireItemType>typeThe 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.).-
Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description QuestionnaireItemComponent()ConstructorQuestionnaireItemComponent(StringType linkId, Enumeration<Questionnaire.QuestionnaireItemType> type)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, 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, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
linkId
protected StringType linkId
An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.
-
definition
protected UriType definition
A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.
-
code
protected List<Coding> code
A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).
-
prefix
protected StringType prefix
A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.
-
text
protected StringType text
The name of a section, the text of a question or text content for a display item.
-
type
protected Enumeration<Questionnaire.QuestionnaireItemType> type
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.).
-
enableWhen
protected List<Questionnaire.QuestionnaireItemEnableWhenComponent> enableWhen
A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.
-
required
protected BooleanType required
An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.
-
repeats
protected BooleanType repeats
An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.
-
readOnly
protected BooleanType readOnly
An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.
-
maxLength
protected IntegerType maxLength
The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.
-
options
protected Reference options
A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.
-
optionsTarget
protected ValueSet optionsTarget
The actual object that is the target of the reference (A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
-
option
protected List<Questionnaire.QuestionnaireItemOptionComponent> option
One of the permitted answers for a "choice" or "open-choice" question.
-
initial
protected Type initial
The value that should be defaulted when initially rendering the questionnaire for user input.
-
item
protected List<Questionnaire.QuestionnaireItemComponent> item
Text, questions and other groups to be nested beneath a question or group.
-
-
Constructor Detail
-
QuestionnaireItemComponent
public QuestionnaireItemComponent()
Constructor
-
QuestionnaireItemComponent
public QuestionnaireItemComponent(StringType linkId, Enumeration<Questionnaire.QuestionnaireItemType> type)
Constructor
-
-
Method Detail
-
getLinkIdElement
public StringType getLinkIdElement()
- Returns:
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 value
-
hasLinkIdElement
public boolean hasLinkIdElement()
-
hasLinkId
public boolean hasLinkId()
-
setLinkIdElement
public Questionnaire.QuestionnaireItemComponent setLinkIdElement(StringType value)
- Parameters:
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 value
-
getLinkId
public String getLinkId()
- Returns:
- An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.
-
setLinkId
public Questionnaire.QuestionnaireItemComponent setLinkId(String value)
- Parameters:
value- An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.
-
getDefinitionElement
public UriType getDefinitionElement()
- Returns:
definition(A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
-
hasDefinitionElement
public boolean hasDefinitionElement()
-
hasDefinition
public boolean hasDefinition()
-
setDefinitionElement
public Questionnaire.QuestionnaireItemComponent setDefinitionElement(UriType value)
- Parameters:
value-definition(A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
-
getDefinition
public String getDefinition()
- Returns:
- A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.
-
setDefinition
public Questionnaire.QuestionnaireItemComponent setDefinition(String value)
- Parameters:
value- A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.
-
getCode
public List<Coding> getCode()
- Returns:
code(A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).)
-
setCode
public Questionnaire.QuestionnaireItemComponent setCode(List<Coding> theCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCode
public boolean hasCode()
-
addCode
public Questionnaire.QuestionnaireItemComponent addCode(Coding t)
-
getCodeFirstRep
public Coding getCodeFirstRep()
- Returns:
- The first repetition of repeating field
code, creating it if it does not already exist
-
getPrefixElement
public StringType getPrefixElement()
- Returns:
prefix(A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPrefix" gives direct access to the value
-
hasPrefixElement
public boolean hasPrefixElement()
-
hasPrefix
public boolean hasPrefix()
-
setPrefixElement
public Questionnaire.QuestionnaireItemComponent setPrefixElement(StringType value)
- Parameters:
value-prefix(A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getPrefix" gives direct access to the value
-
getPrefix
public String getPrefix()
- Returns:
- A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.
-
setPrefix
public Questionnaire.QuestionnaireItemComponent setPrefix(String value)
- Parameters:
value- A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.
-
getTextElement
public StringType getTextElement()
- Returns:
text(The name of a section, the text of a question or text content for a display item.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
hasTextElement
public boolean hasTextElement()
-
hasText
public boolean hasText()
-
setTextElement
public Questionnaire.QuestionnaireItemComponent setTextElement(StringType value)
- Parameters:
value-text(The name of a section, the text of a question or text content for a display item.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
getText
public String getText()
- Returns:
- The name of a section, the text of a question or text content for a display item.
-
setText
public Questionnaire.QuestionnaireItemComponent setText(String value)
- Parameters:
value- The name of a section, the text of a question or text content for a display item.
-
getTypeElement
public Enumeration<Questionnaire.QuestionnaireItemType> getTypeElement()
- Returns:
type(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 value
-
hasTypeElement
public boolean hasTypeElement()
-
hasType
public boolean hasType()
-
setTypeElement
public Questionnaire.QuestionnaireItemComponent setTypeElement(Enumeration<Questionnaire.QuestionnaireItemType> value)
- Parameters:
value-type(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 value
-
getType
public Questionnaire.QuestionnaireItemType getType()
- Returns:
- 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.).
-
setType
public Questionnaire.QuestionnaireItemComponent setType(Questionnaire.QuestionnaireItemType value)
- Parameters:
value- 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.).
-
getEnableWhen
public List<Questionnaire.QuestionnaireItemEnableWhenComponent> getEnableWhen()
- Returns:
enableWhen(A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.)
-
setEnableWhen
public Questionnaire.QuestionnaireItemComponent setEnableWhen(List<Questionnaire.QuestionnaireItemEnableWhenComponent> theEnableWhen)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasEnableWhen
public boolean hasEnableWhen()
-
addEnableWhen
public Questionnaire.QuestionnaireItemEnableWhenComponent addEnableWhen()
-
addEnableWhen
public Questionnaire.QuestionnaireItemComponent addEnableWhen(Questionnaire.QuestionnaireItemEnableWhenComponent t)
-
getEnableWhenFirstRep
public Questionnaire.QuestionnaireItemEnableWhenComponent getEnableWhenFirstRep()
- Returns:
- The first repetition of repeating field
enableWhen, creating it if it does not already exist
-
getRequiredElement
public BooleanType getRequiredElement()
- Returns:
required(An indication, if true, 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 value
-
hasRequiredElement
public boolean hasRequiredElement()
-
hasRequired
public boolean hasRequired()
-
setRequiredElement
public Questionnaire.QuestionnaireItemComponent setRequiredElement(BooleanType value)
- Parameters:
value-required(An indication, if true, 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 value
-
getRequired
public boolean getRequired()
- Returns:
- An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.
-
setRequired
public Questionnaire.QuestionnaireItemComponent setRequired(boolean value)
- Parameters:
value- An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.
-
getRepeatsElement
public BooleanType getRepeatsElement()
- Returns:
repeats(An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.). This is the underlying object with id, value and extensions. The accessor "getRepeats" gives direct access to the value
-
hasRepeatsElement
public boolean hasRepeatsElement()
-
hasRepeats
public boolean hasRepeats()
-
setRepeatsElement
public Questionnaire.QuestionnaireItemComponent setRepeatsElement(BooleanType value)
- Parameters:
value-repeats(An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.). This is the underlying object with id, value and extensions. The accessor "getRepeats" gives direct access to the value
-
getRepeats
public boolean getRepeats()
- Returns:
- An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.
-
setRepeats
public Questionnaire.QuestionnaireItemComponent setRepeats(boolean value)
- Parameters:
value- An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.
-
getReadOnlyElement
public BooleanType getReadOnlyElement()
- Returns:
readOnly(An indication, when true, that 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 value
-
hasReadOnlyElement
public boolean hasReadOnlyElement()
-
hasReadOnly
public boolean hasReadOnly()
-
setReadOnlyElement
public Questionnaire.QuestionnaireItemComponent setReadOnlyElement(BooleanType value)
- Parameters:
value-readOnly(An indication, when true, that 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 value
-
getReadOnly
public boolean getReadOnly()
- Returns:
- An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.
-
setReadOnly
public Questionnaire.QuestionnaireItemComponent setReadOnly(boolean value)
- Parameters:
value- An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.
-
getMaxLengthElement
public IntegerType getMaxLengthElement()
- Returns:
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 value
-
hasMaxLengthElement
public boolean hasMaxLengthElement()
-
hasMaxLength
public boolean hasMaxLength()
-
setMaxLengthElement
public Questionnaire.QuestionnaireItemComponent setMaxLengthElement(IntegerType value)
- Parameters:
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 value
-
getMaxLength
public int getMaxLength()
- Returns:
- The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.
-
setMaxLength
public Questionnaire.QuestionnaireItemComponent setMaxLength(int value)
- Parameters:
value- The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.
-
getOptions
public Reference getOptions()
- Returns:
options(A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
-
hasOptions
public boolean hasOptions()
-
setOptions
public Questionnaire.QuestionnaireItemComponent setOptions(Reference value)
- Parameters:
value-options(A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
-
getOptionsTarget
public ValueSet getOptionsTarget()
- Returns:
optionsThe 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. (A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
-
setOptionsTarget
public Questionnaire.QuestionnaireItemComponent setOptionsTarget(ValueSet value)
- Parameters:
value-optionsThe 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. (A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
-
getOption
public List<Questionnaire.QuestionnaireItemOptionComponent> getOption()
- Returns:
option(One of the permitted answers for a "choice" or "open-choice" question.)
-
setOption
public Questionnaire.QuestionnaireItemComponent setOption(List<Questionnaire.QuestionnaireItemOptionComponent> theOption)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOption
public boolean hasOption()
-
addOption
public Questionnaire.QuestionnaireItemOptionComponent addOption()
-
addOption
public Questionnaire.QuestionnaireItemComponent addOption(Questionnaire.QuestionnaireItemOptionComponent t)
-
getOptionFirstRep
public Questionnaire.QuestionnaireItemOptionComponent getOptionFirstRep()
- Returns:
- The first repetition of repeating field
option, creating it if it does not already exist
-
getInitial
public Type getInitial()
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)
-
getInitialBooleanType
public BooleanType getInitialBooleanType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialBooleanType
public boolean hasInitialBooleanType()
-
getInitialDecimalType
public DecimalType getInitialDecimalType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialDecimalType
public boolean hasInitialDecimalType()
-
getInitialIntegerType
public IntegerType getInitialIntegerType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialIntegerType
public boolean hasInitialIntegerType()
-
getInitialDateType
public DateType getInitialDateType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialDateType
public boolean hasInitialDateType()
-
getInitialDateTimeType
public DateTimeType getInitialDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialDateTimeType
public boolean hasInitialDateTimeType()
-
getInitialTimeType
public TimeType getInitialTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialTimeType
public boolean hasInitialTimeType()
-
getInitialStringType
public StringType getInitialStringType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialStringType
public boolean hasInitialStringType()
-
getInitialUriType
public UriType getInitialUriType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialUriType
public boolean hasInitialUriType()
-
getInitialAttachment
public Attachment getInitialAttachment() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialAttachment
public boolean hasInitialAttachment()
-
getInitialCoding
public Coding getInitialCoding() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialCoding
public boolean hasInitialCoding()
-
getInitialQuantity
public Quantity getInitialQuantity() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialQuantity
public boolean hasInitialQuantity()
-
getInitialReference
public Reference getInitialReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasInitialReference
public boolean hasInitialReference()
-
hasInitial
public boolean hasInitial()
-
setInitial
public Questionnaire.QuestionnaireItemComponent setInitial(Type value) throws org.hl7.fhir.exceptions.FHIRFormatError
- Parameters:
value-initial(The value that should be defaulted when initially rendering the questionnaire for user input.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getItem
public List<Questionnaire.QuestionnaireItemComponent> getItem()
- Returns:
item(Text, questions and other groups to be nested beneath a question or group.)
-
setItem
public Questionnaire.QuestionnaireItemComponent setItem(List<Questionnaire.QuestionnaireItemComponent> theItem)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasItem
public boolean hasItem()
-
addItem
public Questionnaire.QuestionnaireItemComponent addItem()
-
addItem
public Questionnaire.QuestionnaireItemComponent addItem(Questionnaire.QuestionnaireItemComponent t)
-
getItemFirstRep
public Questionnaire.QuestionnaireItemComponent getItemFirstRep()
- Returns:
- The first repetition of repeating field
item, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Questionnaire.QuestionnaireItemComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-