Class ElementDefinitionDt.Constraint
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.composite.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
public static class ElementDefinitionDt.Constraint extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ElementDefinition.constraint ()Definition: Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Constraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetHuman()Gets the value(s) for human ().ca.uhn.fhir.model.primitive.StringDtgetHumanElement()Gets the value(s) for human ().StringgetKey()Gets the value(s) for key ().ca.uhn.fhir.model.primitive.IdDtgetKeyElement()Gets the value(s) for key ().StringgetRequirements()Gets the value(s) for requirements ().ca.uhn.fhir.model.primitive.StringDtgetRequirementsElement()Gets the value(s) for requirements ().StringgetSeverity()Gets the value(s) for severity ().ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum>getSeverityElement()Gets the value(s) for severity ().StringgetXpath()Gets the value(s) for xpath ().ca.uhn.fhir.model.primitive.StringDtgetXpathElement()Gets the value(s) for xpath ().booleanisEmpty()ElementDefinitionDt.ConstraintsetHuman(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for human ()ElementDefinitionDt.ConstraintsetHuman(String theString)Sets the value for human ()ElementDefinitionDt.ConstraintsetKey(ca.uhn.fhir.model.primitive.IdDt theValue)Sets the value(s) for key ()ElementDefinitionDt.ConstraintsetKey(String theId)Sets the value for key ()ElementDefinitionDt.ConstraintsetRequirements(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for requirements ()ElementDefinitionDt.ConstraintsetRequirements(String theString)Sets the value for requirements ()ElementDefinitionDt.ConstraintsetSeverity(ConstraintSeverityEnum theValue)Sets the value(s) for severity ()ElementDefinitionDt.ConstraintsetSeverity(ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum> theValue)Sets the value(s) for severity ()ElementDefinitionDt.ConstraintsetXpath(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for xpath ()ElementDefinitionDt.ConstraintsetXpath(String theString)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
-
-
-
-
Constructor Detail
-
Constraint
public Constraint()
-
-
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
-
getKeyElement
public ca.uhn.fhir.model.primitive.IdDt 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
public String 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
public ElementDefinitionDt.Constraint setKey(ca.uhn.fhir.model.primitive.IdDt theValue)
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
public ElementDefinitionDt.Constraint setKey(String theId)
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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public ElementDefinitionDt.Constraint setRequirements(String theString)
Sets the value for requirements ()Definition: Description of why this constraint is necessary or appropriate
-
getSeverityElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum> 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
public String 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
public ElementDefinitionDt.Constraint setSeverity(ConstraintSeverityEnum theValue)
Sets the value(s) for severity ()Definition: Identifies the impact constraint violation has on the conformance of the instance
-
getHumanElement
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public ElementDefinitionDt.Constraint setHuman(ca.uhn.fhir.model.primitive.StringDt theValue)
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
public ElementDefinitionDt.Constraint setHuman(String theString)
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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public ElementDefinitionDt.Constraint setXpath(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for xpath ()Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-
setXpath
public ElementDefinitionDt.Constraint setXpath(String theString)
Sets the value for xpath ()Definition: An XPath expression of constraint that can be executed to see if this constraint is met
-
-