This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Health Care Devices Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Device |
R2 : R3 Conversion maps for DeviceMetric.
Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)
map "http://hl7.org/fhir/StructureMap/DeviceMetric2to3" = "R2 to R3 Conversions for DeviceMetric" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DeviceMetric" alias DeviceMetricR2 as source uses "http://hl7.org/fhir/StructureDefinition/DeviceMetric" alias DeviceMetric as target imports "http://hl7.org/fhir/StructureMap/*2to3" group for type+types DeviceMetric extends DomainResource input src : DeviceMetricR2 as source input tgt : DeviceMetric as target "DeviceMetric-type" : for src.type make tgt.type "DeviceMetric-identifier" : for src.identifier make tgt.identifier "DeviceMetric-unit" : for src.unit make tgt.unit "DeviceMetric-source" : for src.source make tgt.source "DeviceMetric-parent" : for src.parent make tgt.parent "DeviceMetric-operationalStatus" : for src.operationalStatus make tgt.operationalStatus "DeviceMetric-color" : for src.color make tgt.color "DeviceMetric-category" : for src.category make tgt.category "DeviceMetric-measurementPeriod" : for src.measurementPeriod make tgt.measurementPeriod "DeviceMetric-calibration" : for src.calibration as vs0 make tgt.calibration as vt0 then dvmCalibration(vs0, vt0) endgroup group dvmCalibration extends BackboneElement input src as source input tgt as target "DeviceMetric.calibration-type" : for src.type make tgt.type "DeviceMetric.calibration-state" : for src.state make tgt.state "DeviceMetric.calibration-time" : for src.time make tgt.time endgroup
map "http://hl7.org/fhir/StructureMap/DeviceMetric3to2" = "R3 to R2 Conversion for DeviceMetric" uses "http://hl7.org/fhir/StructureDefinition/DeviceMetric" alias DeviceMetric as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DeviceMetric" alias DeviceMetricR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group for type+types DeviceMetric extends DomainResource input src : DeviceMetric as source input tgt : DeviceMetricR2 as target "DeviceMetric-type" : for src.type make tgt.type "DeviceMetric-identifier" : for src.identifier make tgt.identifier "DeviceMetric-unit" : for src.unit make tgt.unit "DeviceMetric-source" : for src.source make tgt.source "DeviceMetric-parent" : for src.parent make tgt.parent "DeviceMetric-operationalStatus" : for src.operationalStatus make tgt.operationalStatus "DeviceMetric-color" : for src.color make tgt.color "DeviceMetric-category" : for src.category make tgt.category "DeviceMetric-measurementPeriod" : for src.measurementPeriod make tgt.measurementPeriod "DeviceMetric-calibration" : for src.calibration as vs0 make tgt.calibration as vt0 then dvmCalibration(vs0, vt0) endgroup group dvmCalibration extends BackboneElement input src as source input tgt as target "DeviceMetric.calibration-type" : for src.type make tgt.type "DeviceMetric.calibration-state" : for src.state make tgt.state "DeviceMetric.calibration-time" : for src.time make tgt.time endgroup