R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

FHIR Infrastructure Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Not linked to any defined compartments

R2 : R3 Conversion maps for Resource.

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

map "http://hl7.org/fhir/StructureMap/Resource2to3" = "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/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/Meta2to3"

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/Resource3to2" = "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/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/Meta3to2"

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