FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

Health Care Devices icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Anonymous Compartments: No defined compartments

R4 : R5 Conversion maps for DeviceMetric.

Functional status for this map: See Conversions Summary. (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(source src : DeviceMetricR3, target tgt : DeviceMetric) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.type -> tgt.type;
  src.unit -> tgt.unit;
  src.source -> tgt.source;
  src.parent -> tgt.parent;
  src.operationalStatus -> tgt.operationalStatus;
  src.color -> tgt.color;
  src.category -> tgt.category;
  src.measurementPeriod -> tgt.measurementPeriod;
  src.calibration as vs0 -> tgt.calibration as vt0 then {
    vs0.type -> vt0.type;
    vs0.state -> vt0.state;
    vs0.time -> vt0.time;
  };
}


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(source src : DeviceMetric, target tgt : DeviceMetricR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.type -> tgt.type;
  src.unit -> tgt.unit;
  src.source -> tgt.source;
  src.parent -> tgt.parent;
  src.operationalStatus -> tgt.operationalStatus;
  src.color -> tgt.color;
  src.category -> tgt.category;
  src.measurementPeriod -> tgt.measurementPeriod;
  src.calibration as vs0 -> tgt.calibration as vt0 then {
    vs0.type -> vt0.type;
    vs0.state -> vt0.state;
    vs0.time -> vt0.time;
  };
}


No validation errors - all conversions are clean