Package org.hl7.fhir.r4.model
Class ValueSet.ValueSetExpansionContainsComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionContainsComponent
-
- 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:
- ValueSet
public static class ValueSet.ValueSetExpansionContainsComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanTypeabstract_If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.protected CodeTypecodeThe code for this item in the expansion hierarchy.protected List<ValueSet.ValueSetExpansionContainsComponent>containsOther codes and entries contained under this entry in the hierarchy.protected List<ValueSet.ConceptReferenceDesignationComponent>designationAdditional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc.protected StringTypedisplayThe recommended display for this item in the expansion.protected BooleanTypeinactiveIf the concept is inactive in the code system that defines it.protected UriTypesystemAn absolute URI which is the code system in which the code for this item in the expansion is defined.protected StringTypeversionThe version of the code system from this code was taken.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ValueSetExpansionContainsComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, 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, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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
-
system
protected UriType system
An absolute URI which is the code system in which the code for this item in the expansion is defined.
-
abstract_
protected BooleanType abstract_
If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
-
inactive
protected BooleanType inactive
If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).
-
version
protected StringType version
The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
-
code
protected CodeType code
The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.
-
display
protected StringType display
The recommended display for this item in the expansion.
-
designation
protected List<ValueSet.ConceptReferenceDesignationComponent> designation
Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation.
-
contains
protected List<ValueSet.ValueSetExpansionContainsComponent> contains
Other codes and entries contained under this entry in the hierarchy.
-
-
Constructor Detail
-
ValueSetExpansionContainsComponent
public ValueSetExpansionContainsComponent()
Constructor
-
-
Method Detail
-
getSystemElement
public UriType getSystemElement()
- Returns:
system(An absolute URI which is the code system in which the code for this item in the expansion is defined.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
hasSystemElement
public boolean hasSystemElement()
-
hasSystem
public boolean hasSystem()
-
setSystemElement
public ValueSet.ValueSetExpansionContainsComponent setSystemElement(UriType value)
- Parameters:
value-system(An absolute URI which is the code system in which the code for this item in the expansion is defined.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value
-
getSystem
public String getSystem()
- Returns:
- An absolute URI which is the code system in which the code for this item in the expansion is defined.
-
setSystem
public ValueSet.ValueSetExpansionContainsComponent setSystem(String value)
- Parameters:
value- An absolute URI which is the code system in which the code for this item in the expansion is defined.
-
getAbstractElement
public BooleanType getAbstractElement()
- Returns:
abstract_(If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.). This is the underlying object with id, value and extensions. The accessor "getAbstract" gives direct access to the value
-
hasAbstractElement
public boolean hasAbstractElement()
-
hasAbstract
public boolean hasAbstract()
-
setAbstractElement
public ValueSet.ValueSetExpansionContainsComponent setAbstractElement(BooleanType value)
- Parameters:
value-abstract_(If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.). This is the underlying object with id, value and extensions. The accessor "getAbstract" gives direct access to the value
-
getAbstract
public boolean getAbstract()
- Returns:
- If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
-
setAbstract
public ValueSet.ValueSetExpansionContainsComponent setAbstract(boolean value)
- Parameters:
value- If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
-
getInactiveElement
public BooleanType getInactiveElement()
- Returns:
inactive(If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).). This is the underlying object with id, value and extensions. The accessor "getInactive" gives direct access to the value
-
hasInactiveElement
public boolean hasInactiveElement()
-
hasInactive
public boolean hasInactive()
-
setInactiveElement
public ValueSet.ValueSetExpansionContainsComponent setInactiveElement(BooleanType value)
- Parameters:
value-inactive(If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).). This is the underlying object with id, value and extensions. The accessor "getInactive" gives direct access to the value
-
getInactive
public boolean getInactive()
- Returns:
- If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).
-
setInactive
public ValueSet.ValueSetExpansionContainsComponent setInactive(boolean value)
- Parameters:
value- If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).
-
getVersionElement
public StringType getVersionElement()
- Returns:
version(The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
public boolean hasVersionElement()
-
hasVersion
public boolean hasVersion()
-
setVersionElement
public ValueSet.ValueSetExpansionContainsComponent setVersionElement(StringType value)
- Parameters:
value-version(The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
public String getVersion()
- Returns:
- The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
-
setVersion
public ValueSet.ValueSetExpansionContainsComponent setVersion(String value)
- Parameters:
value- The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
-
getCodeElement
public CodeType getCodeElement()
- Returns:
code(The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
hasCodeElement
public boolean hasCodeElement()
-
hasCode
public boolean hasCode()
-
setCodeElement
public ValueSet.ValueSetExpansionContainsComponent setCodeElement(CodeType value)
- Parameters:
value-code(The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
getCode
public String getCode()
- Returns:
- The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.
-
setCode
public ValueSet.ValueSetExpansionContainsComponent setCode(String value)
- Parameters:
value- The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.
-
getDisplayElement
public StringType getDisplayElement()
- Returns:
display(The recommended display for this item in the expansion.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
hasDisplayElement
public boolean hasDisplayElement()
-
hasDisplay
public boolean hasDisplay()
-
setDisplayElement
public ValueSet.ValueSetExpansionContainsComponent setDisplayElement(StringType value)
- Parameters:
value-display(The recommended display for this item in the expansion.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
getDisplay
public String getDisplay()
- Returns:
- The recommended display for this item in the expansion.
-
setDisplay
public ValueSet.ValueSetExpansionContainsComponent setDisplay(String value)
- Parameters:
value- The recommended display for this item in the expansion.
-
getDesignation
public List<ValueSet.ConceptReferenceDesignationComponent> getDesignation()
- Returns:
designation(Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation.)
-
setDesignation
public ValueSet.ValueSetExpansionContainsComponent setDesignation(List<ValueSet.ConceptReferenceDesignationComponent> theDesignation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDesignation
public boolean hasDesignation()
-
addDesignation
public ValueSet.ConceptReferenceDesignationComponent addDesignation()
-
addDesignation
public ValueSet.ValueSetExpansionContainsComponent addDesignation(ValueSet.ConceptReferenceDesignationComponent t)
-
getDesignationFirstRep
public ValueSet.ConceptReferenceDesignationComponent getDesignationFirstRep()
- Returns:
- The first repetition of repeating field
designation, creating it if it does not already exist
-
getContains
public List<ValueSet.ValueSetExpansionContainsComponent> getContains()
- Returns:
contains(Other codes and entries contained under this entry in the hierarchy.)
-
setContains
public ValueSet.ValueSetExpansionContainsComponent setContains(List<ValueSet.ValueSetExpansionContainsComponent> theContains)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContains
public boolean hasContains()
-
addContains
public ValueSet.ValueSetExpansionContainsComponent addContains()
-
addContains
public ValueSet.ValueSetExpansionContainsComponent addContains(ValueSet.ValueSetExpansionContainsComponent t)
-
getContainsFirstRep
public ValueSet.ValueSetExpansionContainsComponent getContainsFirstRep()
- Returns:
- The first repetition of repeating field
contains, 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 ValueSet.ValueSetExpansionContainsComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(ValueSet.ValueSetExpansionContainsComponent dst)
-
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
-
-