ElementDefinitionConstraint

open class ElementDefinitionConstraint: Element

Condition that must evaluate to true.

Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.

  • Condition that must evaluate to true.

    Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.

    Declaration

    Swift

    override open class var resourceType: String
  • FHIRPath expression of constraint.

    Declaration

    Swift

    public var expression: FHIRString?
  • Human description of constraint.

    Declaration

    Swift

    public var human: FHIRString?
  • key

    Target of ‘condition’ reference above.

    Declaration

    Swift

    public var key: FHIRString?
  • Why this constraint is necessary or appropriate.

    Declaration

    Swift

    public var requirements: FHIRString?
  • Identifies the impact constraint violation has on the conformance of the instance.

    Declaration

    Swift

    public var severity: ConstraintSeverity?
  • Reference to original source of constraint.

    Declaration

    Swift

    public var source: FHIRURL?
  • XPath expression of constraint.

    Declaration

    Swift

    public var xpath: FHIRString?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(expression: FHIRString, human: FHIRString, key: FHIRString, severity: ConstraintSeverity)
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class ElementDefinitionConstraint: Element