FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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: InformativeCompartments: Not linked to any defined compartments

R2 : R3 Converson 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