StructureMapSource constructor

const StructureMapSource({
  1. @JsonKey(name: 'id') FhirId? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. FhirId? context,
  5. @JsonKey(name: '_context') Element? contextElement,
  6. FhirInteger? min,
  7. @JsonKey(name: '_min') Element? minElement,
  8. String? max,
  9. @JsonKey(name: '_max') Element? maxElement,
  10. String? type,
  11. @JsonKey(name: '_type') Element? typeElement,
  12. FhirBase64Binary? defaultValueBase64Binary,
  13. @JsonKey(name: '_defaultValueBase64Binary') Element? defaultValueBase64BinaryElement,
  14. FhirBoolean? defaultValueBoolean,
  15. @JsonKey(name: '_defaultValueBoolean') Element? defaultValueBooleanElement,
  16. FhirCanonical? defaultValueCanonical,
  17. @JsonKey(name: '_defaultValueCanonical') Element? defaultValueCanonicalElement,
  18. FhirCode? defaultValueCode,
  19. @JsonKey(name: '_defaultValueCode') Element? defaultValueCodeElement,
  20. FhirDate? defaultValueDate,
  21. @JsonKey(name: '_defaultValueDate') Element? defaultValueDateElement,
  22. FhirDateTime? defaultValueDateTime,
  23. @JsonKey(name: '_defaultValueDateTime') Element? defaultValueDateTimeElement,
  24. FhirDecimal? defaultValueDecimal,
  25. @JsonKey(name: '_defaultValueDecimal') Element? defaultValueDecimalElement,
  26. FhirId? defaultValueId,
  27. @JsonKey(name: '_defaultValueId') Element? defaultValueIdElement,
  28. FhirInstant? defaultValueInstant,
  29. @JsonKey(name: '_defaultValueInstant') Element? defaultValueInstantElement,
  30. FhirInteger? defaultValueInteger,
  31. @JsonKey(name: '_defaultValueInteger') Element? defaultValueIntegerElement,
  32. FhirMarkdown? defaultValueMarkdown,
  33. @JsonKey(name: '_defaultValueMarkdown') Element? defaultValueMarkdownElement,
  34. FhirOid? defaultValueOid,
  35. @JsonKey(name: '_defaultValueOid') Element? defaultValueOidElement,
  36. FhirPositiveInt? defaultValuePositiveInt,
  37. @JsonKey(name: '_defaultValuePositiveInt') Element? defaultValuePositiveIntElement,
  38. String? defaultValueString,
  39. @JsonKey(name: '_defaultValueString') Element? defaultValueStringElement,
  40. FhirTime? defaultValueTime,
  41. @JsonKey(name: '_defaultValueTime') Element? defaultValueTimeElement,
  42. FhirUnsignedInt? defaultValueUnsignedInt,
  43. @JsonKey(name: '_defaultValueUnsignedInt') Element? defaultValueUnsignedIntElement,
  44. FhirUri? defaultValueUri,
  45. @JsonKey(name: '_defaultValueUri') Element? defaultValueUriElement,
  46. FhirUrl? defaultValueUrl,
  47. @JsonKey(name: '_defaultValueUrl') Element? defaultValueUrlElement,
  48. FhirUuid? defaultValueUuid,
  49. @JsonKey(name: '_defaultValueUuid') Element? defaultValueUuidElement,
  50. Address? defaultValueAddress,
  51. Age? defaultValueAge,
  52. Annotation? defaultValueAnnotation,
  53. Attachment? defaultValueAttachment,
  54. CodeableConcept? defaultValueCodeableConcept,
  55. Coding? defaultValueCoding,
  56. ContactPoint? defaultValueContactPoint,
  57. Count? defaultValueCount,
  58. Distance? defaultValueDistance,
  59. FhirDuration? defaultValueDuration,
  60. HumanName? defaultValueHumanName,
  61. Identifier? defaultValueIdentifier,
  62. Money? defaultValueMoney,
  63. Period? defaultValuePeriod,
  64. Quantity? defaultValueQuantity,
  65. Range? defaultValueRange,
  66. Ratio? defaultValueRatio,
  67. Reference? defaultValueReference,
  68. SampledData? defaultValueSampledData,
  69. Signature? defaultValueSignature,
  70. Timing? defaultValueTiming,
  71. ContactDetail? defaultValueContactDetail,
  72. Contributor? defaultValueContributor,
  73. DataRequirement? defaultValueDataRequirement,
  74. FhirExpression? defaultValueExpression,
  75. ParameterDefinition? defaultValueParameterDefinition,
  76. RelatedArtifact? defaultValueRelatedArtifact,
  77. TriggerDefinition? defaultValueTriggerDefinition,
  78. UsageContext? defaultValueUsageContext,
  79. Dosage? defaultValueDosage,
  80. FhirMeta? defaultValueMeta,
  81. String? element,
  82. @JsonKey(name: '_element') Element? elementElement,
  83. FhirCode? listMode,
  84. @JsonKey(name: '_listMode') Element? listModeElement,
  85. FhirId? variable,
  86. @JsonKey(name: '_variable') Element? variableElement,
  87. String? condition,
  88. @JsonKey(name: '_condition') Element? conditionElement,
  89. String? check,
  90. @JsonKey(name: '_check') Element? checkElement,
  91. String? logMessage,
  92. @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;