Package org.hl7.fhir.dstu2.model
Class ValueSet.ValueSetExpansionComponent
- 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.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>containsThe codes that are contained in the value set expansion.protected UriTypeidentifierAn identifier that uniquely identifies this expansion of the valueset.protected IntegerTypeoffsetIf paging is being used, the offset at which this resource starts.protected List<ValueSet.ValueSetExpansionParameterComponent>parameterA parameter that controlled the expansion process.protected DateTimeTypetimestampThe time at which the expansion was produced by the expanding system.protected IntegerTypetotalThe total number of concepts in the expansion.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ValueSetExpansionComponent()ValueSetExpansionComponent(UriType identifier, DateTimeType timestamp)
-
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
-
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()
-
ValueSetExpansionComponent
public ValueSetExpansionComponent(UriType identifier, DateTimeType timestamp)
-
-
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.)
-
hasParameter
public boolean hasParameter()
-
addParameter
public ValueSet.ValueSetExpansionParameterComponent addParameter()
- 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.)
-
addParameter
public ValueSet.ValueSetExpansionComponent addParameter(ValueSet.ValueSetExpansionParameterComponent t)
-
getContains
public List<ValueSet.ValueSetExpansionContainsComponent> getContains()
- Returns:
contains(The codes that are contained in the value set expansion.)
-
hasContains
public boolean hasContains()
-
addContains
public ValueSet.ValueSetExpansionContainsComponent addContains()
- Returns:
contains(The codes that are contained in the value set expansion.)
-
addContains
public ValueSet.ValueSetExpansionComponent addContains(ValueSet.ValueSetExpansionContainsComponent 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 ValueSet.ValueSetExpansionComponent 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
-
-