This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Health Care Devices Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Device |
R2 : R3 Converson maps for DeviceComponent.
Functional status for this map: 2 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)
map "http://hl7.org/fhir/StructureMap/DeviceComponent2to3" = "R2 to R3 Conversions for DeviceComponent" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DeviceComponent" alias DeviceComponentR2 as source uses "http://hl7.org/fhir/StructureDefinition/DeviceComponent" alias DeviceComponent as target imports "http://hl7.org/fhir/StructureMap/*2to3" group for type+types DeviceComponent extends DomainResource input src : DeviceComponentR2 as source input tgt : DeviceComponent as target "DeviceComponent-type" : for src.type make tgt.type "DeviceComponent-identifier" : for src.identifier make tgt.identifier "DeviceComponent-lastSystemChange" : for src.lastSystemChange make tgt.lastSystemChange "DeviceComponent-source" : for src.source make tgt.source "DeviceComponent-parent" : for src.parent make tgt.parent "DeviceComponent-operationalStatus" : for src.operationalStatus make tgt.operationalStatus "DeviceComponent-parameterGroup" : for src.parameterGroup make tgt.parameterGroup "DeviceComponent-measurementPrinciple" : for src.measurementPrinciple make tgt.measurementPrinciple "DeviceComponent-productionSpecification" : for src.productionSpecification as vs0 make tgt.productionSpecification as vt0 then dvcProductionSpecification(vs0, vt0) "DeviceComponent-languageCode" : for src.languageCode make tgt.languageCode endgroup group dvcProductionSpecification extends BackboneElement input src as source input tgt as target "DeviceComponent.productionSpecification-specType" : for src.specType make tgt.specType "DeviceComponent.productionSpecification-componentId" : for src.componentId make tgt.componentId "DeviceComponent.productionSpecification-productionSpec" : for src.productionSpec make tgt.productionSpec endgroup
map "http://hl7.org/fhir/StructureMap/DeviceComponent3to2" = "R3 to R2 Conversion for DeviceComponent" uses "http://hl7.org/fhir/StructureDefinition/DeviceComponent" alias DeviceComponent as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DeviceComponent" alias DeviceComponentR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group for type+types DeviceComponent extends DomainResource input src : DeviceComponent as source input tgt : DeviceComponentR2 as target "DeviceComponent-type" : for src.type make tgt.type "DeviceComponent-identifier" : for src.identifier make tgt.identifier "DeviceComponent-lastSystemChange" : for src.lastSystemChange make tgt.lastSystemChange "DeviceComponent-source" : for src.source make tgt.source "DeviceComponent-parent" : for src.parent make tgt.parent "DeviceComponent-operationalStatus" : for src.operationalStatus make tgt.operationalStatus "DeviceComponent-parameterGroup" : for src.parameterGroup make tgt.parameterGroup "DeviceComponent-measurementPrinciple" : for src.measurementPrinciple make tgt.measurementPrinciple "DeviceComponent-productionSpecification" : for src.productionSpecification as vs0 make tgt.productionSpecification as vt0 then dvcProductionSpecification(vs0, vt0) "DeviceComponent-languageCode" : for src.languageCode make tgt.languageCode endgroup group dvcProductionSpecification extends BackboneElement input src as source input tgt as target "DeviceComponent.productionSpecification-specType" : for src.specType make tgt.specType "DeviceComponent.productionSpecification-componentId" : for src.componentId make tgt.componentId "DeviceComponent.productionSpecification-productionSpec" : for src.productionSpec make tgt.productionSpec endgroup