Class ValueSet.Expansion
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class ValueSet.Expansion extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ValueSet.expansion ()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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Expansion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSet.ExpansionContainsaddContains()Adds and returns a new value for contains ()ValueSet.ExpansionaddContains(ValueSet.ExpansionContains theValue)Adds a given new value for contains ()ValueSet.ExpansionParameteraddParameter()Adds and returns a new value for parameter ()ValueSet.ExpansionaddParameter(ValueSet.ExpansionParameter theValue)Adds a given new value for parameter ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<ValueSet.ExpansionContains>getContains()Gets the value(s) for contains ().ValueSet.ExpansionContainsgetContainsFirstRep()Gets the first repetition for contains (), creating it if it does not already exist.StringgetIdentifier()Gets the value(s) for identifier ().ca.uhn.fhir.model.primitive.UriDtgetIdentifierElement()Gets the value(s) for identifier ().IntegergetOffset()Gets the value(s) for offset ().ca.uhn.fhir.model.primitive.IntegerDtgetOffsetElement()Gets the value(s) for offset ().List<ValueSet.ExpansionParameter>getParameter()Gets the value(s) for parameter ().ValueSet.ExpansionParametergetParameterFirstRep()Gets the first repetition for parameter (), creating it if it does not already exist.DategetTimestamp()Gets the value(s) for timestamp ().ca.uhn.fhir.model.primitive.DateTimeDtgetTimestampElement()Gets the value(s) for timestamp ().IntegergetTotal()Gets the value(s) for total ().ca.uhn.fhir.model.primitive.IntegerDtgetTotalElement()Gets the value(s) for total ().booleanisEmpty()ValueSet.ExpansionsetContains(List<ValueSet.ExpansionContains> theValue)Sets the value(s) for contains ()ValueSet.ExpansionsetIdentifier(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for identifier ()ValueSet.ExpansionsetIdentifier(String theUri)Sets the value for identifier ()ValueSet.ExpansionsetOffset(int theInteger)Sets the value for offset ()ValueSet.ExpansionsetOffset(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for offset ()ValueSet.ExpansionsetParameter(List<ValueSet.ExpansionParameter> theValue)Sets the value(s) for parameter ()ValueSet.ExpansionsetTimestamp(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for timestamp ()ValueSet.ExpansionsetTimestamp(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for timestamp ()ValueSet.ExpansionsetTimestampWithSecondsPrecision(Date theDate)Sets the value for timestamp ()ValueSet.ExpansionsetTotal(int theInteger)Sets the value for total ()ValueSet.ExpansionsetTotal(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
-
-
-
-
Constructor Detail
-
Expansion
public Expansion()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifierElement
public ca.uhn.fhir.model.primitive.UriDt 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
public String 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
public ValueSet.Expansion setIdentifier(ca.uhn.fhir.model.primitive.UriDt theValue)
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
public ValueSet.Expansion setIdentifier(String theUri)
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
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public ValueSet.Expansion setTimestamp(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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.
-
setTimestampWithSecondsPrecision
public ValueSet.Expansion setTimestampWithSecondsPrecision(Date theDate)
Sets the value for timestamp ()Definition: The time at which the expansion was produced by the expanding system.
-
getTotalElement
public ca.uhn.fhir.model.primitive.IntegerDt 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
public Integer 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
public ValueSet.Expansion setTotal(ca.uhn.fhir.model.primitive.IntegerDt theValue)
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
public ValueSet.Expansion setTotal(int theInteger)
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
public ca.uhn.fhir.model.primitive.IntegerDt 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
public Integer 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
public ValueSet.Expansion setOffset(ca.uhn.fhir.model.primitive.IntegerDt theValue)
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
public ValueSet.Expansion setOffset(int theInteger)
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
public List<ValueSet.ExpansionParameter> 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
public ValueSet.Expansion setParameter(List<ValueSet.ExpansionParameter> theValue)
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
public ValueSet.ExpansionParameter 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
public ValueSet.Expansion addParameter(ValueSet.ExpansionParameter theValue)
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
public ValueSet.ExpansionParameter 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
public List<ValueSet.ExpansionContains> 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
public ValueSet.Expansion setContains(List<ValueSet.ExpansionContains> theValue)
Sets the value(s) for contains ()Definition: The codes that are contained in the value set expansion
-
addContains
public ValueSet.ExpansionContains addContains()
Adds and returns a new value for contains ()Definition: The codes that are contained in the value set expansion
-
addContains
public ValueSet.Expansion addContains(ValueSet.ExpansionContains theValue)
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
public ValueSet.ExpansionContains 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
-
-