ElementDefinitionSlicing class
ElementDefinitionSlicing Captures constraints on each element within the resource, profile, or extension.
- Annotations
-
- @freezed
Constructors
-
ElementDefinitionSlicing({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, List<ElementDefinitionDiscriminator> ? discriminator, String? description, @JsonKey(name: '_description') Element? descriptionElement, FhirBoolean? ordered, @JsonKey(name: '_ordered') Element? orderedElement, ElementDefinitionSlicingRules? rules, @JsonKey(name: '_rules') Element? rulesElement}) -
ElementDefinitionSlicing Captures constraints on each element within
the resource, profile, or extension.
constfactory
-
ElementDefinitionSlicing.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- ElementDefinitionSlicing.fromJsonString(String source)
-
Acts like a constructor, returns a ElementDefinitionSlicing, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- ElementDefinitionSlicing.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
-
copyWith
→ $ElementDefinitionSlicingCopyWith<
ElementDefinitionSlicing> -
no setterinherited
- description → String?
-
description A human-readable text description of how the slicing
works. If there is no discriminator, this is required to be present to
provide whatever information is possible about how the slices can be
differentiated.
no setterinherited
- descriptionElement → Element?
-
descriptionElement ("_description") Extensions for description
no setterinherited
-
discriminator
→ List<
ElementDefinitionDiscriminator> ? -
discriminator Designates which child elements are used to
discriminate between the slices when processing an instance. If one or
more discriminators are provided, the value of the child elements in
the instance data SHALL completely distinguish which slice the element
in the resource matches based on the allowed values for those elements
in each of the slices.
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
-
modifierExtension
→ List<
FhirExtension> ? -
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).
no setterinherited
- ordered → FhirBoolean?
-
ordered If the matching elements have to occur in the same order as
defined in the profile.
no setterinherited
- orderedElement → Element?
-
orderedElement ("_ordered") Extensions for ordered
no setterinherited
- rules → ElementDefinitionSlicingRules?
-
rules Whether additional slices are allowed or not. When the slices
are ordered, profile authors can also say that additional slices are
only allowed at the end.
no setterinherited
- rulesElement → Element?
-
rulesElement ("_rules") Extensions for rules
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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