This page is part of the FHIR Specification (v5.0.0-snapshot1: R5 Snapshot #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 | Standards Status: Informative | Security Category: Anonymous | Compartments: Not linked to any defined compartments |
R3 : R4 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/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;
};
}