DataRequirement constructor

const DataRequirement({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. FhirCode? type,
  4. @JsonKey(name: '_type') Element? typeElement,
  5. List<FhirCanonical>? profile,
  6. CodeableConcept? subjectCodeableConcept,
  7. Reference? subjectReference,
  8. List<String>? mustSupport,
  9. @JsonKey(name: '_mustSupport') List<Element?>? mustSupportElement,
  10. List<DataRequirementCodeFilter>? codeFilter,
  11. List<DataRequirementDateFilter>? dateFilter,
  12. FhirPositiveInt? limit,
  13. @JsonKey(name: '_limit') Element? limitElement,
  14. List<DataRequirementSort>? sort,
})

DataRequirement 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_ 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 manageable, 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.

type The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.

typeElement Extensions for type

profile The profile of the required data, specified as the uri of the profile definition.

subjectCodeableConcept The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.

subjectReference The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.

mustSupport Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the Simple FHIRPath Profile for full details).

mustSupportElement Extensions for mustSupport

codeFilter Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.

dateFilter Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.

limit Specifies a maximum number of results that are required (uses the _count search parameter).

limitElement Extensions for limit

sort Specifies the order of the results to be returned.

Implementation

const factory DataRequirement({
  /// [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_] 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 manageable, 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_,

  /// [type] The type of the required data, specified as the type name of a
  /// resource. For profiles, this value is set to the type of the base resource
  ///  of the profile.
  FhirCode? type,

  /// [typeElement] Extensions for type
  @JsonKey(name: '_type') Element? typeElement,

  /// [profile] The profile of the required data, specified as the uri of the
  ///  profile definition.
  List<FhirCanonical>? profile,

  /// [subjectCodeableConcept] The intended subjects of the data requirement.
  ///  If this element is not provided, a Patient subject is assumed.
  CodeableConcept? subjectCodeableConcept,

  /// [subjectReference] The intended subjects of the data requirement. If this
  ///  element is not provided, a Patient subject is assumed.
  Reference? subjectReference,

  /// [mustSupport] Indicates that specific elements of the type are referenced
  /// by the knowledge module and must be supported by the consumer in order to
  /// obtain an effective evaluation. This does not mean that a value is
  /// required for this element, only that the consuming system must understand
  ///  the element and be able to provide values for it if they are available.
  /// The value of mustSupport SHALL be a FHIRPath resolveable on the type of
  /// the DataRequirement. The path SHALL consist only of identifiers, constant
  /// indexers, and .resolve() (see the [Simple FHIRPath
  ///  Profile](fhirpath.html#simple) for full details).
  List<String>? mustSupport,

  /// [mustSupportElement] Extensions for mustSupport
  @JsonKey(name: '_mustSupport') List<Element?>? mustSupportElement,

  /// [codeFilter] Code filters specify additional constraints on the data,
  /// specifying the value set of interest for a particular element of the data.
  /// Each code filter defines an additional constraint on the data, i.e. code
  ///  filters are AND'ed, not OR'ed.
  List<DataRequirementCodeFilter>? codeFilter,

  /// [dateFilter] Date filters specify additional constraints on the data in
  /// terms of the applicable date range for specific elements. Each date filter
  /// specifies an additional constraint on the data, i.e. date filters are
  ///  AND'ed, not OR'ed.
  List<DataRequirementDateFilter>? dateFilter,

  /// [limit] Specifies a maximum number of results that are required (uses the
  ///  _count search parameter).
  FhirPositiveInt? limit,

  /// [limitElement] Extensions for limit
  @JsonKey(name: '_limit') Element? limitElement,

  /// [sort] Specifies the order of the results to be returned.
  List<DataRequirementSort>? sort,
}) = _DataRequirement;