DataRequirement class
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.
- Annotations
-
- @freezed
Constructors
-
DataRequirement({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, FhirCode? type, @JsonKey(name: '_type') Element? typeElement, List<FhirCanonical> ? profile, CodeableConcept? subjectCodeableConcept, Reference? subjectReference, List<String> ? mustSupport, @JsonKey(name: '_mustSupport') List<Element> ? mustSupportElement, List<DataRequirementCodeFilter> ? codeFilter, List<DataRequirementDateFilter> ? dateFilter, List<DataRequirementValueFilter> ? valueFilter, FhirPositiveInt? limit, @JsonKey(name: '_limit') Element? limitElement, 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.
constfactory
-
DataRequirement.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- DataRequirement.fromJsonString(String source)
-
Acts like a constructor, returns a DataRequirement, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- DataRequirement.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
-
codeFilter
→ List<
DataRequirementCodeFilter> ? -
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.no setterinherited -
copyWith
→ $DataRequirementCopyWith<
DataRequirement> -
no setterinherited
-
dateFilter
→ List<
DataRequirementDateFilter> ? -
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.no setterinherited -
extension_
→ List<
FhirExtension> ? -
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.no setterinherited - fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → FhirPositiveInt?
-
limit
Specifies a maximum number of results that are required (uses the _count search parameter).no setterinherited - limitElement → Element?
-
limitElement
("_limit") Extensions for limitno setterinherited -
mustSupport
→ List<
String> ? -
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 resolvable 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).no setterinherited -
mustSupportElement
→ List<
Element> ? -
mustSupportElement
("_mustSupport") Extensions for mustSupportno setterinherited -
profile
→ List<
FhirCanonical> ? -
profile
The profile of the required data, specified as the uri of the profile definition.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sort
→ List<
DataRequirementSort> ? -
sort
Specifies the order of the results to be returned.no setterinherited - subjectCodeableConcept → CodeableConcept?
-
subjectCodeableConcept
The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.no setterinherited - subjectReference → Reference?
-
subjectReference
The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.no setterinherited - type → FhirCode?
-
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.no setterinherited - typeElement → Element?
-
typeElement
("_type") Extensions for typeno setterinherited -
valueFilter
→ List<
DataRequirementValueFilter> ? -
valueFilter
Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited