Release 4
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
FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

R3 : R4 Conversion maps for Resource.

Functional status for this map: Not Mapped ( see documentation)

map "http://hl7.org/fhir/StructureMap/Resource3to4" = "R2 to R3 Conversions for Resource"
map "http://hl7.org/fhir/StructureMap/Resource3to4" = "R3 to R4 Conversions for Resource"
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Resource" alias ResourceR2 as source

uses "http://hl7.org/fhir/3.0/StructureDefinition/Resource" alias ResourceR3 as source

uses "http://hl7.org/fhir/StructureDefinition/Resource" alias Resource as target
imports "http://hl7.org/fhir/StructureMap/primitives3to4"
imports "http://hl7.org/fhir/StructureMap/Meta3to4"
group Resource(source src : ResourceR2, target tgt : Resource) <<type+>> {

group Resource(source src : ResourceR3, target tgt : Resource) <<type+>> {

  src.id -> tgt.id "Resource-id";
  src.meta -> tgt.meta "Resource-meta";
  src.implicitRules -> tgt.implicitRules "Resource-implicitRules";
  src.language -> tgt.language "Resource-language";
}
map "http://hl7.org/fhir/StructureMap/Resource4to3" = "R3 to R2 Conversion for Resource"
uses "http://hl7.org/fhir/StructureDefinition/Resource" alias Resource as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Resource" alias ResourceR2 as target

uses "http://hl7.org/fhir/3.0/StructureDefinition/Resource" alias ResourceR3 as target

imports "http://hl7.org/fhir/StructureMap/primitives4to3"
imports "http://hl7.org/fhir/StructureMap/Meta4to3"
group Resource(source src : Resource, target tgt : ResourceR2) <<type+>> {

group Resource(source src : Resource, target tgt : ResourceR3) <<type+>> {

  src.id -> tgt.id "Resource-id";
  src.meta -> tgt.meta "Resource-meta";
  src.implicitRules -> tgt.implicitRules "Resource-implicitRules";
  src.language -> tgt.language "Resource-language";
}
<p>n/a</p>