Package org.hl7.fhir.dstu2.model
Class Questionnaire.GroupComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Questionnaire.GroupComponent
-
- 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.GroupComponent 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>conceptIdentifies a how this group of questions is known in a particular terminology such as LOINC.protected List<Questionnaire.GroupComponent>groupA sub-group within a group.protected StringTypelinkIdAn identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.protected List<Questionnaire.QuestionComponent>questionSet of questions within this group.protected BooleanTyperepeatsWhether the group may occur multiple times in the instance, containing multiple sets of answers.protected BooleanTyperequiredIf true, indicates that the group must be present and have required questions within it answered.protected StringTypetextAdditional text for the group, used for display purposes.protected StringTypetitleThe human-readable name for this section of the questionnaire.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description GroupComponent()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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 group in a QuestionnaireResponse resource.
-
title
protected StringType title
The human-readable name for this section of the questionnaire.
-
concept
protected List<Coding> concept
Identifies a how this group of questions is known in a particular terminology such as LOINC.
-
text
protected StringType text
Additional text for the group, used for display purposes.
-
required
protected BooleanType required
If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
repeats
protected BooleanType repeats
Whether the group may occur multiple times in the instance, containing multiple sets of answers.
-
group
protected List<Questionnaire.GroupComponent> group
A sub-group within a group. The ordering of groups within this group is relevant.
-
question
protected List<Questionnaire.QuestionComponent> question
Set of questions within this group. The order of questions within the group is relevant.
-
-
Constructor Detail
-
GroupComponent
public GroupComponent()
-
-
Method Detail
-
getLinkIdElement
public StringType getLinkIdElement()
- Returns:
linkId(An identifier that is unique within the Questionnaire allowing linkage to the equivalent group 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.GroupComponent setLinkIdElement(StringType value)
- Parameters:
value-linkId(An identifier that is unique within the Questionnaire allowing linkage to the equivalent group 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 group in a QuestionnaireResponse resource.
-
setLinkId
public Questionnaire.GroupComponent setLinkId(String value)
- Parameters:
value- An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.
-
getTitleElement
public StringType getTitleElement()
- Returns:
title(The human-readable name for this section of the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
public boolean hasTitleElement()
-
hasTitle
public boolean hasTitle()
-
setTitleElement
public Questionnaire.GroupComponent setTitleElement(StringType value)
- Parameters:
value-title(The human-readable name for this section of the questionnaire.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
public String getTitle()
- Returns:
- The human-readable name for this section of the questionnaire.
-
setTitle
public Questionnaire.GroupComponent setTitle(String value)
- Parameters:
value- The human-readable name for this section of the questionnaire.
-
getConcept
public List<Coding> getConcept()
- Returns:
concept(Identifies a how this group of questions is known in a particular terminology such as LOINC.)
-
hasConcept
public boolean hasConcept()
-
addConcept
public Coding addConcept()
- Returns:
concept(Identifies a how this group of questions is known in a particular terminology such as LOINC.)
-
addConcept
public Questionnaire.GroupComponent addConcept(Coding t)
-
getTextElement
public StringType getTextElement()
- Returns:
text(Additional text for the group, used for display purposes.). 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.GroupComponent setTextElement(StringType value)
- Parameters:
value-text(Additional text for the group, used for display purposes.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
-
setText
public Questionnaire.GroupComponent setText(String value)
- Parameters:
value- Additional text for the group, used for display purposes.
-
getRequiredElement
public BooleanType getRequiredElement()
- Returns:
required(If true, indicates that the group must be present and have required questions within it answered. If false, the group 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.GroupComponent setRequiredElement(BooleanType value)
- Parameters:
value-required(If true, indicates that the group must be present and have required questions within it answered. If false, the group 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:
- If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
setRequired
public Questionnaire.GroupComponent setRequired(boolean value)
- Parameters:
value- If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
-
getRepeatsElement
public BooleanType getRepeatsElement()
- Returns:
repeats(Whether the group 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 value
-
hasRepeatsElement
public boolean hasRepeatsElement()
-
hasRepeats
public boolean hasRepeats()
-
setRepeatsElement
public Questionnaire.GroupComponent setRepeatsElement(BooleanType value)
- Parameters:
value-repeats(Whether the group 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 value
-
getRepeats
public boolean getRepeats()
- Returns:
- Whether the group may occur multiple times in the instance, containing multiple sets of answers.
-
setRepeats
public Questionnaire.GroupComponent setRepeats(boolean value)
- Parameters:
value- Whether the group may occur multiple times in the instance, containing multiple sets of answers.
-
getGroup
public List<Questionnaire.GroupComponent> getGroup()
- Returns:
group(A sub-group within a group. The ordering of groups within this group is relevant.)
-
hasGroup
public boolean hasGroup()
-
addGroup
public Questionnaire.GroupComponent addGroup()
- Returns:
group(A sub-group within a group. The ordering of groups within this group is relevant.)
-
addGroup
public Questionnaire.GroupComponent addGroup(Questionnaire.GroupComponent t)
-
getQuestion
public List<Questionnaire.QuestionComponent> getQuestion()
- Returns:
question(Set of questions within this group. The order of questions within the group is relevant.)
-
hasQuestion
public boolean hasQuestion()
-
addQuestion
public Questionnaire.QuestionComponent addQuestion()
- Returns:
question(Set of questions within this group. The order of questions within the group is relevant.)
-
addQuestion
public Questionnaire.GroupComponent addQuestion(Questionnaire.QuestionComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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.GroupComponent 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
-
-