public static class ElementDefinition.ElementDefinitionSlicingComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
description
A human-readable text description of how the slicing works.
|
protected List<ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent> |
discriminator
Designates which child elements are used to discriminate between the slices when processing an instance.
|
protected BooleanType |
ordered
If the matching elements have to occur in the same order as defined in the profile.
|
protected Enumeration<ElementDefinition.SlicingRules> |
rules
Whether additional slices are allowed or not.
|
| Constructor and Description |
|---|
ElementDefinitionSlicingComponent()
Constructor
|
ElementDefinitionSlicingComponent(Enumeration<ElementDefinition.SlicingRules> rules)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected List<ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent> discriminator
protected StringType description
protected BooleanType ordered
protected Enumeration<ElementDefinition.SlicingRules> rules
public ElementDefinitionSlicingComponent()
public ElementDefinitionSlicingComponent(Enumeration<ElementDefinition.SlicingRules> rules)
public List<ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent> getDiscriminator()
discriminator (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 ElementDefinition.ElementDefinitionSlicingComponent setDiscriminator(List<ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent> theDiscriminator)
this for easy method chainingpublic boolean hasDiscriminator()
public ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent addDiscriminator()
public ElementDefinition.ElementDefinitionSlicingComponent addDiscriminator(ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent t)
public ElementDefinition.ElementDefinitionSlicingDiscriminatorComponent getDiscriminatorFirstRep()
discriminator, creating it if it does not already existpublic StringType getDescriptionElement()
description (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.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public ElementDefinition.ElementDefinitionSlicingComponent setDescriptionElement(StringType value)
value - description (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.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public ElementDefinition.ElementDefinitionSlicingComponent setDescription(String value)
value - 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 BooleanType getOrderedElement()
ordered (If the matching elements have to occur in the same order as defined in the profile.). This is the underlying object with id, value and extensions. The accessor "getOrdered" gives direct access to the valuepublic boolean hasOrderedElement()
public boolean hasOrdered()
public ElementDefinition.ElementDefinitionSlicingComponent setOrderedElement(BooleanType value)
value - ordered (If the matching elements have to occur in the same order as defined in the profile.). This is the underlying object with id, value and extensions. The accessor "getOrdered" gives direct access to the valuepublic boolean getOrdered()
public ElementDefinition.ElementDefinitionSlicingComponent setOrdered(boolean value)
value - If the matching elements have to occur in the same order as defined in the profile.public Enumeration<ElementDefinition.SlicingRules> getRulesElement()
rules (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.). This is the underlying object with id, value and extensions. The accessor "getRules" gives direct access to the valuepublic boolean hasRulesElement()
public boolean hasRules()
public ElementDefinition.ElementDefinitionSlicingComponent setRulesElement(Enumeration<ElementDefinition.SlicingRules> value)
value - rules (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.). This is the underlying object with id, value and extensions. The accessor "getRules" gives direct access to the valuepublic ElementDefinition.SlicingRules getRules()
public ElementDefinition.ElementDefinitionSlicingComponent setRules(ElementDefinition.SlicingRules value)
value - 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.protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic ElementDefinition.ElementDefinitionSlicingComponent copy()
public void copyValues(ElementDefinition.ElementDefinitionSlicingComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2021 Health Level 7. All rights reserved.