R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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 GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for DeviceMetric.

Functional status for this map: 1 test of which 1 fail to execute. (see documentation)

map "http://hl7.org/fhir/StructureMap/DeviceMetric3to4" = "R3 to R4 Conversions for DeviceMetric"


uses "http://hl7.org/fhir/3.0/StructureDefinition/DeviceMetric" alias DeviceMetricR3 as source
uses "http://hl7.org/fhir/StructureDefinition/DeviceMetric" alias DeviceMetric as target

imports "http://hl7.org/fhir/StructureMap/*3to4"



group DeviceMetric extends DomainResource
  input src : DeviceMetricR3 as source
  input tgt : DeviceMetric as target

  "DeviceMetric.identifier" : for src.identifier as vs make tgt.identifier as vt
  "DeviceMetric.type" : for src.type as vs make tgt.type as vt
  "DeviceMetric.unit" : for src.unit as vs make tgt.unit as vt
  "DeviceMetric.source" : for src.source as vs make tgt.source as vt
  "DeviceMetric.parent" : for src.parent as vs make tgt.parent as vt
  "DeviceMetric.operationalStatus" : for src.operationalStatus as vs make tgt.operationalStatus as vt
  "DeviceMetric.color" : for src.color as vs make tgt.color as vt
  "DeviceMetric.category" : for src.category as vs make tgt.category as vt
  "DeviceMetric.measurementPeriod" : for src.measurementPeriod as vs make tgt.measurementPeriod as vt
  "DeviceMetric.calibration" : for src.calibration as vs0 make tgt.calibration as vt0 then {
    "DeviceMetric.calibration.type" : for vs0.type as vs make vt0.type as vt
    "DeviceMetric.calibration.state" : for vs0.state as vs make vt0.state as vt
    "DeviceMetric.calibration.time" : for vs0.time as vs make vt0.time as vt
  }
endgroup


map "http://hl7.org/fhir/StructureMap/DeviceMetric4to3" = "R4 to R3 Conversion for DeviceMetric"


uses "http://hl7.org/fhir/StructureDefinition/DeviceMetric" alias DeviceMetric as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/DeviceMetric" alias DeviceMetricR3 as target

imports "http://hl7.org/fhir/StructureMap/*4to3"



group DeviceMetric extends DomainResource
  input src : DeviceMetric as source
  input tgt : DeviceMetricR3 as target

  "DeviceMetric.identifier" : for src.identifierFirstRep as vs make tgt.identifier as vt
  "DeviceMetric.type" : for src.type as vs make tgt.type as vt
  "DeviceMetric.unit" : for src.unit as vs make tgt.unit as vt
  "DeviceMetric.source" : for src.source as vs make tgt.source as vt
  "DeviceMetric.parent" : for src.parent as vs make tgt.parent as vt
  "DeviceMetric.operationalStatus" : for src.operationalStatus as vs make tgt.operationalStatus as vt
  "DeviceMetric.color" : for src.color as vs make tgt.color as vt
  "DeviceMetric.category" : for src.category as vs make tgt.category as vt
  "DeviceMetric.measurementPeriod" : for src.measurementPeriod as vs make tgt.measurementPeriod as vt
  "DeviceMetric.calibration" : for src.calibration as vs0 make tgt.calibration as vt0 then {
    "DeviceMetric.calibration.type" : for vs0.type as vs make vt0.type as vt
    "DeviceMetric.calibration.state" : for vs0.state as vs make vt0.state as vt
    "DeviceMetric.calibration.time" : for vs0.time as vs make vt0.time as vt
  }
endgroup