SubscriptionTopicQueryCriteria constructor

const SubscriptionTopicQueryCriteria({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. String? previous,
  5. @JsonKey(name: '_previous') Element? previousElement,
  6. FhirCode? resultForCreate,
  7. @JsonKey(name: '_resultForCreate') Element? resultForCreateElement,
  8. String? current,
  9. @JsonKey(name: '_current') Element? currentElement,
  10. FhirCode? resultForDelete,
  11. @JsonKey(name: '_resultForDelete') Element? resultForDeleteElement,
  12. FhirBoolean? requireBoth,
  13. @JsonKey(name: '_requireBoth') Element? requireBothElement,
})

SubscriptionTopicQueryCriteria Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

extension_ ("extension") May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

previous The FHIR query based rules are applied to the previous resource state (e.g., state before an update).

previousElement ("_previous") Extensions for previous

resultForCreate For create interactions, should the previous criteria count as an automatic pass or an automatic fail. If not present, the testing behavior during create interactions is unspecified (server discretion).

resultForCreateElement ("_resultForCreate") Extensions for resultForCreate

current The FHIR query based rules are applied to the current resource state (e.g., state after an update).

currentElement ("_current") Extensions for current

resultForDelete For 'delete' interactions, should the 'current' query criteria count as an automatic pass or an automatic fail. If not present, the testing behavior during delete interactions is unspecified (server discretion).

resultForDeleteElement ("_resultForDelete") Extensions for resultForDelete

requireBoth If set to true, both the current and previous query criteria must evaluate true to trigger a notification for this topic. If set to false or not present, a notification for this topic will be triggered if either the current or previous tests evaluate to true.

requireBothElement ("_requireBoth") Extensions for requireBoth

Implementation

const factory SubscriptionTopicQueryCriteria({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [extension_] ("extension") May be used to represent additional
  ///  information that is not part of the basic definition of the element.
  ///  To make the use of extensions safe and managable, there is a strict
  ///  set of governance applied to the definition and use of extensions.
  ///  Though any implementer can define an extension, there is a set of
  ///  requirements that SHALL be met as part of the definition of the
  ///  extension.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [modifierExtension] May be used to represent additional information
  ///  that is not part of the basic definition of the element and that
  ///  modifies the understanding of the element in which it is contained
  ///  and/or the understanding of the containing element's descendants.
  ///  Usually modifier elements provide negation or qualification. To make
  ///  the use of extensions safe and managable, there is a strict set of
  ///  governance applied to the definition and use of extensions. Though any
  ///  implementer can define an extension, there is a set of requirements
  ///  that SHALL be met as part of the definition of the extension.
  ///  Applications processing a resource are required to check for modifier
  ///  extensions.Modifier extensions SHALL NOT change the meaning of any
  ///  elements on Resource or DomainResource (including cannot change the
  ///  meaning of modifierExtension itself).
  List<FhirExtension>? modifierExtension,

  /// [previous] The FHIR query based rules are applied to the previous
  ///  resource state (e.g., state before an update).
  String? previous,

  /// [previousElement] ("_previous") Extensions for previous
  @JsonKey(name: '_previous') Element? previousElement,

  /// [resultForCreate] For `create` interactions, should the `previous`
  ///  criteria count as an automatic pass or an automatic fail. If not
  ///  present, the testing behavior during `create` interactions is
  ///  unspecified (server discretion).
  FhirCode? resultForCreate,

  /// [resultForCreateElement] ("_resultForCreate") Extensions for
  ///  resultForCreate
  @JsonKey(name: '_resultForCreate') Element? resultForCreateElement,

  /// [current] The FHIR query based rules are applied to the current
  ///  resource state (e.g., state after an update).
  String? current,

  /// [currentElement] ("_current") Extensions for current
  @JsonKey(name: '_current') Element? currentElement,

  /// [resultForDelete] For 'delete' interactions, should the 'current' query
  ///  criteria count as an automatic pass or an automatic fail. If not
  ///  present, the testing behavior during `delete` interactions is
  ///  unspecified (server discretion).
  FhirCode? resultForDelete,

  /// [resultForDeleteElement] ("_resultForDelete") Extensions for
  ///  resultForDelete
  @JsonKey(name: '_resultForDelete') Element? resultForDeleteElement,

  /// [requireBoth] If set to `true`, both the `current` and `previous` query
  ///  criteria must evaluate `true` to trigger a notification for this
  ///  topic.  If set to `false` or not present, a notification for this
  ///  topic will be triggered if either the `current` or `previous` tests
  ///  evaluate to `true`.
  FhirBoolean? requireBoth,

  /// [requireBothElement] ("_requireBoth") Extensions for requireBoth
  @JsonKey(name: '_requireBoth') Element? requireBothElement,
}) = _SubscriptionTopicQueryCriteria;