StructureMapSource constructor
- @JsonKey(name: 'id') FhirId? 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,
- FhirBase64Binary? defaultValueBase64Binary,
- @JsonKey(name: '_defaultValueBase64Binary') Element? defaultValueBase64BinaryElement,
- FhirBoolean? defaultValueBoolean,
- @JsonKey(name: '_defaultValueBoolean') Element? defaultValueBooleanElement,
- FhirCanonical? defaultValueCanonical,
- @JsonKey(name: '_defaultValueCanonical') Element? defaultValueCanonicalElement,
- FhirCode? defaultValueCode,
- @JsonKey(name: '_defaultValueCode') Element? defaultValueCodeElement,
- FhirDate? defaultValueDate,
- @JsonKey(name: '_defaultValueDate') Element? defaultValueDateElement,
- FhirDateTime? defaultValueDateTime,
- @JsonKey(name: '_defaultValueDateTime') Element? defaultValueDateTimeElement,
- FhirDecimal? defaultValueDecimal,
- @JsonKey(name: '_defaultValueDecimal') Element? defaultValueDecimalElement,
- FhirId? defaultValueId,
- @JsonKey(name: '_defaultValueId') Element? defaultValueIdElement,
- FhirInstant? defaultValueInstant,
- @JsonKey(name: '_defaultValueInstant') Element? defaultValueInstantElement,
- FhirInteger? defaultValueInteger,
- @JsonKey(name: '_defaultValueInteger') Element? defaultValueIntegerElement,
- FhirMarkdown? defaultValueMarkdown,
- @JsonKey(name: '_defaultValueMarkdown') Element? defaultValueMarkdownElement,
- FhirOid? defaultValueOid,
- @JsonKey(name: '_defaultValueOid') Element? defaultValueOidElement,
- FhirPositiveInt? defaultValuePositiveInt,
- @JsonKey(name: '_defaultValuePositiveInt') Element? defaultValuePositiveIntElement,
- String? defaultValueString,
- @JsonKey(name: '_defaultValueString') Element? defaultValueStringElement,
- FhirTime? defaultValueTime,
- @JsonKey(name: '_defaultValueTime') Element? defaultValueTimeElement,
- FhirUnsignedInt? defaultValueUnsignedInt,
- @JsonKey(name: '_defaultValueUnsignedInt') Element? defaultValueUnsignedIntElement,
- FhirUri? defaultValueUri,
- @JsonKey(name: '_defaultValueUri') Element? defaultValueUriElement,
- FhirUrl? defaultValueUrl,
- @JsonKey(name: '_defaultValueUrl') Element? defaultValueUrlElement,
- FhirUuid? defaultValueUuid,
- @JsonKey(name: '_defaultValueUuid') Element? defaultValueUuidElement,
- Address? defaultValueAddress,
- Age? defaultValueAge,
- Annotation? defaultValueAnnotation,
- Attachment? defaultValueAttachment,
- CodeableConcept? defaultValueCodeableConcept,
- Coding? defaultValueCoding,
- ContactPoint? defaultValueContactPoint,
- Count? defaultValueCount,
- Distance? defaultValueDistance,
- FhirDuration? defaultValueDuration,
- HumanName? defaultValueHumanName,
- Identifier? defaultValueIdentifier,
- Money? defaultValueMoney,
- Period? defaultValuePeriod,
- Quantity? defaultValueQuantity,
- Range? defaultValueRange,
- Ratio? defaultValueRatio,
- Reference? defaultValueReference,
- SampledData? defaultValueSampledData,
- Signature? defaultValueSignature,
- Timing? defaultValueTiming,
- ContactDetail? defaultValueContactDetail,
- Contributor? defaultValueContributor,
- DataRequirement? defaultValueDataRequirement,
- FhirExpression? defaultValueExpression,
- ParameterDefinition? defaultValueParameterDefinition,
- RelatedArtifact? defaultValueRelatedArtifact,
- TriggerDefinition? defaultValueTriggerDefinition,
- UsageContext? defaultValueUsageContext,
- Dosage? defaultValueDosage,
- FhirMeta? defaultValueMeta,
- 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.
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.
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 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. 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).
context
Type or variable this rule applies to.
contextElement
Extensions for context
min
Specified minimum cardinality for the element. This is optional; if
present, it acts an implicit check on the input content.
minElement
Extensions for min
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).
maxElement
Extensions for max
type
Specified type for the element. This works as a condition on the
mapping - use for polymorphic elements.
typeElement
Extensions for type
defaultValueBase64Binary
A value to use if there is no existing value
in the source object.
defaultValueBase64BinaryElement
Extensions for defaultValueBase64Binary
defaultValueBoolean
A value to use if there is no existing value in the
source object.
defaultValueBooleanElement
Extensions for defaultValueBoolean
defaultValueCanonical
A value to use if there is no existing value in
the source object.
defaultValueCanonicalElement
Extensions for defaultValueCanonical
defaultValueCode
A value to use if there is no existing value in the
source object.
defaultValueCodeElement
Extensions for defaultValueCode
defaultValueDate
A value to use if there is no existing value in the
source object.
defaultValueDateElement
Extensions for defaultValueDate
defaultValueDateTime
A value to use if there is no existing value in
the source object.
defaultValueDateTimeElement
Extensions for defaultValueDateTime
defaultValueDecimal
A value to use if there is no existing value in the
source object.
defaultValueDecimalElement
Extensions for defaultValueDecimal
defaultValueId
A value to use if there is no existing value in the
source object.
defaultValueIdElement
Extensions for defaultValueId
defaultValueInstant
A value to use if there is no existing value in the
source object.
defaultValueInstantElement
Extensions for defaultValueInstant
defaultValueInteger
A value to use if there is no existing value in the
source object.
defaultValueIntegerElement
Extensions for defaultValueInteger
defaultValueMarkdown
A value to use if there is no existing value in
the source object.
defaultValueMarkdownElement
Extensions for defaultValueMarkdown
defaultValueOid
A value to use if there is no existing value in the
source object.
defaultValueOidElement
Extensions for defaultValueOid
defaultValuePositiveInt
A value to use if there is no existing value in
the source object.
defaultValuePositiveIntElement
Extensions for defaultValuePositiveInt
defaultValueString
A value to use if there is no existing value in the
source object.
defaultValueStringElement
Extensions for defaultValueString
defaultValueTime
A value to use if there is no existing value in the
source object.
defaultValueTimeElement
Extensions for defaultValueTime
defaultValueUnsignedInt
A value to use if there is no existing value in
the source object.
defaultValueUnsignedIntElement
Extensions for defaultValueUnsignedInt
defaultValueUri
A value to use if there is no existing value in the
source object.
defaultValueUriElement
Extensions for defaultValueUri
defaultValueUrl
A value to use if there is no existing value in the
source object.
defaultValueUrlElement
Extensions for defaultValueUrl
defaultValueUuid
A value to use if there is no existing value in the
source object.
defaultValueUuidElement
Extensions for defaultValueUuid
defaultValueAddress
A value to use if there is no existing value in the
source object.
defaultValueAge
A value to use if there is no existing value in the
source object.
defaultValueAnnotation
A value to use if there is no existing value in
the source object.
defaultValueAttachment
A value to use if there is no existing value in
the source object.
defaultValueCodeableConcept
A value to use if there is no existing
value in the source object.
defaultValueCoding
A value to use if there is no existing value in the
source object.
defaultValueContactPoint
A value to use if there is no existing value
in the source object.
defaultValueCount
A value to use if there is no existing value in the
source object.
defaultValueDistance
A value to use if there is no existing value in
the source object.
defaultValueDuration
A value to use if there is no existing value in
the source object.
defaultValueHumanName
A value to use if there is no existing value in
the source object.
defaultValueIdentifier
A value to use if there is no existing value in
the source object.
defaultValueMoney
A value to use if there is no existing value in the
source object.
defaultValuePeriod
A value to use if there is no existing value in the
source object.
defaultValueQuantity
A value to use if there is no existing value in
the source object.
defaultValueRange
A value to use if there is no existing value in the
source object.
defaultValueRatio
A value to use if there is no existing value in the
source object.
defaultValueReference
A value to use if there is no existing value in
the source object.
defaultValueSampledData
A value to use if there is no existing value in
the source object.
defaultValueSignature
A value to use if there is no existing value in
the source object.
defaultValueTiming
A value to use if there is no existing value in the
source object.
defaultValueContactDetail
A value to use if there is no existing value
in the source object.
defaultValueContributor
A value to use if there is no existing value in
the source object.
defaultValueDataRequirement
A value to use if there is no existing
value in the source object.
defaultValueExpression
A value to use if there is no existing value in
the source object.
defaultValueParameterDefinition
A value to use if there is no existing
value in the source object.
defaultValueRelatedArtifact
A value to use if there is no existing
value in the source object.
defaultValueTriggerDefinition
A value to use if there is no existing
value in the source object.
defaultValueUsageContext
A value to use if there is no existing value
in the source object.
defaultValueDosage
A value to use if there is no existing value in the
source object.
defaultValueMeta
A value to use if there is no existing value in the
source object.
element
Optional field for this source.
elementElement
Extensions for element
listMode
How to handle the list mode for this element.
listModeElement
Extensions for listMode
variable
Named context for field, if a field is specified.
variableElement
Extensions for variable
condition
FHIRPath expression - must be true or the rule does not
apply.
conditionElement
Extensions for condition
check
FHIRPath expression - must be true or the mapping engine throws
an error instead of completing.
checkElement
Extensions for check
logMessage
A FHIRPath expression which specifies a message to put in
the transform log when content matching the source rule is found.
logMessageElement
Extensions for logMessage
Implementation
const factory StructureMapSource({
/// [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') FhirId? 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_,
/// [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 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. 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).
List<FhirExtension>? modifierExtension,
/// [context] Type or variable this rule applies to.
FhirId? context,
/// [contextElement] Extensions for context
@JsonKey(name: '_context') Element? contextElement,
/// [min] Specified minimum cardinality for the element. This is optional; if
/// present, it acts an implicit check on the input content.
FhirInteger? min,
/// [minElement] Extensions for min
@JsonKey(name: '_min') Element? minElement,
/// [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).
String? max,
/// [maxElement] Extensions for max
@JsonKey(name: '_max') Element? maxElement,
/// [type] Specified type for the element. This works as a condition on the
/// mapping - use for polymorphic elements.
String? type,
/// [typeElement] Extensions for type
@JsonKey(name: '_type') Element? typeElement,
/// [defaultValueBase64Binary] A value to use if there is no existing value
/// in the source object.
FhirBase64Binary? defaultValueBase64Binary,
@JsonKey(name: '_defaultValueBase64Binary')
/// [defaultValueBase64BinaryElement] Extensions for defaultValueBase64Binary
Element? defaultValueBase64BinaryElement,
/// [defaultValueBoolean] A value to use if there is no existing value in the
/// source object.
FhirBoolean? defaultValueBoolean,
/// [defaultValueBooleanElement] Extensions for defaultValueBoolean
@JsonKey(name: '_defaultValueBoolean') Element? defaultValueBooleanElement,
/// [defaultValueCanonical] A value to use if there is no existing value in
/// the source object.
FhirCanonical? defaultValueCanonical,
@JsonKey(name: '_defaultValueCanonical')
/// [defaultValueCanonicalElement] Extensions for defaultValueCanonical
Element? defaultValueCanonicalElement,
/// [defaultValueCode] A value to use if there is no existing value in the
/// source object.
FhirCode? defaultValueCode,
/// [defaultValueCodeElement] Extensions for defaultValueCode
@JsonKey(name: '_defaultValueCode') Element? defaultValueCodeElement,
/// [defaultValueDate] A value to use if there is no existing value in the
/// source object.
FhirDate? defaultValueDate,
/// [defaultValueDateElement] Extensions for defaultValueDate
@JsonKey(name: '_defaultValueDate') Element? defaultValueDateElement,
/// [defaultValueDateTime] A value to use if there is no existing value in
/// the source object.
FhirDateTime? defaultValueDateTime,
@JsonKey(name: '_defaultValueDateTime')
/// [defaultValueDateTimeElement] Extensions for defaultValueDateTime
Element? defaultValueDateTimeElement,
/// [defaultValueDecimal] A value to use if there is no existing value in the
/// source object.
FhirDecimal? defaultValueDecimal,
/// [defaultValueDecimalElement] Extensions for defaultValueDecimal
@JsonKey(name: '_defaultValueDecimal') Element? defaultValueDecimalElement,
/// [defaultValueId] A value to use if there is no existing value in the
/// source object.
FhirId? defaultValueId,
/// [defaultValueIdElement] Extensions for defaultValueId
@JsonKey(name: '_defaultValueId') Element? defaultValueIdElement,
/// [defaultValueInstant] A value to use if there is no existing value in the
/// source object.
FhirInstant? defaultValueInstant,
/// [defaultValueInstantElement] Extensions for defaultValueInstant
@JsonKey(name: '_defaultValueInstant') Element? defaultValueInstantElement,
/// [defaultValueInteger] A value to use if there is no existing value in the
/// source object.
FhirInteger? defaultValueInteger,
/// [defaultValueIntegerElement] Extensions for defaultValueInteger
@JsonKey(name: '_defaultValueInteger') Element? defaultValueIntegerElement,
/// [defaultValueMarkdown] A value to use if there is no existing value in
/// the source object.
FhirMarkdown? defaultValueMarkdown,
@JsonKey(name: '_defaultValueMarkdown')
/// [defaultValueMarkdownElement] Extensions for defaultValueMarkdown
Element? defaultValueMarkdownElement,
/// [defaultValueOid] A value to use if there is no existing value in the
/// source object.
FhirOid? defaultValueOid,
/// [defaultValueOidElement] Extensions for defaultValueOid
@JsonKey(name: '_defaultValueOid') Element? defaultValueOidElement,
/// [defaultValuePositiveInt] A value to use if there is no existing value in
/// the source object.
FhirPositiveInt? defaultValuePositiveInt,
@JsonKey(name: '_defaultValuePositiveInt')
/// [defaultValuePositiveIntElement] Extensions for defaultValuePositiveInt
Element? defaultValuePositiveIntElement,
/// [defaultValueString] A value to use if there is no existing value in the
/// source object.
String? defaultValueString,
/// [defaultValueStringElement] Extensions for defaultValueString
@JsonKey(name: '_defaultValueString') Element? defaultValueStringElement,
/// [defaultValueTime] A value to use if there is no existing value in the
/// source object.
FhirTime? defaultValueTime,
/// [defaultValueTimeElement] Extensions for defaultValueTime
@JsonKey(name: '_defaultValueTime') Element? defaultValueTimeElement,
/// [defaultValueUnsignedInt] A value to use if there is no existing value in
/// the source object.
FhirUnsignedInt? defaultValueUnsignedInt,
@JsonKey(name: '_defaultValueUnsignedInt')
/// [defaultValueUnsignedIntElement] Extensions for defaultValueUnsignedInt
Element? defaultValueUnsignedIntElement,
/// [defaultValueUri] A value to use if there is no existing value in the
/// source object.
FhirUri? defaultValueUri,
/// [defaultValueUriElement] Extensions for defaultValueUri
@JsonKey(name: '_defaultValueUri') Element? defaultValueUriElement,
/// [defaultValueUrl] A value to use if there is no existing value in the
/// source object.
FhirUrl? defaultValueUrl,
/// [defaultValueUrlElement] Extensions for defaultValueUrl
@JsonKey(name: '_defaultValueUrl') Element? defaultValueUrlElement,
/// [defaultValueUuid] A value to use if there is no existing value in the
/// source object.
FhirUuid? defaultValueUuid,
/// [defaultValueUuidElement] Extensions for defaultValueUuid
@JsonKey(name: '_defaultValueUuid') Element? defaultValueUuidElement,
/// [defaultValueAddress] A value to use if there is no existing value in the
/// source object.
Address? defaultValueAddress,
/// [defaultValueAge] A value to use if there is no existing value in the
/// source object.
Age? defaultValueAge,
/// [defaultValueAnnotation] A value to use if there is no existing value in
/// the source object.
Annotation? defaultValueAnnotation,
/// [defaultValueAttachment] A value to use if there is no existing value in
/// the source object.
Attachment? defaultValueAttachment,
/// [defaultValueCodeableConcept] A value to use if there is no existing
/// value in the source object.
CodeableConcept? defaultValueCodeableConcept,
/// [defaultValueCoding] A value to use if there is no existing value in the
/// source object.
Coding? defaultValueCoding,
/// [defaultValueContactPoint] A value to use if there is no existing value
/// in the source object.
ContactPoint? defaultValueContactPoint,
/// [defaultValueCount] A value to use if there is no existing value in the
/// source object.
Count? defaultValueCount,
/// [defaultValueDistance] A value to use if there is no existing value in
/// the source object.
Distance? defaultValueDistance,
/// [defaultValueDuration] A value to use if there is no existing value in
/// the source object.
FhirDuration? defaultValueDuration,
/// [defaultValueHumanName] A value to use if there is no existing value in
/// the source object.
HumanName? defaultValueHumanName,
/// [defaultValueIdentifier] A value to use if there is no existing value in
/// the source object.
Identifier? defaultValueIdentifier,
/// [defaultValueMoney] A value to use if there is no existing value in the
/// source object.
Money? defaultValueMoney,
/// [defaultValuePeriod] A value to use if there is no existing value in the
/// source object.
Period? defaultValuePeriod,
/// [defaultValueQuantity] A value to use if there is no existing value in
/// the source object.
Quantity? defaultValueQuantity,
/// [defaultValueRange] A value to use if there is no existing value in the
/// source object.
Range? defaultValueRange,
/// [defaultValueRatio] A value to use if there is no existing value in the
/// source object.
Ratio? defaultValueRatio,
/// [defaultValueReference] A value to use if there is no existing value in
/// the source object.
Reference? defaultValueReference,
/// [defaultValueSampledData] A value to use if there is no existing value in
/// the source object.
SampledData? defaultValueSampledData,
/// [defaultValueSignature] A value to use if there is no existing value in
/// the source object.
Signature? defaultValueSignature,
/// [defaultValueTiming] A value to use if there is no existing value in the
/// source object.
Timing? defaultValueTiming,
/// [defaultValueContactDetail] A value to use if there is no existing value
/// in the source object.
ContactDetail? defaultValueContactDetail,
/// [defaultValueContributor] A value to use if there is no existing value in
/// the source object.
Contributor? defaultValueContributor,
/// [defaultValueDataRequirement] A value to use if there is no existing
/// value in the source object.
DataRequirement? defaultValueDataRequirement,
/// [defaultValueExpression] A value to use if there is no existing value in
/// the source object.
FhirExpression? defaultValueExpression,
/// [defaultValueParameterDefinition] A value to use if there is no existing
/// value in the source object.
ParameterDefinition? defaultValueParameterDefinition,
/// [defaultValueRelatedArtifact] A value to use if there is no existing
/// value in the source object.
RelatedArtifact? defaultValueRelatedArtifact,
/// [defaultValueTriggerDefinition] A value to use if there is no existing
/// value in the source object.
TriggerDefinition? defaultValueTriggerDefinition,
/// [defaultValueUsageContext] A value to use if there is no existing value
/// in the source object.
UsageContext? defaultValueUsageContext,
/// [defaultValueDosage] A value to use if there is no existing value in the
/// source object.
Dosage? defaultValueDosage,
/// [defaultValueMeta] A value to use if there is no existing value in the
/// source object.
FhirMeta? defaultValueMeta,
/// [element] Optional field for this source.
String? element,
/// [elementElement] Extensions for element
@JsonKey(name: '_element') Element? elementElement,
/// [listMode] How to handle the list mode for this element.
FhirCode? listMode,
/// [listModeElement] Extensions for listMode
@JsonKey(name: '_listMode') Element? listModeElement,
/// [variable] Named context for field, if a field is specified.
FhirId? variable,
/// [variableElement] Extensions for variable
@JsonKey(name: '_variable') Element? variableElement,
/// [condition] FHIRPath expression - must be true or the rule does not
/// apply.
String? condition,
/// [conditionElement] Extensions for condition
@JsonKey(name: '_condition') Element? conditionElement,
/// [check] FHIRPath expression - must be true or the mapping engine throws
/// an error instead of completing.
String? check,
/// [checkElement] Extensions for check
@JsonKey(name: '_check') Element? checkElement,
/// [logMessage] A FHIRPath expression which specifies a message to put in
/// the transform log when content matching the source rule is found.
String? logMessage,
/// [logMessageElement] Extensions for logMessage
@JsonKey(name: '_logMessage') Element? logMessageElement,
}) = _StructureMapSource;