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:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.BoundCodeDt<ConstraintSeverityEnum> getSeverityElement()
      Gets the value(s) for severity (). creating it if it does not exist. Will not return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getHumanElement()
      Gets the value(s) for human (). creating it if it does not exist. Will not return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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

      Sets the value for xpath ()

      Definition: An XPath expression of constraint that can be executed to see if this constraint is met