Current Build

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

Patient Administration Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for Location.

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

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Location" alias LocationR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Location" alias Location as target

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

group Location(source src : LocationR3, target tgt : Location) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.operationalStatus -> tgt.operationalStatus;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.description -> tgt.description;
  src.mode -> tgt.mode;
  src.type -> tgt.type;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.physicalType -> tgt.physicalType;
  src.position as vs0 -> tgt.position as vt0 then {
    vs0.longitude -> vt0.longitude;
    vs0.latitude -> vt0.latitude;
    vs0.altitude -> vt0.altitude;
  };
  src.managingOrganization -> tgt.managingOrganization;
  src.partOf -> tgt.partOf;
  src.endpoint -> tgt.endpoint;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Location" alias Location as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Location" alias LocationR3 as target

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

group Location(source src : Location, target tgt : LocationR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.operationalStatus -> tgt.operationalStatus;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.description -> tgt.description;
  src.mode -> tgt.mode;
  src.typeFirstRep -> tgt.type "type";
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.physicalType -> tgt.physicalType;
  src.position as vs0 -> tgt.position as vt0 then {
    vs0.longitude -> vt0.longitude;
    vs0.latitude -> vt0.latitude;
    vs0.altitude -> vt0.altitude;
  };
  src.managingOrganization -> tgt.managingOrganization;
  src.partOf -> tgt.partOf;
  src.endpoint -> tgt.endpoint;
}


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