Current Build

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

Patient Care Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Patient

R3 : R4 Conversion maps for FamilyMemberHistory.

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

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistoryR3 as source
uses "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistory as target

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

group FamilyMemberHistory(source src : FamilyMemberHistoryR3, target tgt : FamilyMemberHistory) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.instantiatesCanonical -> tgt.instantiatesCanonical;
  src.instantiatesUri -> tgt.instantiatesUri;
  src.status -> tgt.status;
  src.dataAbsentReason -> tgt.dataAbsentReason;
  src.patient -> tgt.patient;
  src.date -> tgt.date;
  src.name -> tgt.name;
  src.relationship -> tgt.relationship;
  src.gender -> tgt.gender;
  src.born -> tgt.born;
  src.age -> tgt.age;
  src.estimatedAge -> tgt.estimatedAge;
  src.deceased -> tgt.deceased;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.note -> tgt.note;
  src.condition as s -> tgt.condition as t then FamilyMemberHistoryCondition(s, t);
}

group FamilyMemberHistoryCondition(source src : FamilyMemberHistoryR3, target tgt : FamilyMemberHistory) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.outcome -> tgt.outcome;
  src.onset -> tgt.onset;
  src.note -> tgt.note;
}


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

uses "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistory as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/FamilyMemberHistory" alias FamilyMemberHistoryR3 as target

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

group FamilyMemberHistory(source src : FamilyMemberHistoryR3, target tgt : FamilyMemberHistory) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.instantiatesCanonical -> tgt.instantiatesCanonical;
  src.instantiatesUri -> tgt.instantiatesUri;
  src.status -> tgt.status;
  src.dataAbsentReason -> tgt.dataAbsentReason;
  src.patient -> tgt.patient;
  src.date -> tgt.date;
  src.name -> tgt.name;
  src.relationship -> tgt.relationship;
  src.gender -> tgt.gender;
  src.born -> tgt.born;
  src.age -> tgt.age;
  src.estimatedAge -> tgt.estimatedAge;
  src.deceased -> tgt.deceased;
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.note -> tgt.note;
  src.condition as s -> tgt.condition as t then FamilyMemberHistoryCondition(s, t);
}

group FamilyMemberHistoryCondition(source src : FamilyMemberHistoryR3, target tgt : FamilyMemberHistory) extends BackboneElement <<type+>> {
  src.code -> tgt.code;
  src.outcome -> tgt.outcome;
  src.onset -> tgt.onset;
  src.note -> tgt.note;
}


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