http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant|5.2.0
DEPRECATED: Use the `targetConstraint` extension instead. Specifies an invariant that is enforced on instantiated resources. This extension can be applied to any element of a definitional resource (such as ActivityDefinition or Measure) and indicates that the invariant should be enforced on resources that are instantiated from the definition. For example, this extension can be used to define a constraint such as `numerator count must be less than or equal to denominator count`.
description: 'DEPRECATED: Use the `targetConstraint` extension instead. Specifies an invariant that is enforced on instantiated resources. This extension can be applied to any element of a definitional resource (such as ActivityDefinition or Measure) and indicates that the invariant should be enforced on resources that are instantiated from the definition. For example, this extension can be used to define a constraint such as `numerator count must be less than or equal to denominator count`.' derivation: constraint name: TargetInvariant type: Extension elements: extension: short: Unique identifier index: 0 slicing: slices: key: match: {} schema: short: Unique identifier _required: true index: 0 extensions: {} elements: extension: {index: 1} url: pattern: {type: Uri, value: key} index: 2 value: choices: [] index: 4 required: [value] requirements: match: {} schema: short: Why the invariant is defined index: 5 extensions: {} elements: extension: {index: 6} url: pattern: {type: Uri, value: requirements} index: 7 value: choices: [] index: 9 required: [value] severity: match: {} schema: short: error | warning _required: true index: 10 extensions: {} elements: extension: {index: 11} url: pattern: {type: Uri, value: severity} index: 12 value: choices: [] index: 14 required: [value] expression: match: {} schema: short: The invariant expression _required: true index: 15 extensions: {} elements: extension: {index: 16} url: pattern: {type: Uri, value: expression} index: 17 value: choices: [] index: 19 required: [value] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant'} index: 20 value: choices: [] index: 22 extensions: key: url: null short: Unique identifier _required: true index: 0 extensions: {} elements: extension: {index: 1} url: pattern: {type: Uri, value: key} index: 2 value: choices: [] index: 4 required: [value] requirements: url: null short: Why the invariant is defined index: 5 extensions: {} elements: extension: {index: 6} url: pattern: {type: Uri, value: requirements} index: 7 value: choices: [] index: 9 required: [value] severity: url: null short: error | warning _required: true index: 10 extensions: {} elements: extension: {index: 11} url: pattern: {type: Uri, value: severity} index: 12 value: choices: [] index: 14 required: [value] expression: url: null short: The invariant expression _required: true index: 15 extensions: {} elements: extension: {index: 16} url: pattern: {type: Uri, value: expression} index: 17 value: choices: [] index: 19 required: [value] class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.2.0 required: [extension]