Current Build

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

Orders and Observations Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for SupplyRequest.

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

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/SupplyRequest" alias SupplyRequestR3 as source
uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as target

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

group SupplyRequest(source src : SupplyRequestR3, target tgt : SupplyRequest) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.priority -> tgt.priority;
  src.item -> tgt.item;
  src.quantity -> tgt.quantity;
  src.parameter as s -> tgt.parameter as t then SupplyRequestParameter(s, t);
  src.occurrence -> tgt.occurrence;
  src.authoredOn -> tgt.authoredOn;
  src.requester -> tgt.requester;
  src.supplier -> tgt.supplier;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.deliverFrom -> tgt.deliverFrom;
  src.deliverTo -> tgt.deliverTo;
}

group SupplyRequestParameter(source src : SupplyRequestR3, target tgt : SupplyRequest) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.value -> tgt.value;
}


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

uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/SupplyRequest" alias SupplyRequestR3 as target

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

group SupplyRequest(source src : SupplyRequestR3, target tgt : SupplyRequest) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.priority -> tgt.priority;
  src.item -> tgt.item;
  src.quantity -> tgt.quantity;
  src.parameter as s -> tgt.parameter as t then SupplyRequestParameter(s, t);
  src.occurrence -> tgt.occurrence;
  src.authoredOn -> tgt.authoredOn;
  src.requester -> tgt.requester;
  src.supplier -> tgt.supplier;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.deliverFrom -> tgt.deliverFrom;
  src.deliverTo -> tgt.deliverTo;
}

group SupplyRequestParameter(source src : SupplyRequestR3, target tgt : SupplyRequest) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.value -> tgt.value;
}


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