Current Build

Переводит команда Health Samurai . Приглашаем поучаствовать в русификации стандарта FHIR: GitHub , Email.

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(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.identifierFirstRep -> tgt.identifier "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;
  };
}


<p>No validation errors - all conversions are clean</p>