R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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 DomainResource.

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

map "http://hl7.org/fhir/StructureMap/DomainResource2to3" = "R2 to R3 Conversions for DomainResource"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DomainResource" alias DomainResourceR2 as source
uses "http://hl7.org/fhir/StructureDefinition/DomainResource" alias DomainResource as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group for type+types  DomainResource extends Resource
  input src : DomainResourceR2 as source
  input tgt : DomainResource as target

  "DomainResource-contained" : for src.contained make tgt.contained
  "DomainResource-text" : for src.text make tgt.text
  "DomainResource-extension" : for src.extension make tgt.extension
  "DomainResource-modifierExtension" : for src.modifierExtension make tgt.modifierExtension

endgroup

map "http://hl7.org/fhir/StructureMap/DomainResource3to2" = "R3 to R2 Conversion for DomainResource"

uses "http://hl7.org/fhir/StructureDefinition/DomainResource" alias DomainResource as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/DomainResource" alias DomainResourceR2 as target

imports "http://hl7.org/fhir/StructureMap/*3to2"

group for type+types  DomainResource extends Resource
  input src : DomainResource as source
  input tgt : DomainResourceR2 as target

  "DomainResource-contained" : for src.contained make tgt.contained
  "DomainResource-text" : for src.text make tgt.text
  "DomainResource-extension" : for src.extension make tgt.extension
  "DomainResource-modifierExtension" : for src.modifierExtension make tgt.modifierExtension

endgroup

n/a