Release 4 5 Preview #2
This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Security Category : Patient Compartments : Patient

R3 : R4 Conversion maps for BodyStructure.

Functional status for this map: 3 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. ( see documentation)

map "http://hl7.org/fhir/StructureMap/BodySite3to4" = "R3 to R4 Conversions for BodySite"
uses "http://hl7.org/fhir/3.0/StructureDefinition/BodySite" alias BodySiteR3 as source
uses "http://hl7.org/fhir/StructureDefinition/BodyStructure" alias BodyStructure as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group BodySite(source src : BodySiteR3, target tgt : BodyStructure) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.code -> tgt.location;
  src.qualifier -> tgt.locationQualifier;
  src.description -> tgt.description;
  src.image -> tgt.image;
  src.patient -> tgt.patient;
}
map "http://hl7.org/fhir/StructureMap/BodyStructure4to3" = "R4 to R3 Conversion for BodyStructure"
uses "http://hl7.org/fhir/StructureDefinition/BodyStructure" alias BodyStructure as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/BodySite" alias BodySiteR3 as target
imports "http://hl7.org/fhir/StructureMap/*4to3"
group BodyStructure(source src : BodyStructure, target tgt : BodySiteR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.location -> tgt.code;
  src.locationQualifier -> tgt.qualifier;
  src.description -> tgt.description;
  src.image -> tgt.image;
  src.patient -> tgt.patient;
}
<p>No validation errors - all conversions are clean</p>