Class ValueSet.Compose
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
Block class for child element: ValueSet.compose ()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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSet.ComposeIncludeaddExclude()Adds and returns a new value for exclude ()ValueSet.ComposeaddExclude(ValueSet.ComposeInclude theValue)Adds a given new value for exclude ()ca.uhn.fhir.model.primitive.UriDtaddImport()Adds and returns a new value for import ()ValueSet.ComposeaddImport(ca.uhn.fhir.model.primitive.UriDt theValue)Adds a given new value for import ()ValueSet.ComposeaddImport(String theUri)Adds a new value for import ()ValueSet.ComposeIncludeaddInclude()Adds and returns a new value for include ()ValueSet.ComposeaddInclude(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.ComposeIncludegetExcludeFirstRep()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.UriDtgetImportFirstRep()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.ComposeIncludegetIncludeFirstRep()Gets the first repetition for include (), creating it if it does not already exist.booleanisEmpty()ValueSet.ComposesetExclude(List<ValueSet.ComposeInclude> theValue)Sets the value(s) for exclude ()ValueSet.ComposesetImport(List<ca.uhn.fhir.model.primitive.UriDt> theValue)Sets the value(s) for import ()ValueSet.ComposesetInclude(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
-
-
-
-
Constructor Detail
-
Compose
public Compose()
-
-
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
-
getImport
public List<ca.uhn.fhir.model.primitive.UriDt> 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
public ValueSet.Compose setImport(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
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
public ca.uhn.fhir.model.primitive.UriDt 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
public ValueSet.Compose addImport(ca.uhn.fhir.model.primitive.UriDt theValue)
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
public ca.uhn.fhir.model.primitive.UriDt 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
public ValueSet.Compose addImport(String theUri)
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
public List<ValueSet.ComposeInclude> 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
public ValueSet.Compose setInclude(List<ValueSet.ComposeInclude> theValue)
Sets the value(s) for include ()Definition: Include one or more codes from a code system
-
addInclude
public ValueSet.ComposeInclude addInclude()
Adds and returns a new value for include ()Definition: Include one or more codes from a code system
-
addInclude
public ValueSet.Compose addInclude(ValueSet.ComposeInclude theValue)
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
public ValueSet.ComposeInclude 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
public List<ValueSet.ComposeInclude> 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
public ValueSet.Compose setExclude(List<ValueSet.ComposeInclude> theValue)
Sets the value(s) for exclude ()Definition: Exclude one or more codes from the value set
-
addExclude
public ValueSet.ComposeInclude addExclude()
Adds and returns a new value for exclude ()Definition: Exclude one or more codes from the value set
-
addExclude
public ValueSet.Compose addExclude(ValueSet.ComposeInclude theValue)
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
public ValueSet.ComposeInclude 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
-
-