public static class ElementDefinitionDt.Slicing extends BaseIdentifiableElement implements IResourceBlock
Definition: Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set)
| Constructor and Description |
|---|
Slicing() |
| Modifier and Type | Method and Description |
|---|---|
StringDt |
addDiscriminator()
Adds and returns a new value for discriminator ()
|
ElementDefinitionDt.Slicing |
addDiscriminator(String theString)
Adds a new value for discriminator ()
|
ElementDefinitionDt.Slicing |
addDiscriminator(StringDt theValue)
Adds a given new value for discriminator ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
List<StringDt> |
getDiscriminator()
Gets the value(s) for discriminator ().
|
StringDt |
getDiscriminatorFirstRep()
Gets the first repetition for discriminator (),
creating it if it does not already exist.
|
Boolean |
getOrdered()
Gets the value(s) for ordered ().
|
BooleanDt |
getOrderedElement()
Gets the value(s) for ordered ().
|
String |
getRules()
Gets the value(s) for rules ().
|
BoundCodeDt<SlicingRulesEnum> |
getRulesElement()
Gets the value(s) for rules ().
|
boolean |
isEmpty() |
ElementDefinitionDt.Slicing |
setDescription(String theString)
Sets the value for description ()
|
ElementDefinitionDt.Slicing |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
ElementDefinitionDt.Slicing |
setDiscriminator(List<StringDt> theValue)
Sets the value(s) for discriminator ()
|
ElementDefinitionDt.Slicing |
setOrdered(boolean theBoolean)
Sets the value for ordered ()
|
ElementDefinitionDt.Slicing |
setOrdered(BooleanDt theValue)
Sets the value(s) for ordered ()
|
ElementDefinitionDt.Slicing |
setRules(BoundCodeDt<SlicingRulesEnum> theValue)
Sets the value(s) for rules ()
|
ElementDefinitionDt.Slicing |
setRules(SlicingRulesEnum theValue)
Sets the value(s) for rules ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic Slicing()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<StringDt> getDiscriminator()
null.
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
public ElementDefinitionDt.Slicing setDiscriminator(List<StringDt> theValue)
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
public StringDt addDiscriminator()
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
public ElementDefinitionDt.Slicing addDiscriminator(StringDt theValue)
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
theValue - The discriminator to add (must not be null)public StringDt getDiscriminatorFirstRep()
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
public ElementDefinitionDt.Slicing addDiscriminator(String theString)
Definition: Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices
public StringDt getDescriptionElement()
null.
Definition: A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated
public String getDescription()
null.
Definition: A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated
public ElementDefinitionDt.Slicing setDescription(StringDt theValue)
Definition: A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated
public ElementDefinitionDt.Slicing setDescription(String theString)
Definition: A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated
public BooleanDt getOrderedElement()
null.
Definition: If the matching elements have to occur in the same order as defined in the profile
public Boolean getOrdered()
null.
Definition: If the matching elements have to occur in the same order as defined in the profile
public ElementDefinitionDt.Slicing setOrdered(BooleanDt theValue)
Definition: If the matching elements have to occur in the same order as defined in the profile
public ElementDefinitionDt.Slicing setOrdered(boolean theBoolean)
Definition: If the matching elements have to occur in the same order as defined in the profile
public BoundCodeDt<SlicingRulesEnum> getRulesElement()
null.
Definition: Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end
public String getRules()
null.
Definition: Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end
public ElementDefinitionDt.Slicing setRules(BoundCodeDt<SlicingRulesEnum> theValue)
Definition: Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end
public ElementDefinitionDt.Slicing setRules(SlicingRulesEnum theValue)
Definition: Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end
Copyright © 2014–2016 University Health Network. All rights reserved.