Class ValueSet.Expansion
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
ValueSet
Definition: A value set can also be \"expanded\", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for contains ()addContains
(ValueSet.ExpansionContains theValue) Adds a given new value for contains ()Adds and returns a new value for parameter ()addParameter
(ValueSet.ExpansionParameter theValue) Adds a given new value for parameter ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for contains ().Gets the first repetition for contains (), creating it if it does not already exist.Gets the value(s) for identifier ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for identifier ().Gets the value(s) for offset ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for offset ().Gets the value(s) for parameter ().Gets the first repetition for parameter (), creating it if it does not already exist.Gets the value(s) for timestamp ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for timestamp ().getTotal()
Gets the value(s) for total ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for total ().boolean
isEmpty()
setContains
(List<ValueSet.ExpansionContains> theValue) Sets the value(s) for contains ()setIdentifier
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for identifier ()setIdentifier
(String theUri) Sets the value for identifier ()setOffset
(int theInteger) Sets the value for offset ()setOffset
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for offset ()setParameter
(List<ValueSet.ExpansionParameter> theValue) Sets the value(s) for parameter ()setTimestamp
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for timestamp ()setTimestamp
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for timestamp ()setTimestampWithSecondsPrecision
(Date theDate) Sets the value for timestamp ()setTotal
(int theInteger) Sets the value for total ()setTotal
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for total ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Expansion
public Expansion()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifierElement
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. This method may returnnull
.Definition: 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
Sets the value(s) for identifier ()Definition: 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
Sets the value for identifier ()Definition: 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
Gets the value(s) for timestamp (). creating it if it does not exist. Will not returnnull
.Definition: The time at which the expansion was produced by the expanding system.
-
getTimestamp
Gets the value(s) for timestamp (). creating it if it does not exist. This method may returnnull
.Definition: The time at which the expansion was produced by the expanding system.
-
setTimestamp
Sets the value(s) for timestamp ()Definition: The time at which the expansion was produced by the expanding system.
-
setTimestampWithSecondsPrecision
Sets the value for timestamp ()Definition: The time at which the expansion was produced by the expanding system.
-
setTimestamp
public ValueSet.Expansion setTimestamp(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for timestamp ()Definition: The time at which the expansion was produced by the expanding system.
-
getTotalElement
Gets the value(s) for total (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
getTotal
Gets the value(s) for total (). creating it if it does not exist. This method may returnnull
.Definition: 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
Sets the value(s) for total ()Definition: 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
Sets the value for total ()Definition: 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
Gets the value(s) for offset (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
getOffset
Gets the value(s) for offset (). creating it if it does not exist. This method may returnnull
.Definition: 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
Sets the value(s) for offset ()Definition: 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
Sets the value for offset ()Definition: 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
Gets the value(s) for parameter (). creating it if it does not exist. Will not returnnull
.Definition: 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
Sets the value(s) for parameter ()Definition: 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
Adds and returns a new value for parameter ()Definition: 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
Adds a given new value for parameter ()Definition: 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
- Parameters:
theValue
- The parameter to add (must not benull
)
-
getParameterFirstRep
Gets the first repetition for parameter (), creating it if it does not already exist.Definition: 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
-
getContains
Gets the value(s) for contains (). creating it if it does not exist. Will not returnnull
.Definition: The codes that are contained in the value set expansion
-
setContains
Sets the value(s) for contains ()Definition: The codes that are contained in the value set expansion
-
addContains
Adds and returns a new value for contains ()Definition: The codes that are contained in the value set expansion
-
addContains
Adds a given new value for contains ()Definition: The codes that are contained in the value set expansion
- Parameters:
theValue
- The contains to add (must not benull
)
-
getContainsFirstRep
Gets the first repetition for contains (), creating it if it does not already exist.Definition: The codes that are contained in the value set expansion
-