DataRequirementValueFilter constructor

const DataRequirementValueFilter({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. String? path,
  5. @JsonKey(name: '_path') Element? pathElement,
  6. String? searchParam,
  7. @JsonKey(name: '_searchParam') Element? searchParamElement,
  8. FhirCode? comparator,
  9. @JsonKey(name: '_comparator') Element? comparatorElement,
  10. FhirDateTime? valueDateTime,
  11. @JsonKey(name: '_valueDateTime') Element? valueDateTimeElement,
  12. Period? valuePeriod,
  13. FhirDuration? valueDuration,
})

DataRequirementValueFilter Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.

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).

path The attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers (x) to traverse multiple-cardinality sub-elements (see the Simple FHIRPath Profile for full details). Note that the index must be an integer constant. The path must resolve to an element of a type that is comparable to the valueFilter.valuex element for the filter.

pathElement ("_path") Extensions for path

searchParam A search parameter defined on the specified type of the DataRequirement, and which searches on elements of a type compatible with the type of the valueFilter.valuex for the filter.

searchParamElement ("_searchParam") Extensions for searchParam

comparator The comparator to be used to determine whether the value is matching.

comparatorElement ("_comparator") Extensions for comparator

valueDateTime The value of the filter.

valueDateTimeElement ("_valueDateTime") Extensions for valueDateTime

valuePeriod The value of the filter.

valueDuration The value of the filter.

Implementation

const factory DataRequirementValueFilter({
  /// [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,

  /// [path] The attribute of the filter. The specified path SHALL be a
  ///  FHIRPath resolvable on the specified type of the DataRequirement, and
  ///  SHALL consist only of identifiers, constant indexers, and .resolve().
  ///  The path is allowed to contain qualifiers (.) to traverse
  ///  sub-elements, as well as indexers ([x]) to traverse
  ///  multiple-cardinality sub-elements (see the [Simple FHIRPath
  ///  Profile](fhirpath.html#simple) for full details). Note that the index
  ///  must be an integer constant. The path must resolve to an element of a
  ///  type that is comparable to the valueFilter.value[x] element for the
  ///  filter.
  String? path,

  /// [pathElement] ("_path") Extensions for path
  @JsonKey(name: '_path') Element? pathElement,

  /// [searchParam] A search parameter defined on the specified type of the
  ///  DataRequirement, and which searches on elements of a type compatible
  ///  with the type of the valueFilter.value[x] for the filter.
  String? searchParam,

  /// [searchParamElement] ("_searchParam") Extensions for searchParam
  @JsonKey(name: '_searchParam') Element? searchParamElement,

  /// [comparator] The comparator to be used to determine whether the value
  ///  is matching.
  FhirCode? comparator,

  /// [comparatorElement] ("_comparator") Extensions for comparator
  @JsonKey(name: '_comparator') Element? comparatorElement,

  /// [valueDateTime] The value of the filter.
  FhirDateTime? valueDateTime,

  /// [valueDateTimeElement] ("_valueDateTime") Extensions for valueDateTime
  @JsonKey(name: '_valueDateTime') Element? valueDateTimeElement,

  /// [valuePeriod] The value of the filter.
  Period? valuePeriod,

  /// [valueDuration] The value of the filter.
  FhirDuration? valueDuration,
}) = _DataRequirementValueFilter;