Class ElementDefinitionDt.Constraint
- 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:
ElementDefinitionDt
Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getHuman()
Gets the value(s) for human ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for human ().getKey()
Gets the value(s) for key ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for key ().Gets the value(s) for requirements ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for requirements ().Gets the value(s) for severity ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ConstraintSeverityEnum> Gets the value(s) for severity ().getXpath()
Gets the value(s) for xpath ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for xpath ().boolean
isEmpty()
setHuman
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for human ()Sets the value for human ()setKey
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for key ()Sets the value for key ()setRequirements
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for requirements ()setRequirements
(String theString) Sets the value for requirements ()setSeverity
(ConstraintSeverityEnum theValue) Sets the value(s) for severity ()setSeverity
(ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum> theValue) Sets the value(s) for severity ()setXpath
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for xpath ()Sets the value for xpath ()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
-
Constraint
public Constraint()
-
-
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
-
getKeyElement
Gets the value(s) for key (). creating it if it does not exist. Will not returnnull
.Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
-
getKey
Gets the value(s) for key (). creating it if it does not exist. This method may returnnull
.Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
-
setKey
Sets the value(s) for key ()Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
-
setKey
Sets the value for key ()Definition: Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality
-
getRequirementsElement
Gets the value(s) for requirements (). creating it if it does not exist. Will not returnnull
.Definition: Description of why this constraint is necessary or appropriate
-
getRequirements
Gets the value(s) for requirements (). creating it if it does not exist. This method may returnnull
.Definition: Description of why this constraint is necessary or appropriate
-
setRequirements
public ElementDefinitionDt.Constraint setRequirements(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for requirements ()Definition: Description of why this constraint is necessary or appropriate
-
setRequirements
Sets the value for requirements ()Definition: Description of why this constraint is necessary or appropriate
-
getSeverityElement
Gets the value(s) for severity (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the impact constraint violation has on the conformance of the instance
-
getSeverity
Gets the value(s) for severity (). creating it if it does not exist. This method may returnnull
.Definition: Identifies the impact constraint violation has on the conformance of the instance
-
setSeverity
public ElementDefinitionDt.Constraint setSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum> theValue) Sets the value(s) for severity ()Definition: Identifies the impact constraint violation has on the conformance of the instance
-
setSeverity
Sets the value(s) for severity ()Definition: Identifies the impact constraint violation has on the conformance of the instance
-
getHumanElement
Gets the value(s) for human (). creating it if it does not exist. Will not returnnull
.Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
-
getHuman
Gets the value(s) for human (). creating it if it does not exist. This method may returnnull
.Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
-
setHuman
Sets the value(s) for human ()Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
-
setHuman
Sets the value for human ()Definition: Text that can be used to describe the constraint in messages identifying that the constraint has been violated
-
getXpathElement
Gets the value(s) for xpath (). creating it if it does not exist. Will not returnnull
.Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-
getXpath
Gets the value(s) for xpath (). creating it if it does not exist. This method may returnnull
.Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-
setXpath
Sets the value(s) for xpath ()Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-
setXpath
Sets the value for xpath ()Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-