TriggerDefinition class

TriggerDefinition A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.

Annotations
  • @freezed

Constructors

TriggerDefinition({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, TriggerDefinitionType? type, @JsonKey(name: '_type') Element? typeElement, String? name, @JsonKey(name: '_name') Element? nameElement, CodeableConcept? code, FhirCanonical? subscriptionTopic, Timing? timingTiming, Reference? timingReference, FhirDate? timingDate, @JsonKey(name: '_timingDate') Element? timingDateElement, FhirDateTime? timingDateTime, @JsonKey(name: '_timingDateTime') Element? timingDateTimeElement, List<DataRequirement>? data, FhirExpression? condition})
TriggerDefinition A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.
const
factory
TriggerDefinition.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
TriggerDefinition.fromJsonString(String source)
Acts like a constructor, returns a TriggerDefinition, accepts a String as an argument, mostly because I got tired of typing it out
factory
TriggerDefinition.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

code CodeableConcept?
code A code that identifies the event.
no setterinherited
condition FhirExpression?
condition A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.
no setterinherited
copyWith → $TriggerDefinitionCopyWith<TriggerDefinition>
no setterinherited
data List<DataRequirement>?
data The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.
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
name String?
name A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.
no setterinherited
nameElement Element?
nameElement ("_name") Extensions for name
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionTopic FhirCanonical?
subscriptionTopic A reference to a SubscriptionTopic resource that defines the event. If this element is provided, no other information about the trigger definition may be supplied.
no setterinherited
timingDate FhirDate?
timingDate The timing of the event (if this is a periodic trigger).
no setterinherited
timingDateElement Element?
timingDateElement ("_timingDate") Extensions for timingDate
no setterinherited
timingDateTime FhirDateTime?
timingDateTime The timing of the event (if this is a periodic trigger).
no setterinherited
timingDateTimeElement Element?
timingDateTimeElement ("_timingDateTime") Extensions for timingDateTime
no setterinherited
timingReference Reference?
timingReference The timing of the event (if this is a periodic trigger).
no setterinherited
timingTiming Timing?
timingTiming The timing of the event (if this is a periodic trigger).
no setterinherited
type TriggerDefinitionType?
type The type of triggering event.
no setterinherited
typeElement Element?
typeElement ("_type") Extensions for type
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