
Package org.hl7.fhir.dstu3.model
Class ValueSet.ValueSetExpansionComponent
- 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.ValueSet.ValueSetExpansionComponent
-
- 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.ValueSetExpansionComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ValueSet.ValueSetExpansionContainsComponent>
contains
The codes that are contained in the value set expansion.protected UriType
identifier
An identifier that uniquely identifies this expansion of the valueset.protected IntegerType
offset
If paging is being used, the offset at which this resource starts.protected List<ValueSet.ValueSetExpansionParameterComponent>
parameter
A parameter that controlled the expansion process.protected DateTimeType
timestamp
The time at which the expansion was produced by the expanding system.protected IntegerType
total
The total number of concepts in the expansion.-
Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ValueSetExpansionComponent()
ConstructorValueSetExpansionComponent(UriType identifier, DateTimeType timestamp)
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, 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
-
identifier
protected UriType identifier
An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.
-
timestamp
protected DateTimeType timestamp
The time at which the expansion was produced by the expanding system.
-
total
protected IntegerType total
The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.
-
offset
protected IntegerType offset
If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.
-
parameter
protected List<ValueSet.ValueSetExpansionParameterComponent> parameter
A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.
-
contains
protected List<ValueSet.ValueSetExpansionContainsComponent> contains
The codes that are contained in the value set expansion.
-
-
Constructor Detail
-
ValueSetExpansionComponent
public ValueSetExpansionComponent()
Constructor
-
ValueSetExpansionComponent
public ValueSetExpansionComponent(UriType identifier, DateTimeType timestamp)
Constructor
-
-
Method Detail
-
getIdentifierElement
public UriType getIdentifierElement()
- Returns:
identifier
(An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
-
hasIdentifierElement
public boolean hasIdentifierElement()
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifierElement
public ValueSet.ValueSetExpansionComponent setIdentifierElement(UriType value)
- Parameters:
value
-identifier
(An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value
-
getIdentifier
public String getIdentifier()
- Returns:
- An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.
-
setIdentifier
public ValueSet.ValueSetExpansionComponent setIdentifier(String value)
- Parameters:
value
- An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.
-
getTimestampElement
public DateTimeType getTimestampElement()
- Returns:
timestamp
(The time at which the expansion was produced by the expanding system.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the value
-
hasTimestampElement
public boolean hasTimestampElement()
-
hasTimestamp
public boolean hasTimestamp()
-
setTimestampElement
public ValueSet.ValueSetExpansionComponent setTimestampElement(DateTimeType value)
- Parameters:
value
-timestamp
(The time at which the expansion was produced by the expanding system.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the value
-
getTimestamp
public Date getTimestamp()
- Returns:
- The time at which the expansion was produced by the expanding system.
-
setTimestamp
public ValueSet.ValueSetExpansionComponent setTimestamp(Date value)
- Parameters:
value
- The time at which the expansion was produced by the expanding system.
-
getTotalElement
public IntegerType getTotalElement()
- Returns:
total
(The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the value
-
hasTotalElement
public boolean hasTotalElement()
-
hasTotal
public boolean hasTotal()
-
setTotalElement
public ValueSet.ValueSetExpansionComponent setTotalElement(IntegerType value)
- Parameters:
value
-total
(The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.). This is the underlying object with id, value and extensions. The accessor "getTotal" gives direct access to the value
-
getTotal
public int getTotal()
- Returns:
- The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.
-
setTotal
public ValueSet.ValueSetExpansionComponent setTotal(int value)
- Parameters:
value
- The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.
-
getOffsetElement
public IntegerType getOffsetElement()
- Returns:
offset
(If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.). This is the underlying object with id, value and extensions. The accessor "getOffset" gives direct access to the value
-
hasOffsetElement
public boolean hasOffsetElement()
-
hasOffset
public boolean hasOffset()
-
setOffsetElement
public ValueSet.ValueSetExpansionComponent setOffsetElement(IntegerType value)
- Parameters:
value
-offset
(If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.). This is the underlying object with id, value and extensions. The accessor "getOffset" gives direct access to the value
-
getOffset
public int getOffset()
- Returns:
- If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.
-
setOffset
public ValueSet.ValueSetExpansionComponent setOffset(int value)
- Parameters:
value
- If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.
-
getParameter
public List<ValueSet.ValueSetExpansionParameterComponent> getParameter()
- Returns:
parameter
(A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.)
-
setParameter
public ValueSet.ValueSetExpansionComponent setParameter(List<ValueSet.ValueSetExpansionParameterComponent> theParameter)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParameter
public boolean hasParameter()
-
addParameter
public ValueSet.ValueSetExpansionParameterComponent addParameter()
-
addParameter
public ValueSet.ValueSetExpansionComponent addParameter(ValueSet.ValueSetExpansionParameterComponent t)
-
getParameterFirstRep
public ValueSet.ValueSetExpansionParameterComponent getParameterFirstRep()
- Returns:
- The first repetition of repeating field
parameter
, creating it if it does not already exist
-
getContains
public List<ValueSet.ValueSetExpansionContainsComponent> getContains()
- Returns:
contains
(The codes that are contained in the value set expansion.)
-
setContains
public ValueSet.ValueSetExpansionComponent setContains(List<ValueSet.ValueSetExpansionContainsComponent> theContains)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContains
public boolean hasContains()
-
addContains
public ValueSet.ValueSetExpansionContainsComponent addContains()
-
addContains
public ValueSet.ValueSetExpansionComponent 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:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ValueSet.ValueSetExpansionComponent copy()
- Specified by:
copy
in classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-