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 CareTeam.

Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and 1 r3 resources are invalid (0 errors). (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/CareTeam" alias CareTeamR3 as source
uses "http://hl7.org/fhir/StructureDefinition/CareTeam" alias CareTeam as target

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

group CareTeam(source src : CareTeamR3, target tgt : CareTeam) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.name -> tgt.name;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.period -> tgt.period;
  src.participant as vs0 -> tgt.participant as vt0 then {
    vs0.role -> vt0.role;
    vs0.member -> vt0.member;
    vs0.onBehalfOf -> vt0.onBehalfOf;
    vs0.period -> vt0.period;
  };
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.managingOrganization -> tgt.managingOrganization;
  src.note -> tgt.note;
}


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

uses "http://hl7.org/fhir/StructureDefinition/CareTeam" alias CareTeam as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/CareTeam" alias CareTeamR3 as target

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

group CareTeam(source src : CareTeam, target tgt : CareTeamR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.category -> tgt.category;
  src.name -> tgt.name;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.period -> tgt.period;
  src.participant as vs0 -> tgt.participant as vt0 then {
    vs0.role -> vt0.role;
    vs0.member -> vt0.member;
    vs0.onBehalfOf -> vt0.onBehalfOf;
    vs0.period -> vt0.period;
  };
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.managingOrganization -> tgt.managingOrganization;
  src.note -> tgt.note;
}


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