
Class ValueSet.Compose
- 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.Compose extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Definition: A set of criteria that provide the content logical definition of the value set by including or excluding codes from outside this value set
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Compose()
-
Method Summary
Modifier and Type Method Description ValueSet.ComposeInclude
addExclude()
Adds and returns a new value for exclude ()ValueSet.Compose
addExclude(ValueSet.ComposeInclude theValue)
Adds a given new value for exclude ()ca.uhn.fhir.model.primitive.UriDt
addImport()
Adds and returns a new value for import ()ValueSet.Compose
addImport(ca.uhn.fhir.model.primitive.UriDt theValue)
Adds a given new value for import ()ValueSet.Compose
addImport(String theUri)
Adds a new value for import ()ValueSet.ComposeInclude
addInclude()
Adds and returns a new value for include ()ValueSet.Compose
addInclude(ValueSet.ComposeInclude theValue)
Adds a given new value for include ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
List<ValueSet.ComposeInclude>
getExclude()
Gets the value(s) for exclude ().ValueSet.ComposeInclude
getExcludeFirstRep()
Gets the first repetition for exclude (), creating it if it does not already exist.List<ca.uhn.fhir.model.primitive.UriDt>
getImport()
Gets the value(s) for import ().ca.uhn.fhir.model.primitive.UriDt
getImportFirstRep()
Gets the first repetition for import (), creating it if it does not already exist.List<ValueSet.ComposeInclude>
getInclude()
Gets the value(s) for include ().ValueSet.ComposeInclude
getIncludeFirstRep()
Gets the first repetition for include (), creating it if it does not already exist.boolean
isEmpty()
ValueSet.Compose
setExclude(List<ValueSet.ComposeInclude> theValue)
Sets the value(s) for exclude ()ValueSet.Compose
setImport(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
Sets the value(s) for import ()ValueSet.Compose
setInclude(List<ValueSet.ComposeInclude> theValue)
Sets the value(s) for include ()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
-
Compose
public Compose()
-
-
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
-
getImport
Gets the value(s) for import (). creating it if it does not exist. Will not returnnull
.Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
-
setImport
Sets the value(s) for import ()Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
-
addImport
Adds and returns a new value for import ()Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
-
addImport
Adds a given new value for import ()Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
- Parameters:
theValue
- The import to add (must not benull
)
-
getImportFirstRep
Gets the first repetition for import (), creating it if it does not already exist.Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
-
addImport
Adds a new value for import ()Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getInclude
Gets the value(s) for include (). creating it if it does not exist. Will not returnnull
.Definition: Include one or more codes from a code system
-
setInclude
Sets the value(s) for include ()Definition: Include one or more codes from a code system
-
addInclude
Adds and returns a new value for include ()Definition: Include one or more codes from a code system
-
addInclude
Adds a given new value for include ()Definition: Include one or more codes from a code system
- Parameters:
theValue
- The include to add (must not benull
)
-
getIncludeFirstRep
Gets the first repetition for include (), creating it if it does not already exist.Definition: Include one or more codes from a code system
-
getExclude
Gets the value(s) for exclude (). creating it if it does not exist. Will not returnnull
.Definition: Exclude one or more codes from the value set
-
setExclude
Sets the value(s) for exclude ()Definition: Exclude one or more codes from the value set
-
addExclude
Adds and returns a new value for exclude ()Definition: Exclude one or more codes from the value set
-
addExclude
Adds a given new value for exclude ()Definition: Exclude one or more codes from the value set
- Parameters:
theValue
- The exclude to add (must not benull
)
-
getExcludeFirstRep
Gets the first repetition for exclude (), creating it if it does not already exist.Definition: Exclude one or more codes from the value set
-