FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "DeviceDefinition5to4",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/DeviceDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DeviceDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DeviceDefinition Transforms: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/DeviceDefinition<span style=\"color: navy\">" </span><b>alias </b>DeviceDefinitionR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/DeviceDefinition<span style=\"color: navy\">" </span><b>alias </b>DeviceDefinitionR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>DeviceDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceDefinitionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceDefinitionR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.udiDeviceIdentifier<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.udiDeviceIdentifier<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceDefinitionUdiDeviceIdentifier<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.manufacturer<span style=\"color: navy\"><b> -> </b></span>tgt.manufacturer<span style=\"color: navy\">;</span>\r\n src.deviceName<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.deviceName<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceDefinitionDeviceName<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.modelNumber<span style=\"color: navy\"><b> -> </b></span>tgt.modelNumber<span style=\"color: navy\">;</span>\r\n src.version<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.value<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.safety<span style=\"color: navy\"><b> -> </b></span>tgt.safety<span style=\"color: navy\">;</span>\r\n src.shelfLifeStorage<span style=\"color: navy\"><b> -> </b></span>tgt.shelfLifeStorage<span style=\"color: navy\">;</span>\r\n src.languageCode<span style=\"color: navy\"><b> -> </b></span>tgt.languageCode<span style=\"color: navy\">;</span>\r\n src.property<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.property<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceDefinitionProperty<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.owner<span style=\"color: navy\"><b> -> </b></span>tgt.owner<span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n src.material<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.material<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceDefinitionMaterial<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>DeviceDefinitionUdiDeviceIdentifier<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.deviceIdentifier<span style=\"color: navy\"><b> -> </b></span>tgt.deviceIdentifier<span style=\"color: navy\">;</span>\r\n src.issuer<span style=\"color: navy\"><b> -> </b></span>tgt.issuer<span style=\"color: navy\">;</span>\r\n src.jurisdiction<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionUdiDeviceIdentifierMarketDistribution(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.marketPeriod -> tgt.marketPeriod;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.subJurisdiction -> tgt.subJurisdiction;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionRegulatoryIdentifier(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type as v -> tgt.type = translate(v, '#DeviceRegulatoryIdentifierType', 'code');</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.deviceIdentifier -> tgt.deviceIdentifier;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.issuer -> tgt.issuer;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.jurisdiction -> tgt.jurisdiction;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>DeviceDefinitionDeviceName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/DeviceDefinition.deviceName.type-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionClassification(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.justification -> tgt.justification;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionConformsTo(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.category -> tgt.category;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.specification -> tgt.specification;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.version -> tgt.version;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.source -> tgt.source;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionHasPart(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reference -> tgt.reference;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.count -> tgt.count;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionPackaging(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.identifier -> tgt.identifier;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.count -> tgt.count;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.distributor as s -> tgt.distributor as t then DeviceDefinitionPackagingDistributor(s,t);</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionPackagingDistributor(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.name -> tgt.name;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.organizationReference -> tgt.organizationReference;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionVersion(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.component -> tgt.component;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.value -> tgt.value;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>DeviceDefinitionProperty<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.valueQuantity<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.valueCode<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group DeviceDefinitionLink(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.relation -> tgt.relation;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.relatedDevice -> tgt.relatedDevice;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>DeviceDefinitionMaterial<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.substance<span style=\"color: navy\"><b> -> </b></span>tgt.substance<span style=\"color: navy\">;</span>\r\n src.alternate<span style=\"color: navy\"><b> -> </b></span>tgt.alternate<span style=\"color: navy\">;</span>\r\n src.allergenicIndicator<span style=\"color: navy\"><b> -> </b></span>tgt.allergenicIndicator<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/DeviceDefinition5to4",
"version" : "0.1.0",
"name" : "DeviceDefinition5to4",
"title" : "DeviceDefinition Transforms: R5 to R4",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "DeviceDefinitionTransformsR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/DeviceDefinition",
"mode" : "source",
"alias" : "DeviceDefinitionR5"
},
{
"url" : "http://hl7.org/fhir/4.0/DeviceDefinition",
"mode" : "target",
"alias" : "DeviceDefinitionR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "DeviceDefinition",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DeviceDefinitionR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceDefinitionR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "udiDeviceIdentifier",
"source" : [
{
"context" : "src",
"element" : "udiDeviceIdentifier",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "udiDeviceIdentifier",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceDefinitionUdiDeviceIdentifier",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "manufacturer",
"source" : [
{
"context" : "src",
"element" : "manufacturer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "manufacturer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "deviceName",
"source" : [
{
"context" : "src",
"element" : "deviceName",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "deviceName",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceDefinitionDeviceName",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "modelNumber",
"source" : [
{
"context" : "src",
"element" : "modelNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modelNumber",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "s",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "safety",
"source" : [
{
"context" : "src",
"element" : "safety",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "safety",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "shelfLifeStorage",
"source" : [
{
"context" : "src",
"element" : "shelfLifeStorage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "shelfLifeStorage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "languageCode",
"source" : [
{
"context" : "src",
"element" : "languageCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "languageCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "property",
"source" : [
{
"context" : "src",
"element" : "property",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceDefinitionProperty",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "owner",
"source" : [
{
"context" : "src",
"element" : "owner",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "owner",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "material",
"source" : [
{
"context" : "src",
"element" : "material",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "material",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceDefinitionMaterial",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "DeviceDefinitionUdiDeviceIdentifier",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "deviceIdentifier",
"source" : [
{
"context" : "src",
"element" : "deviceIdentifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "deviceIdentifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "issuer",
"source" : [
{
"context" : "src",
"element" : "issuer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issuer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "src",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DeviceDefinitionDeviceName",
"extends" : "BackboneElement",
"documentation" : "group DeviceDefinitionUdiDeviceIdentifierMarketDistribution(source src, target tgt) extends BackboneElement {\r\nsrc.marketPeriod -> tgt.marketPeriod;\r\nsrc.subJurisdiction -> tgt.subJurisdiction;\r\n}\r\ngroup DeviceDefinitionRegulatoryIdentifier(source src, target tgt) extends BackboneElement {\r\nsrc.type as v -> tgt.type = translate(v, '#DeviceRegulatoryIdentifierType', 'code');\r\nsrc.deviceIdentifier -> tgt.deviceIdentifier;\r\nsrc.issuer -> tgt.issuer;\r\nsrc.jurisdiction -> tgt.jurisdiction;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/DeviceDefinition.deviceName.type-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "DeviceDefinitionProperty",
"extends" : "BackboneElement",
"documentation" : "group DeviceDefinitionClassification(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.justification -> tgt.justification;\r\n}\r\ngroup DeviceDefinitionConformsTo(source src, target tgt) extends BackboneElement {\r\nsrc.category -> tgt.category;\r\nsrc.specification -> tgt.specification;\r\nsrc.version -> tgt.version;\r\nsrc.source -> tgt.source;\r\n}\r\ngroup DeviceDefinitionHasPart(source src, target tgt) extends BackboneElement {\r\nsrc.reference -> tgt.reference;\r\nsrc.count -> tgt.count;\r\n}\r\ngroup DeviceDefinitionPackaging(source src, target tgt) extends BackboneElement {\r\nsrc.identifier -> tgt.identifier;\r\nsrc.type -> tgt.type;\r\nsrc.count -> tgt.count;\r\nsrc.distributor as s -> tgt.distributor as t then DeviceDefinitionPackagingDistributor(s,t);\r\n}\r\ngroup DeviceDefinitionPackagingDistributor(source src, target tgt) extends BackboneElement {\r\nsrc.name -> tgt.name;\r\nsrc.organizationReference -> tgt.organizationReference;\r\n}\r\ngroup DeviceDefinitionVersion(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.component -> tgt.component;\r\nsrc.value -> tgt.value;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "valueQuantity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "valueCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DeviceDefinitionMaterial",
"extends" : "BackboneElement",
"documentation" : "group DeviceDefinitionLink(source src, target tgt) extends BackboneElement {\r\nsrc.relation -> tgt.relation;\r\nsrc.relatedDevice -> tgt.relatedDevice;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "substance",
"source" : [
{
"context" : "src",
"element" : "substance",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "substance",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "alternate",
"source" : [
{
"context" : "src",
"element" : "alternate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "alternate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "allergenicIndicator",
"source" : [
{
"context" : "src",
"element" : "allergenicIndicator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "allergenicIndicator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}