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
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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for exclude ()addExclude
(ValueSet.ComposeInclude theValue) Adds a given new value for exclude ()ca.uhn.fhir.model.primitive.UriDt
Adds and returns a new value for import ()addImport
(ca.uhn.fhir.model.primitive.UriDt theValue) Adds a given new value for import ()Adds a new value for import ()Adds and returns a new value for include ()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) Gets the value(s) for exclude ().Gets the first repetition for exclude (), creating it if it does not already exist.List
<ca.uhn.fhir.model.primitive.UriDt> Gets the value(s) for import ().ca.uhn.fhir.model.primitive.UriDt
Gets the first repetition for import (), creating it if it does not already exist.Gets the value(s) for include ().Gets the first repetition for include (), creating it if it does not already exist.boolean
isEmpty()
setExclude
(List<ValueSet.ComposeInclude> theValue) Sets the value(s) for exclude ()Sets the value(s) for import ()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
-