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" : "DeviceComponent2to3",
"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/DeviceComponent2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DeviceComponent2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DeviceComponent Transforms: R2 to R3'</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/1.0/DeviceComponent<span style=\"color: navy\">" </span><b>alias </b>DeviceComponentR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/DeviceComponent<span style=\"color: navy\">" </span><b>alias </b>DeviceComponent <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>DeviceComponent<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceComponentR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceComponent<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"DeviceComponent-type"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"DeviceComponent-identifier"</i><span style=\"color: navy\">;</span>\r\n src.lastSystemChange<span style=\"color: navy\"><b> -> </b></span>tgt.lastSystemChange <i>"DeviceComponent-lastSystemChange"</i><span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source <i>"DeviceComponent-source"</i><span style=\"color: navy\">;</span>\r\n src.parent<span style=\"color: navy\"><b> -> </b></span>tgt.parent <i>"DeviceComponent-parent"</i><span style=\"color: navy\">;</span>\r\n src.operationalStatus<span style=\"color: navy\"><b> -> </b></span>tgt.operationalStatus <i>"DeviceComponent-operationalStatus"</i><span style=\"color: navy\">;</span>\r\n src.parameterGroup<span style=\"color: navy\"><b> -> </b></span>tgt.parameterGroup <i>"DeviceComponent-parameterGroup"</i><span style=\"color: navy\">;</span>\r\n src.measurementPrinciple<span style=\"color: navy\"><b> -> </b></span>tgt.measurementPrinciple <i>"DeviceComponent-measurementPrinciple"</i><span style=\"color: navy\">;</span>\r\n src.productionSpecification<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.productionSpecification<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>dvcProductionSpecification<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"DeviceComponent-productionSpecification"</i><span style=\"color: navy\">;</span>\r\n src.languageCode<span style=\"color: navy\"><b> -> </b></span>tgt.languageCode <i>"DeviceComponent-languageCode"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dvcProductionSpecification<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.specType<span style=\"color: navy\"><b> -> </b></span>tgt.specType <i>"productionSpecification-specType"</i><span style=\"color: navy\">;</span>\r\n src.componentId<span style=\"color: navy\"><b> -> </b></span>tgt.componentId <i>"productionSpecification-componentId"</i><span style=\"color: navy\">;</span>\r\n src.productionSpec<span style=\"color: navy\"><b> -> </b></span>tgt.productionSpec <i>"productionSpecification-productionSpec"</i><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/DeviceComponent2to3",
"version" : "0.1.0",
"name" : "DeviceComponent2to3",
"title" : "DeviceComponent Transforms: R2 to R3",
"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" : "DeviceComponentTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/DeviceComponent",
"mode" : "source",
"alias" : "DeviceComponentR2"
},
{
"url" : "http://hl7.org/fhir/3.0/DeviceComponent",
"mode" : "target",
"alias" : "DeviceComponent"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "DeviceComponent",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DeviceComponentR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceComponent",
"mode" : "target"
}
],
"rule" : [
{
"name" : "DeviceComponent-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" : "DeviceComponent-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" : "DeviceComponent-lastSystemChange",
"source" : [
{
"context" : "src",
"element" : "lastSystemChange",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lastSystemChange",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceComponent-source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceComponent-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" : "DeviceComponent-operationalStatus",
"source" : [
{
"context" : "src",
"element" : "operationalStatus",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operationalStatus",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceComponent-parameterGroup",
"source" : [
{
"context" : "src",
"element" : "parameterGroup",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parameterGroup",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceComponent-measurementPrinciple",
"source" : [
{
"context" : "src",
"element" : "measurementPrinciple",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "measurementPrinciple",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceComponent-productionSpecification",
"source" : [
{
"context" : "src",
"element" : "productionSpecification",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productionSpecification",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "dvcProductionSpecification",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "DeviceComponent-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" : "dvcProductionSpecification",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "productionSpecification-specType",
"source" : [
{
"context" : "src",
"element" : "specType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productionSpecification-componentId",
"source" : [
{
"context" : "src",
"element" : "componentId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "componentId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productionSpecification-productionSpec",
"source" : [
{
"context" : "src",
"element" : "productionSpec",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productionSpec",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}