public static class ElementDefinition.ElementDefinitionConstraintComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
expression
A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.
|
protected StringType |
human
Text that can be used to describe the constraint in messages identifying that the constraint has been violated.
|
protected IdType |
key
Allows identification of which elements have their cardinalities impacted by the constraint.
|
protected StringType |
requirements
Description of why this constraint is necessary or appropriate.
|
protected Enumeration<ElementDefinition.ConstraintSeverity> |
severity
Identifies the impact constraint violation has on the conformance of the instance.
|
protected CanonicalType |
source
A reference to the original source of the constraint, for traceability purposes.
|
protected StringType |
xpath
An XPath expression of constraint that can be executed to see if this constraint is met.
|
| Constructor and Description |
|---|
ElementDefinitionConstraintComponent()
Constructor
|
ElementDefinitionConstraintComponent(IdType key,
Enumeration<ElementDefinition.ConstraintSeverity> severity,
StringType human)
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 IdType key
protected StringType requirements
protected Enumeration<ElementDefinition.ConstraintSeverity> severity
protected StringType human
protected StringType expression
protected StringType xpath
protected CanonicalType source
public ElementDefinitionConstraintComponent()
public ElementDefinitionConstraintComponent(IdType key, Enumeration<ElementDefinition.ConstraintSeverity> severity, StringType human)
public IdType getKeyElement()
key (Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.). This is the underlying object with id, value and extensions. The accessor "getKey" gives direct access to the valuepublic boolean hasKeyElement()
public boolean hasKey()
public ElementDefinition.ElementDefinitionConstraintComponent setKeyElement(IdType value)
value - key (Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.). This is the underlying object with id, value and extensions. The accessor "getKey" gives direct access to the valuepublic String getKey()
public ElementDefinition.ElementDefinitionConstraintComponent setKey(String value)
value - Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.public StringType getRequirementsElement()
requirements (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public ElementDefinition.ElementDefinitionConstraintComponent setRequirementsElement(StringType value)
value - requirements (Description of why this constraint is necessary or appropriate.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic String getRequirements()
public ElementDefinition.ElementDefinitionConstraintComponent setRequirements(String value)
value - Description of why this constraint is necessary or appropriate.public Enumeration<ElementDefinition.ConstraintSeverity> getSeverityElement()
severity (Identifies the impact constraint violation has on the conformance of the instance.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the valuepublic boolean hasSeverityElement()
public boolean hasSeverity()
public ElementDefinition.ElementDefinitionConstraintComponent setSeverityElement(Enumeration<ElementDefinition.ConstraintSeverity> value)
value - severity (Identifies the impact constraint violation has on the conformance of the instance.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the valuepublic ElementDefinition.ConstraintSeverity getSeverity()
public ElementDefinition.ElementDefinitionConstraintComponent setSeverity(ElementDefinition.ConstraintSeverity value)
value - Identifies the impact constraint violation has on the conformance of the instance.public StringType getHumanElement()
human (Text that can be used to describe the constraint in messages identifying that the constraint has been violated.). This is the underlying object with id, value and extensions. The accessor "getHuman" gives direct access to the valuepublic boolean hasHumanElement()
public boolean hasHuman()
public ElementDefinition.ElementDefinitionConstraintComponent setHumanElement(StringType value)
value - human (Text that can be used to describe the constraint in messages identifying that the constraint has been violated.). This is the underlying object with id, value and extensions. The accessor "getHuman" gives direct access to the valuepublic String getHuman()
public ElementDefinition.ElementDefinitionConstraintComponent setHuman(String value)
value - Text that can be used to describe the constraint in messages identifying that the constraint has been violated.public StringType getExpressionElement()
expression (A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the valuepublic boolean hasExpressionElement()
public boolean hasExpression()
public ElementDefinition.ElementDefinitionConstraintComponent setExpressionElement(StringType value)
value - expression (A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the valuepublic String getExpression()
public ElementDefinition.ElementDefinitionConstraintComponent setExpression(String value)
value - A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met.public StringType getXpathElement()
xpath (An XPath expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the valuepublic boolean hasXpathElement()
public boolean hasXpath()
public ElementDefinition.ElementDefinitionConstraintComponent setXpathElement(StringType value)
value - xpath (An XPath expression of constraint that can be executed to see if this constraint is met.). This is the underlying object with id, value and extensions. The accessor "getXpath" gives direct access to the valuepublic String getXpath()
public ElementDefinition.ElementDefinitionConstraintComponent setXpath(String value)
value - An XPath expression of constraint that can be executed to see if this constraint is met.public CanonicalType getSourceElement()
source (A reference to the original source of the constraint, for traceability purposes.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the valuepublic boolean hasSourceElement()
public boolean hasSource()
public ElementDefinition.ElementDefinitionConstraintComponent setSourceElement(CanonicalType value)
value - source (A reference to the original source of the constraint, for traceability purposes.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the valuepublic String getSource()
public ElementDefinition.ElementDefinitionConstraintComponent setSource(String value)
value - A reference to the original source of the constraint, for traceability purposes.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.ElementDefinitionConstraintComponent copy()
public void copyValues(ElementDefinition.ElementDefinitionConstraintComponent 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.