Current Build

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

Clinical Quality Information Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Patient

R3 : R4 Conversion maps for MeasureReport.

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

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/MeasureReport" alias MeasureReportR3 as source
uses "http://hl7.org/fhir/StructureDefinition/MeasureReport" alias MeasureReport as target

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

group MeasureReport(source src : MeasureReportR3, target tgt : MeasureReport) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.type -> tgt.type;
  src.measure -> tgt.measure;
  src.subject -> tgt.subject;
  src.date -> tgt.date;
  src.reporter -> tgt.reporter;
  src.period -> tgt.period;
  src.group as s -> tgt.group as t then MeasureReportGroup(s, t);
  src.evaluatedResources -> tgt.evaluatedResources;
}

group MeasureReportgroup(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.population as s -> tgt.population as t then MeasureReportGroupPopulation(s, t);
  src.measureScore -> tgt.measureScore;
  src.stratifier as s -> tgt.stratifier as t then MeasureReportGroupStratifier(s, t);
}

group MeasureReportGroupPopulation(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.count -> tgt.count;
  src.subjects -> tgt.subjects;
}

group MeasureReportGroupStratifier(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.stratum as s -> tgt.stratum as t then MeasureReportGroupStratifierStratum(s, t);
}

group MeasureReportGroupStratifierStratum(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.value -> tgt.value;
  src.population as s -> tgt.population as t then MeasureReportGroupStratifierStratumPopulation(s, t);
  src.measureScore -> tgt.measureScore;
}

group MeasureReportGroupStratifierStratumPopulation(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.count -> tgt.count;
  src.subjects -> tgt.subjects;
}


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

uses "http://hl7.org/fhir/StructureDefinition/MeasureReport" alias MeasureReport as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/MeasureReport" alias MeasureReportR3 as target

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

group MeasureReport(source src : MeasureReportR3, target tgt : MeasureReport) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.type -> tgt.type;
  src.measure -> tgt.measure;
  src.subject -> tgt.subject;
  src.date -> tgt.date;
  src.reporter -> tgt.reporter;
  src.period -> tgt.period;
  src.Group as s -> tgt.Group as t then MeasureReportGroup(s, t) "group";
  src.evaluatedResources -> tgt.evaluatedResources;
}

group MeasureReportGroup(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.population as s -> tgt.population as t then MeasureReportGroupPopulation(s, t);
  src.measureScore -> tgt.measureScore;
  src.stratifier as s -> tgt.stratifier as t then MeasureReportGroupStratifier(s, t);
}

group MeasureReportGroupPopulation(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.count -> tgt.count;
  src.subjects -> tgt.subjects;
}

group MeasureReportGroupStratifier(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.stratum as s -> tgt.stratum as t then MeasureReportGroupStratifierStratum(s, t);
}

group MeasureReportGroupStratifierStratum(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.value -> tgt.value;
  src.population as s -> tgt.population as t then MeasureReportGroupStratifierStratumPopulation(s, t);
  src.measureScore -> tgt.measureScore;
}

group MeasureReportGroupStratifierStratumPopulation(source src : MeasureReportR3, target tgt : MeasureReport) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.count -> tgt.count;
  src.subjects -> tgt.subjects;
}


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