Current Build

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

Patient Care Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Encounter, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for Procedure.

Functional status for this map: 15 tests of which 1 fail to execute. 7 fail round-trip testing and all r3 resources are valid. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Procedure" alias ProcedureR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Procedure" alias Procedure as target

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

group Procedure(source src : ProcedureR3, target tgt : Procedure) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.instantiatesCanonical -> tgt.instantiatesCanonical;
  src.instantiatesUri -> tgt.instantiatesUri;
  src.basedOn -> tgt.basedOn;
  src.partOf -> tgt.partOf;
  src.status -> tgt.status;
  src.statusReason -> tgt.statusReason;
  src.category -> tgt.category;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.performed -> tgt.performed;
  src.recorder -> tgt.recorder;
  src.asserter -> tgt.asserter;
  src.performer as s -> tgt.performer as t then ProcedurePerformer(s, t);
  src.location -> tgt.location;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.bodySite -> tgt.bodySite;
  src.outcome -> tgt.outcome;
  src.report -> tgt.report;
  src.complication -> tgt.complication;
  src.complicationDetail -> tgt.complicationDetail;
  src.followUp -> tgt.followUp;
  src.note -> tgt.note;
  src.focalDevice as s -> tgt.focalDevice as t then ProcedureFocalDevice(s, t);
  src.usedReference -> tgt.usedReference;
  src.usedCode -> tgt.usedCode;
}

group ProcedurePerformer(source src : ProcedureR3, target tgt : Procedure) extends BackboneElement <<type+>> {
  src.function -> tgt.function;
  src.actor -> tgt.actor;
  src.onBehalfOf -> tgt.onBehalfOf;
}

group ProcedureFocalDevice(source src : ProcedureR3, target tgt : Procedure) extends BackboneElement <<type+>> {
  src.action -> tgt.action;
  src.manipulated -> tgt.manipulated;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Procedure" alias Procedure as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Procedure" alias ProcedureR3 as target

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

group Procedure(source src : ProcedureR3, target tgt : Procedure) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.instantiatesCanonical -> tgt.instantiatesCanonical;
  src.instantiatesUri -> tgt.instantiatesUri;
  src.basedOn -> tgt.basedOn;
  src.partOf -> tgt.partOf;
  src.status -> tgt.status;
  src.statusReason -> tgt.statusReason;
  src.category -> tgt.category;
  src.code -> tgt.code;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.performed -> tgt.performed;
  src.recorder -> tgt.recorder;
  src.asserter -> tgt.asserter;
  src.performer as s -> tgt.performer as t then ProcedurePerformer(s, t);
  src.location -> tgt.location;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.bodySite -> tgt.bodySite;
  src.outcome -> tgt.outcome;
  src.report -> tgt.report;
  src.complication -> tgt.complication;
  src.complicationDetail -> tgt.complicationDetail;
  src.followUp -> tgt.followUp;
  src.note -> tgt.note;
  src.focalDevice as s -> tgt.focalDevice as t then ProcedureFocalDevice(s, t);
  src.usedReference -> tgt.usedReference;
  src.usedCode -> tgt.usedCode;
}

group ProcedurePerformer(source src : ProcedureR3, target tgt : Procedure) extends BackboneElement <<type+>> {
  src.function -> tgt.function;
  src.actor -> tgt.actor;
  src.onBehalfOf -> tgt.onBehalfOf;
}

group ProcedureFocalDevice(source src : ProcedureR3, target tgt : Procedure) extends BackboneElement <<type+>> {
  src.action -> tgt.action;
  src.manipulated -> tgt.manipulated;
}


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