Current Build
FHIR Infrastructure Work GroupMaturity Level: N/ABallot 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"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Resource" alias ResourceR2 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 for type+types  Resource
  input src : ResourceR2 as source
  input tgt : Resource as target

  "Resource-id" : for src.id make tgt.id
  "Resource-meta" : for src.meta make tgt.meta
  "Resource-implicitRules" : for src.implicitRules make tgt.implicitRules
  "Resource-language" : for src.language make tgt.language

endgroup

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

imports "http://hl7.org/fhir/StructureMap/primitives4to3"
imports "http://hl7.org/fhir/StructureMap/Meta4to3"

group for type+types  Resource
  input src : Resource as source
  input tgt : ResourceR2 as target

  "Resource-id" : for src.id make tgt.id
  "Resource-meta" : for src.meta make tgt.meta
  "Resource-implicitRules" : for src.implicitRules make tgt.implicitRules
  "Resource-language" : for src.language make tgt.language

endgroup

n/a