StructureMapSource class

StructureMapSource A Map of relationships between 2 structures that can be used to transform data.

Annotations
  • @freezed

Constructors

StructureMapSource({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, FhirId? context, @JsonKey(name: '_context') Element? contextElement, FhirInteger? min, @JsonKey(name: '_min') Element? minElement, String? max, @JsonKey(name: '_max') Element? maxElement, String? type, @JsonKey(name: '_type') Element? typeElement, String? defaultValue, @JsonKey(name: '_defaultValue') Element? defaultValueElement, String? element, @JsonKey(name: '_element') Element? elementElement, FhirCode? listMode, @JsonKey(name: '_listMode') Element? listModeElement, FhirId? variable, @JsonKey(name: '_variable') Element? variableElement, String? condition, @JsonKey(name: '_condition') Element? conditionElement, String? check, @JsonKey(name: '_check') Element? checkElement, String? logMessage, @JsonKey(name: '_logMessage') Element? logMessageElement})
StructureMapSource A Map of relationships between 2 structures that can be used to transform data.
const
factory
StructureMapSource.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
StructureMapSource.fromJsonString(String source)
Acts like a constructor, returns a StructureMapSource, accepts a String as an argument, mostly because I got tired of typing it out
factory
StructureMapSource.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

check String?
check FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
no setterinherited
checkElement Element?
checkElement ("_check") Extensions for check
no setterinherited
condition String?
condition FHIRPath expression - must be true or the rule does not apply.
no setterinherited
conditionElement Element?
conditionElement ("_condition") Extensions for condition
no setterinherited
context FhirId?
context Type or variable this rule applies to.
no setterinherited
contextElement Element?
contextElement ("_context") Extensions for context
no setterinherited
copyWith → $StructureMapSourceCopyWith<StructureMapSource>
no setterinherited
defaultValue String?
defaultValue A value to use if there is no existing value in the source object.
no setterinherited
defaultValueElement Element?
defaultValueElement ("_defaultValue") Extensions for defaultValue
no setterinherited
element String?
element Optional field for this source.
no setterinherited
elementElement Element?
elementElement ("_element") Extensions for element
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
listMode FhirCode?
listMode How to handle the list mode for this element.
no setterinherited
listModeElement Element?
listModeElement ("_listMode") Extensions for listMode
no setterinherited
logMessage String?
logMessage A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.
no setterinherited
logMessageElement Element?
logMessageElement ("_logMessage") Extensions for logMessage
no setterinherited
max String?
max Specified maximum cardinality for the element - a number or a "". This is optional; if present, it acts an implicit check on the input content ( just serves as documentation; it's the default value).
no setterinherited
maxElement Element?
maxElement ("_max") Extensions for max
no setterinherited
min FhirInteger?
min Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
no setterinherited
minElement Element?
minElement ("_min") Extensions for min
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
type Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
no setterinherited
typeElement Element?
typeElement ("_type") Extensions for type
no setterinherited
variable FhirId?
variable Named context for field, if a field is specified.
no setterinherited
variableElement Element?
variableElement ("_variable") Extensions for variable
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