This page is part of the FHIR Specification (v4.3.0: R4B -  STU). This is a downloaded version of the specification.  For a full list of available versions, see the Directory of published versions 
Patient Care   Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: Patient | 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.encounter;
  src.period -> tgt.period;
  src.participant as vs0 -> tgt.participant as vt0 then participant(vs0, vt0);
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.managingOrganization -> tgt.managingOrganization;
  src.note -> tgt.note;
}
group participant(source src, target tgt) extends BackboneElement {
  src.role -> tgt.role;
  src.member -> tgt.member;
  src.onBehalfOf -> tgt.onBehalfOf;
  src.period -> tgt.period;
}
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.encounter -> tgt.context;
  src.period -> tgt.period;
  src.participant as vs0 -> tgt.participant as vt0 then participant(vs0, vt0);
  src.reasonCode -> tgt.reasonCode;
  src.reasonReference -> tgt.reasonReference;
  src.managingOrganization -> tgt.managingOrganization;
  src.note -> tgt.note;
}
group participant(source src, target tgt) extends BackboneElement {
  src.role -> tgt.role;
  src.member -> tgt.member;
  src.onBehalfOf -> tgt.onBehalfOf;
  src.period -> tgt.period;
}