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" : "Device5to4B",
"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/Device5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Device5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Device Transforms: R5 to R4B'</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/Device<span style=\"color: navy\">" </span><b>alias </b>DeviceR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/Device<span style=\"color: navy\">" </span><b>alias </b>DeviceR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Device<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceR4B<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.definition<span style=\"color: navy\"><b> -> </b></span>tgt.definition<span style=\"color: navy\">;</span>\r\n src.udiCarrier<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.udiCarrier<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceUdiCarrier<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.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <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/Device.status-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 src.manufacturer<span style=\"color: navy\"><b> -> </b></span>tgt.manufacturer<span style=\"color: navy\">;</span>\r\n src.manufactureDate<span style=\"color: navy\"><b> -> </b></span>tgt.manufactureDate<span style=\"color: navy\">;</span>\r\n src.expirationDate<span style=\"color: navy\"><b> -> </b></span>tgt.expirationDate<span style=\"color: navy\">;</span>\r\n src.lotNumber<span style=\"color: navy\"><b> -> </b></span>tgt.lotNumber<span style=\"color: navy\">;</span>\r\n src.serialNumber<span style=\"color: navy\"><b> -> </b></span>tgt.serialNumber<span style=\"color: navy\">;</span>\r\n src.name<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>DeviceName<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.partNumber<span style=\"color: navy\"><b> -> </b></span>tgt.partNumber<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<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>tgt.version<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DeviceVersion<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.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>DeviceProperty<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.location<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url<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.safety<span style=\"color: navy\"><b> -> </b></span>tgt.safety<span style=\"color: navy\">;</span>\r\n src.parent<span style=\"color: navy\"><b> -> </b></span>tgt.parent<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>DeviceUdiCarrier<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 src.carrierAIDC<span style=\"color: navy\"><b> -> </b></span>tgt.carrierAIDC<span style=\"color: navy\">;</span>\r\n src.carrierHRF<span style=\"color: navy\"><b> -> </b></span>tgt.carrierHRF<span style=\"color: navy\">;</span>\r\n src.entryType<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.entryType = <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/Device.udiCarrier.entryType-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><b>group </b>DeviceName<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.value<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/Device.name.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><b>group </b>DeviceVersion<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.component<span style=\"color: navy\"><b> -> </b></span>tgt.component<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value<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 DeviceConformsTo(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: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>DeviceProperty<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></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/Device5to4B",
"version" : "0.1.0",
"name" : "Device5to4B",
"title" : "Device Transforms: R5 to R4B",
"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" : "DeviceTransformsR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/Device",
"mode" : "source",
"alias" : "DeviceR5"
},
{
"url" : "http://hl7.org/fhir/4.0/Device",
"mode" : "target",
"alias" : "DeviceR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "Device",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DeviceR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceR4B",
"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" : "definition",
"source" : [
{
"context" : "src",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "udiCarrier",
"source" : [
{
"context" : "src",
"element" : "udiCarrier",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "udiCarrier",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceUdiCarrier",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/Device.status-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"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" : "manufactureDate",
"source" : [
{
"context" : "src",
"element" : "manufactureDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "manufactureDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expirationDate",
"source" : [
{
"context" : "src",
"element" : "expirationDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expirationDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "lotNumber",
"source" : [
{
"context" : "src",
"element" : "lotNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lotNumber",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "serialNumber",
"source" : [
{
"context" : "src",
"element" : "serialNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "serialNumber",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "deviceName",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceName",
"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" : "partNumber",
"source" : [
{
"context" : "src",
"element" : "partNumber",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "partNumber",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceVersion",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "property",
"source" : [
{
"context" : "src",
"element" : "property",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DeviceProperty",
"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" : "location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"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" : "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" : "parent",
"source" : [
{
"context" : "src",
"element" : "parent",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parent",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DeviceUdiCarrier",
"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" : "carrierAIDC",
"source" : [
{
"context" : "src",
"element" : "carrierAIDC",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "carrierAIDC",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "carrierHRF",
"source" : [
{
"context" : "src",
"element" : "carrierHRF",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "carrierHRF",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "entryType",
"source" : [
{
"context" : "src",
"element" : "entryType",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "entryType",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/Device.udiCarrier.entryType-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "DeviceName",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "src",
"element" : "value",
"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/Device.name.type-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "DeviceVersion",
"extends" : "BackboneElement",
"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" : "component",
"source" : [
{
"context" : "src",
"element" : "component",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "component",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DeviceProperty",
"extends" : "BackboneElement",
"documentation" : "group DeviceConformsTo(source src, target tgt) extends BackboneElement {\r\nsrc.category -> tgt.category;\r\nsrc.specification -> tgt.specification;\r\nsrc.version -> tgt.version;\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"
}
]
}
]
}
]
}
]
}